 | DrillTrajectoryGeometry Property |
Returns the collection of the Geometry objects associated with the trajectory.///
Namespace: Woodwork.AutomationAssembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 2.1.25
SyntaxIList<Geometry> Geometry { get; }
ReadOnly Property Geometry As IList(Of Geometry)
Get
Return Value
IListGeometry
for (var index = 0; index < trajectory.Geometry.Count; index++) {
var geometry = trajectory.Geometry[index];
switch (operation.GeometryType) {
case GeometryTypeEnum.Point:
var point = host.asType(Point, geometry);
break;
case GeometryTypeEnum.Segment:
var line = host.asType(Segment, geometry);
break;
case GeometryTypeEnum.Arc:
var arc = host.asType(Arc, geometry);
break;
}
}
See Also