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: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if the originalPart is null. |