RhinoCommon API
DimStyleTable Class |
[Missing <summary> documentation for "T:Rhino.DocObjects.Tables.DimStyleTable"]
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
The DimStyleTable type exposes the following members.
| Name | Description | |
|---|---|---|
| BuiltInStyles |
Creates an array of default AnnotationStyle objects
| |
| ComponentType |
Returns DimStyle.
(Overrides CommonComponentTableTComponentType.) | |
| Count | Number of dimstyles in the table. In Rhino for Windows 6.14, this member is inherited from CommonComponentTableTCount. | |
| Current |
Returns an instance of the current DimensionStyle.
| |
| CurrentDimensionStyle |
Do not use. Use the Current property.
| |
| CurrentDimensionStyleIndex | ||
| CurrentId | ||
| CurrentIndex | ||
| Document | Document that owns this dimstyle table. In Rhino for Windows 6.14, this member is inherited from RhinoDocCommonTableTDocument. | |
| Item |
| Name | Description | |
|---|---|---|
| Add(String) |
Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized
with the current default AnnotationStyle properties.
| |
| Add(String, Boolean) |
Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized
with the current default AnnotationStyle properties.
| |
| Add(DimensionStyle, Boolean) |
Adds a new DimensionStyle to the document.
| |
| Clear |
Marks all items as deleted.
(Inherited from CommonComponentTableT.) | |
| Delete(DimensionStyle) |
Removes an annotation style.
(Overrides CommonComponentTableTDelete(T).) | |
| Delete(Int32, Boolean) | ||
| DeleteDimensionStyle | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Find(String, Boolean) | ||
| Find(Guid, Boolean) | ||
| FindId |
Uses the guid to find a model component. Deleted objects cannot be found by id.
The guid is the value that is stored in the .Id property.
In a single document, no two active objects have the same guid. If an object is
replaced with a new object, then the guid persists. For example, if the _Move command
moves an object, then the moved object inherits its guid from the starting object.
If the Copy command copies an object, then the copy gets a new guid. This guid persists
through file saving/openning operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.) | |
| FindIndex |
Retrieves a DimensionStyle object based on Index. This seach type of search is discouraged.
We are moving towards using only IDs for all tables.
| |
| FindName |
Finds the DimensionStyle with a given name and retuns it. None is returned if no DimensionStyle is found.
| |
| FindRoot | ||
| GetEnumerator | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnusedDimensionStyleName | ||
| GetUnusedStyleName |
Get a unique name for a style that does not already exist in the DimStyle table
| |
| GetUnusedStyleName(String) |
Get a unique name for a dimension style that does not already exist in the DimStyle table
| |
| Modify(DimensionStyle, AnnotationBase) | ||
| Modify(DimensionStyle, Guid, Boolean) | Modifies dimension style settings. | |
| Modify(DimensionStyle, Int32, Boolean) | Modifies dimension style settings. | |
| SetCurrent |
Sets the Current property.
| |
| SetCurrentDimensionStyleIndex |
Do not use. Use the SetCurrent(Int32, Boolean) method.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |