ElevationElement
Canonical path: NemAll_Python_BasisElements.ElevationElement
Bases: BasisElement, AllplanElement
Implementation of the elevation element
Methods:
-
GetDimensionPoints–Get the dimension points
-
GetDirectionVector–Get the direction vector
-
GetPlacementVector–Get the placement vector
-
GetProperties–Get the Properties
-
GetSegmentProperties–Get the Segment Properties
-
SetDimensionPoints–Set the dimension points
-
SetDirectionVector–Get the direction vector
-
SetPlacementVector–Get the placement vector
-
SetProperties–Set the Properties
-
SetSegmentProperties–Set the Segment Properties
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
DimensionPoints(list[Point3D]) –Get the dimension points
-
DirectionVector(Vector2D) –Get the direction vector
-
PlacementVector(Vector2D) –Get the placement vector
-
Properties(DimensionProperties) –Get the Properties
-
SegmentProperties(list[DimensionSegmentProperties]) –Get the Segment Properties
SegmentProperties
property
writable
SegmentProperties: list[DimensionSegmentProperties]
Get the Segment Properties
GetDimensionPoints
GetDimensionPoints() -> Point3DList
GetDirectionVector
GetDirectionVector() -> Vector2D
GetPlacementVector
GetPlacementVector() -> Vector2D
GetProperties
GetProperties() -> DimensionProperties
GetSegmentProperties
GetSegmentProperties() -> DimensionSegmentPropertiesList
SetDimensionPoints
SetDimensionPoints(dimPoints: Point3DList | list[Point3D])
SetDirectionVector
SetDirectionVector(dirVector: Vector2D)
SetPlacementVector
SetPlacementVector(placementVec: Vector2D)
SetProperties
SetProperties(dimensionProperties: DimensionProperties)
SetSegmentProperties
SetSegmentProperties(
dimensionSegmentProperties: DimensionSegmentPropertiesList,
)
Set the Segment Properties
Parameters:
-
dimensionSegmentProperties(DimensionSegmentPropertiesList) –Dimension segment properties
__init__
overloaded
Initialize
__init__(
dimensionPoints: Point3DList | list[Point3D],
placementVector: Vector2D,
directionVector: Vector2D,
dimensionProperties: DimensionProperties,
)
Constructor
Parameters:
-
dimensionPoints(Point3DList | list[Point3D]) –Dimension points
-
placementVector(Vector2D) –Placement vector to the first dimension point
-
directionVector(Vector2D) –Direction vector
-
dimensionProperties(DimensionProperties) –Dimension properties
__init__(
dimensionPoints: Point3DList | list[Point3D],
placementVector: Vector2D,
directionVector: Vector2D,
dimensionProperties: DimensionProperties,
dimensionSegmentProperties: DimensionSegmentPropertiesList,
)
Constructor
Parameters:
-
dimensionPoints(Point3DList | list[Point3D]) –Dimension points
-
placementVector(Vector2D) –Placement vector to the first dimension point
-
directionVector(Vector2D) –Direction vector
-
dimensionProperties(DimensionProperties) –Dimension properties
-
dimensionSegmentProperties(DimensionSegmentPropertiesList) –Dimension segment properties
__init__(dimElement: ElevationElement)