StructuralElementProperties
Canonical path: NemAll_Python_ArchElements.StructuralElementProperties
Bases: ArchBaseProperties
Representation of the properties of structural framing element
EndPointZOffset
property
writable
Get the value of Z offset of the anchor point at end the point of SF element
ShapeTypeAtEnd
property
writable
ShapeTypeAtEnd: SolidElementTruncationType
Get truncation type at the start of the Structural Element
ShapeTypeAtStart
property
writable
ShapeTypeAtStart: SolidElementTruncationType
Get truncation type at the end of the Structural Element
StartPointZOffset
property
writable
Get the value of Z offset of the anchor point at start the point of SF element
AddHole
AddHole(holeGeometry: BRep3D) -> int
Adds a hole to the list of holes for the Structural Element
Parameters:
-
holeGeometry
(BRep3D
) –3D BRep Geometry of the hole
Returns:
-
int
–Unique ID for the created hole
GetAnglesAtEnd
GetAnglesAtEnd() -> tuple
GetAnglesAtStart
GetAnglesAtStart() -> tuple
GetBodyAxis
GetBodyAxis() -> Line3D
Get the Axis of the structural framing element calculated in the cross section's center of gravity
Returns:
-
Line3D
–Axis
GetCenterAxis
GetCenterAxis() -> Line3D
Get the axis of the structural framing element calculated in the center of the cross section outline
Returns:
-
Line3D
–Axis
GetConnectionAxis
GetConnectionAxis() -> Line3D
Get Connection Axis as a Line3D
Returns:
-
Line3D
–Line3D which contains information about start and end point coordinates
GetDoubleProfileGap
Gets double profile gap
Returns:
-
float
–Double profile gap
GetEndPointAdditionalOffset
GetEndPointAdditionalOffset() -> Vector3D
Get the end point distance dx/dy
Returns:
-
Vector3D
–Vector3D with offsets in x and y like Vector3D(distance_dx, distance dy, 0)
GetEndPointZOffset
Get the the offset between the anchor end point and the element end point of a structural framing element
Returns:
-
float
–Offset value
GetEndReferencePointType
GetEndReferencePointType() -> CustomBoxPoint
GetHeightProperties
GetHeightProperties() -> PlaneReferences
GetHoles
Returns existing holes as python dictionary, where key is hole ID, value is its geometry
Returns:
-
dict
–Existing holes as python dictionary, where key is hole ID, value is its geometry
GetProfileAngle
GetProfileAngle() -> Angle
Get rotation angle of cross section profile around the axis of a structural framing element
Returns:
-
Angle
–Rotation angle
GetProfileShapeProperties
Get the shape properties of the cross section
Returns:
-
object
–Cross section properties
GetShapeTypeAtEnd
GetShapeTypeAtEnd() -> SolidElementTruncationType
Get truncation type at the element's end point
Returns:
-
SolidElementTruncationType
–truncation type
GetShapeTypeAtStart
GetShapeTypeAtStart() -> SolidElementTruncationType
Get truncation type at the element's start point
Returns:
-
SolidElementTruncationType
–truncation type
GetSkeletonSolidElementProperties
Get SkeletonSolidElementProperties
Returns:
-
object
–SkeletonSolidElementProperties
GetStartPointAdditionalOffset
GetStartPointAdditionalOffset() -> Vector3D
Get the start point distance dx/dy
Returns:
-
Vector3D
–Vector3D with offsets in x and y like Vector3D(distance_dx, distance dy, 0)
GetStartPointZOffset
Get the the offset between the anchor start point and the element start point of a structural framing element
Returns:
-
float
–Offset value
GetStartReferencePointType
GetStartReferencePointType() -> CustomBoxPoint
Get type of the reference point at start
Returns:
-
CustomBoxPoint
–Type of the reference point at start
GetZCoordsVisibility
Get visibility of Z coordinates of insertion point
Returns:
-
bool
–True if Z coordinates visible, False otherwise
HasTwoAnchorPoints
Get the two anchor point state
Returns:
-
bool
–Two anchor point state
RemoveHole
Removes a hole to the list of holes for the Structural Element
Parameters:
-
holeID
(int
) –ID of the hole to remove. This ID is obtained by AddHole operation
SetAnglesAtEnd
SetAnglesAtStart
SetCommonProperties
SetCommonProperties(comProp: CommonProperties)
SetDoubleProfileGap
Set the gap of double profile
Parameters:
-
desiredGap
(float
) –Desired gap
Returns:
-
bool
–true if attribute Gap was correctly set and exists / false if given profile doesn't have attribute Gap
SetEndPointZOffset
Set the offset between the anchor end point and the element end point of a structural framing element
Parameters:
-
desiredOffset
(float
) –offset value
SetProfileAngle
SetProfileAngle(value: Angle)
Set rotation angle of cross section profile around the axis of a structural framing element
Parameters:
-
value
(Angle
) –Rotation angle
SetProfileShapeProperties
Set cross-section shape properties
Parameters:
-
value
(object
) –Profile Shape Properties
SetShapeTypeAtEnd
SetShapeTypeAtEnd(endTruncationType: SolidElementTruncationType)
Set truncation type at the element's end point
Parameters:
-
endTruncationType
(SolidElementTruncationType
) –truncation type
SetShapeTypeAtStart
SetShapeTypeAtStart(startTruncationType: SolidElementTruncationType)
Set truncation type at the element's start point
Parameters:
-
startTruncationType
(SolidElementTruncationType
) –truncation type
SetStartPointZOffset
Set the offset between the anchor start point and the element start point of a structural framing element
Parameters:
-
desiredOffset
(float
) –offset value
SetTwoAnchorPoints
Whether the structural framing element should have two different anchor points at beginning and at end
Parameters:
-
areTwoAnchorPoint
(bool
) –True to make the element have two different anchor points, False otherwise