Interface IDimensions
Gives access to drafting documents dimensions.
Namespace: TopSolid.Cad.Drafting.Automating
Assembly: TopSolid.Cad.Drafting.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 20, 255, 0)]
public interface IDimensions
Remarks
This interface is available since v7.19.
Methods
| Name | Description |
|---|---|
| CreateLinearDimension(ElementId, Point2D, Point2D, Direction2D, string, string) | Creates a linear dimension using two points. |
| GetCurrentDimensionStyle(DocumentId) | Gets current dimension style of a document |
| GetDimensionData(ElementId, out List<Point2D>, out List<Vector2D>, out string, out string, out string, out double, out UnitType, out string) | Method to get dimensions data |
| GetDimensionNormalStyle(ElementId) | Gets the normal style dedicated to the specified dimension entity. |
| GetDimensionSecondaryData(ElementId, out string, out UnitType, out string, out string, out string) | |
| GetDimensionStyle(ElementId) | Gets current style of a dimension |
| GetDimensionStyles(DocumentId) | Gets dimension styles of the document |
| GetDimensions(ElementId) | Gets dimension annotations from a drawing view |
| SetCurrentDimensionStyle(DocumentId, ElementId) | Sets current dimension style of a dimension |
| SetDimensionStyle(ElementId, ElementId) | Sets style of a dimension |