StructuralElementProperties
Canonical path: NemAll_Python_ArchElements.StructuralElementProperties
Bases: ArchBaseProperties
Representation of the properties of structural framing element
Methods:
-
AddHole–Adds a hole to the list of holes for the Structural Element
-
GetAnglesAtEnd–Get angles between the cross-sectional area and the plane perpendicular to the axis
-
GetAnglesAtStart–Get angles between the cross-sectional area and the plane perpendicular to the axis
-
GetBodyAxis–Get the Axis of the structural framing element calculated in the cross section's center of gravity
-
GetCenterAxis–Get the axis of the structural framing element calculated in the center of the cross section outline
-
GetConnectionAxis–Get Connection Axis as a Line3D
-
GetDoubleProfileGap–Gets double profile gap
-
GetEndPointAdditionalOffset–Get the end point distance dx/dy
-
GetEndPointZOffset–Get the the offset between the anchor end point and the element end point of a structural framing element
-
GetEndReferencePointType–Get type the reference point at end
-
GetHeightProperties–Get HeightProperties
-
GetHoles–Returns existing holes as python dictionary, where key is hole ID, value is its geometry
-
GetProfileAngle–Get rotation angle of cross section profile around the axis of a structural framing element
-
GetProfileShapeProperties–Get the shape properties of the cross section
-
GetShapeTypeAtEnd–Get truncation type at the element's end point
-
GetShapeTypeAtStart–Get truncation type at the element's start point
-
GetSkeletonSolidElementProperties–Get SkeletonSolidElementProperties
-
GetStartPointAdditionalOffset–Get the start point distance dx/dy
-
GetStartPointZOffset–Get the the offset between the anchor start point and the element start point of a structural framing element
-
GetStartReferencePointType–Get type of the reference point at start
-
GetZCoordsVisibility–Get visibility of Z coordinates of insertion point
-
HasTwoAnchorPoints–Get the two anchor point state
-
RemoveHole–Removes a hole to the list of holes for the Structural Element
-
SetAnglesAtEnd–Set angles between the cross-sectional area and the plane perpendicular to the axis
-
SetAnglesAtStart–Set angles between the cross-sectional area and the plane perpendicular to the axis
-
SetAttribute–Set the attribute
-
SetCommonProperties–Set the Common properties
-
SetDoubleProfileGap–Set the gap of double profile
-
SetEndPointZOffset–Set the offset between the anchor end point and the element end point of a structural framing element
-
SetProfileAngle–Set rotation angle of cross section profile around the axis of a structural framing element
-
SetProfileShapeProperties–Set cross-section shape properties
-
SetShapeTypeAtEnd–Set truncation type at the element's end point
-
SetShapeTypeAtStart–Set truncation type at the element's start point
-
SetStartPointZOffset–Set the offset between the anchor start point and the element start point of a structural framing element
-
SetTwoAnchorPoints–Whether the structural framing element should have two different anchor points at beginning and at end
-
__init__–Overloaded function. See individual overloads.
Attributes:
-
DoubleProfileGap(float) –Gets double profile gap
-
EndPointZOffset(float) –Get the value of Z offset of the anchor point at end the point of SF element
-
ProfileAngle(Angle) –Get the rotation angle of element profile
-
ProfileShapeProperties(object) –Get ProfileShapeProperties
-
ShapeTypeAtEnd(SolidElementTruncationType) –Get truncation type at the start of the Structural Element
-
ShapeTypeAtStart(SolidElementTruncationType) –Get truncation type at the end of the Structural Element
-
StartPointZOffset(float) –Get the value of Z offset of the anchor point at start the point of SF 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