MeshPlacement
Canonical path: NemAll_Python_Reinforcement.MeshPlacement
Bases: ReinfElement, AllplanElement
Implementation of the mesh placement element
Methods:
-
GetBendingShape–Get the shape polyline
-
GetCommonProperties–Get the common properties
-
GetPositionNumber–Get the position number
-
GetWidthVector–Get the width vector
-
Move–Move the placement
-
SetBendingShape–Set the reinforcement shape
-
SetCommonProperties–Set the common properties
-
SetLabel–Set the label
-
SetPositionNumber–Set the position number
-
SetWidthVector–Set the width vector
-
Transform–Transform the placement
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
BendingShape(BendingShape) –Get the shape polyline
-
CommonProperties(CommonProperties) –Get the common properties
-
PositionNumber(int) –Get the position number
-
WidthVector(Vector3D) –Get the width vector
GetBendingShape
GetBendingShape() -> BendingShape
GetCommonProperties
GetCommonProperties() -> CommonProperties
SetBendingShape
SetBendingShape(shape: BendingShape)
SetCommonProperties
SetCommonProperties(commonProp: CommonProperties)
SetLabel
SetLabel(label: MeshLabel, labelAssocView: AssocViewElementAdapter)
Set the label
Parameters:
-
label(MeshLabel) –Label
-
labelAssocView(AssocViewElementAdapter) –Associative view for the label
SetPositionNumber
Set the position number
Parameters:
-
positionNumber(int) –Position number
SetWidthVector
SetWidthVector(widthVec: Vector3D)
Transform
Transform(transMat: Matrix3D)
__init__
overloaded
Initialize
__init__(positionNumber: int, widthVec: Vector3D, bendingShape: BendingShape)
Constructor
Parameters:
-
positionNumber(int) –Position number
-
widthVec(Vector3D) –Width vector of the mesh
-
bendingShape(BendingShape) –Mesh shape
__init__(element: MeshPlacement)