Get the edition
To get the current edition of Next Design, use the properties of the IApplication
object.
Get the edition identification name
To get the edition identification name, use the EditionId
property of the IApplication
object.
The edition identification names that can be obtained are as follows.
Edition name | Edition identification name |
---|---|
Professional Edition (Designer) | Pro.Dsgn |
Professional Edition (Architect) | Pro.Arch |
Enterprise Edition (Designer) | Ent.Dsgn |
Enterprise Edition (Architect) | Ent.Arch |
public void GetEditionId(ICommandContext c, ICommandParams p)
{
var editionId = c.App.EditionId;
c.App.Window.UI.ShowMessageBox($"Edition identification name {editionId}", "Sample");
}
Get the edition short name
To get the edition short name, use the EditionShortName
property of the IApplication
object.
The edition short names that can be obtained are as follows.
Edition name | Edition short name |
---|---|
Professional Edition(Designer) | Professional (Dsgn) |
Professional Edition(Architect) | Professional (Arch) |
Enterprise Edition(Designer) | Enterprise (Dsgn) |
Enterprise Edition(Architect) | Enterprise (Arch) |
public void GetEditionShortName(ICommandContext c, ICommandParams p)
{
var editionShortName = c.App.EditionShortName;
c.App.Window.UI.ShowMessageBox($"Edition short name {editionShortName}", "Sample");
}