Class SmartDirection3D
Represents a 3D smart direction.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 6, 0, 0)]
public class SmartDirection3D : SmartObject
Remarks
This class is available since v7.6.
Constructors
| Name | Description |
|---|---|
| SmartDirection3D(Direction3D, Point3D) | Initializes a new instance of the SmartDirection3D class of type Basic. |
| SmartDirection3D(ElementId, bool) | Initializes a new instance of the SmartDirection3D class of type Element. |
| SmartDirection3D(ElementId, ItemLabel, bool) | Initializes a new instance of the SmartDirection3D class of type Item. |
| SmartDirection3D(SmartDirection3DType, Direction3D?, Point3D?, ElementId, ItemLabel, bool) | Initializes a new instance of the SmartDirection3D class. |
Fields
| Name | Description |
|---|---|
| DX | Positive X direction, i.e. (1,0,0). |
| DY | Positive Y direction, i.e. (0,1,0). |
| DZ | Positive Z direction, i.e. (0,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. |