OperationCreateShapeFromGeometry Method

Create a new shape in the shape catalog, based on the part geometry.

Namespace:  Tekla.Structures.Model.Operations
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
public static string CreateShapeFromGeometry(
	Part originalPart
)

Parameters

originalPart
Type: Tekla.Structures.ModelPart
Original part

Return Value

Type: String
The newly created shape name, or empty string on failure
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the originalPart is null.
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next