OperationConvertPartToItem Method |
Convert a part to an item. This will also create a new shape in the shape catalog.
Namespace: Tekla.Structures.Model.Operations
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
Parameters
- originalPart
- Type: Tekla.Structures.ModelPart
Original part - newItem
- Type: Tekla.Structures.ModelBrep
Newly created item
Return Value
Type: BooleanTrue on success, false on failure.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the originalPart is null. |
See Also