ArchBaseProperties
Canonical path: NemAll_Python_ArchElements.ArchBaseProperties
Base class representing properties of all kinds of architectural components
CalculationMode
property
writable
Calculation mode, represented by an integer as follows:
- 0: m3
- 1: m2
- 2: m
- 3: Pcs
- 4: kg
CircleDivision
property
writable
Number the circle segments in case of a circular cross section
Trade
property
writable
Trade index according to the definition of the enumeration attribute trade (@209@)
GetAreaPresentationID
Get the ID of the area representation
Returns:
-
int
–ID of the area representation
GetAreaPresentationType
Get the type of the area representation
Returns:
-
int
–Type of the area representation
GetBackgroundColor
Get the background color
Returns:
-
int
–Background color
GetCalculationMode
Get the calculation mode
Returns:
-
int
–Integer representing the calculation mode as follows:
- 0: m3
- 1: m2
- 2: m
- 3: Pcs
- 4: kg
GetCircleDivision
Get the circle division (relevant only for circular profiles))
Returns:
-
int
–Number of circle segments
GetCommonProperties
GetCommonProperties() -> CommonProperties
GetPlaneReferences
GetPlaneReferences() -> PlaneReferences
GetTrade
Get the trade index
Returns:
-
int
–Trade index according to the definition of the enumeration attribute trade (@209@)
IsShowAreaElementInGroundView
Get the 'Show the area element in the ground view' state
Returns:
-
bool
–Show the area element in the ground view: true/false
LoadFromFavoriteFile
LoadFromFavoriteFile(doc: DocumentAdapter)
SetBackgroundColor
Set the background color
Parameters:
-
colorID
(int
) –Background color ID
SetBitmapName
Set the name of the bitmap
Parameters:
-
bitmapName
(str
) –Bitmap name
SetCalculationMode
Set the calculation mode
Parameters:
-
calculationMode
(int
) –Calculation mode
SetCircleDivision
Set the circle division
Parameters:
-
circleDivision
(int
) –Circle division
SetCommonProperties
SetCommonProperties(comProp: CommonProperties)
SetFaceStyle
Set the face style
Parameters:
-
faceStyleID
(int
) –Face style ID
SetPlaneReferences
SetPlaneReferences(planeRef: PlaneReferences)
SetShowAreaElementInGroundView
Set the show area element in ground view state
Parameters:
-
showInGroundView
(bool
) –Show the area element in the ground view
SetTrade
Set the trade index
Parameters:
-
value
(int
) –Trade index according to the definition of the enumeration attribute trade (@209@)
__init__
__init__(element: ArchBaseProperties)