![]() |
pCon.planner Plugin SDK
Version 8.9
|
This class manage dimension styles of current document. More...
Public Member Functions | |
DimensionStyle^ | GetStyle (String^ pName) |
Returns a existing style with given name. More... | |
IList< DimensionStyle^ >^ | GetStyles () |
Returns a list of all dimension styles in the document. More... | |
DimensionStyle^ | CreateStyle (String^ pName) |
Creates a new style with given name. More... | |
void | RemoveStyle (DimensionStyle^ pStyle) |
Removes given style from the document. More... | |
Properties | |
DimensionStyle^ | CurrentBaseStyle [get, set] |
Specifies the style to use when creating new dimensions in model space. More... | |
DimensionStyle^ | CurrentLayoutStyle [get, set] |
Specifies the style to use when creating new dimensions in layout mode. More... | |
This class manage dimension styles of current document.
DimensionStyle X3g::Plugin::DimensionStyleManager::CreateStyle | ( | String^ | pName) |
Creates a new style with given name.
The name must be unique for this document otherwise creation fails.
DimensionStyle X3g::Plugin::DimensionStyleManager::GetStyle | ( | String^ | pName) |
Returns a existing style with given name.
IList< DimensionStyle^ > X3g::Plugin::DimensionStyleManager::GetStyles | ( | ) |
Returns a list of all dimension styles in the document.
void X3g::Plugin::DimensionStyleManager::RemoveStyle | ( | DimensionStyle^ | pStyle) |
Removes given style from the document.
Fails if style is in use.
|
getset |
Specifies the style to use when creating new dimensions in model space.
|
getset |
Specifies the style to use when creating new dimensions in layout mode.