pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::DimensionStyleManager Class Reference

This class manage dimension styles of current document. More...

Public Member Functions

DimensionStyleGetStyle (String^ pName)
 Returns a existing style with given name. More...
 
IList< DimensionStyle^ >^ GetStyles ()
 Returns a list of all dimension styles in the document. More...
 
DimensionStyleCreateStyle (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...
 

Detailed Description

This class manage dimension styles of current document.

Member Function Documentation

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.

Property Documentation

DimensionStyle^ X3g::Plugin::DimensionStyleManager::CurrentBaseStyle
getset

Specifies the style to use when creating new dimensions in model space.

DimensionStyle^ X3g::Plugin::DimensionStyleManager::CurrentLayoutStyle
getset

Specifies the style to use when creating new dimensions in layout mode.