CurveDimensionElement
Canonical path: NemAll_Python_BasisElements.CurveDimensionElement
Bases: BasisElement, AllplanElement
Implementation of the dimension element
Methods:
-
GetDimensionPoints–Get the dimension points
-
GetProperties–Get the Properties
-
GetSegmentProperties–Get the Segment Properties
-
SetDimensionPoints–Set the dimension points
-
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
-
Properties(DimensionProperties) –Get the Properties
-
SegmentProperties(DimensionSegmentPropertiesList) –Get the Segment Properties
SegmentProperties
property
writable
SegmentProperties: DimensionSegmentPropertiesList
Get the Segment Properties
GetDimensionPoints
GetDimensionPoints() -> Point3DList
GetProperties
GetProperties() -> DimensionProperties
GetSegmentProperties
GetSegmentProperties() -> DimensionSegmentPropertiesList
SetDimensionPoints
SetDimensionPoints(dimPoints: Point3DList | list[Point3D])
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],
referenceCurve: object,
distance: float,
dimensionProperties: DimensionProperties,
)
Constructor
Parameters:
-
dimensionPoints(Point3DList | list[Point3D]) –Dimension points
-
referenceCurve(object) –Reference curve
-
distance(float) –Distance to the dimension line
-
dimensionProperties(DimensionProperties) –Dimension properties
__init__(
dimensionPoints: Point2DList | list[Point2D],
referenceCurve: object,
distance: float,
dimensionProperties: DimensionProperties,
)
Constructor
Parameters:
-
dimensionPoints(Point2DList | list[Point2D]) –Dimension points
-
referenceCurve(object) –Reference curve
-
distance(float) –Distance to the dimension line
-
dimensionProperties(DimensionProperties) –Dimension properties
__init__(element: CurveDimensionElement)