ShapeItemSetHandlePoints Method |
Set the Shape item's Handle Points
Namespace: Tekla.Structures.Catalogs
Assembly: Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
Parameters
- HandlePoints
- Type: System.Collections.GenericListPoint
The handle points.
Return Value
Type: BooleanTrue if success or False
Examples
public void SetHandlePointsTest() { var polymesh = CreateSomeValidBrep(); var shapeItem = new ShapeItem { Name = "TestFileName", ShapeFacetedBrep = polymesh, UpAxis = ShapeUpAxis.Z_Axis }; shapeItem.Insert(); var handlePoints = new List<Point>; { new Point(100.0, 100.0, 100.0), new Point(-100.0, -100.0, -100.0), }; shapeItem.SetHandlePoints(handlePoints); }
See Also