Class SmartDirection2D
Represents a 2D smart direction.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 7, 0, 0)]
public class SmartDirection2D : SmartObject
Remarks
This class is available since v7.7.
Constructors
| Name | Description |
|---|---|
| SmartDirection2D(Direction2D, Point2D) | Initializes a new instance of the SmartDirection2D class of type Basic. |
| SmartDirection2D(ElementId, bool) | Initializes a new instance of the SmartDirection2D class of type Element. |
| SmartDirection2D(ElementId, ItemLabel, bool) | Initializes a new instance of the SmartDirection2D class of type Item. |
| SmartDirection2D(SmartDirection2DType, Direction2D?, Point2D?, ElementId, ItemLabel, bool) | Initializes a new instance of the SmartDirection2D class. |
Fields
| Name | Description |
|---|---|
| DX | Positive X direction, i.e. (1,0). |
| DY | Positive Y direction, i.e. (0,1). |
| ElementId | Providing element identifier, or empty if none. |
| Geometry | Direction geometry, or null if unknown. |
| HelpPoint | Help point, or null if unknown. |
| IsReversed | Whether the provided direction is to be reversed. |
| ItemLabel | Providing element item label, or empty if none. |
| Type | Type of smart direction. |