ArchBaseProperties
Canonical path: NemAll_Python_ArchElements.ArchBaseProperties
Base class representing properties of all kinds of architectural components
Methods:
-
GetAreaPresentationID–Get the ID of the area representation
-
GetAreaPresentationType–Get the type of the area representation
-
GetBackgroundColor–Get the background color
-
GetBitmapName–Get the name of the bitmap
-
GetCalculationMode–Get the calculation mode
-
GetCircleDivision–Get the circle division (relevant only for circular profiles))
-
GetCommonProperties–Get the common properties
-
GetFaceStyle–Get the face style ID
-
GetFactor–Get the factor
-
GetFilling–Get the filling ID
-
GetHatch–Get the hatch ID
-
GetMaterial–Get the material
-
GetName–Get the name
-
GetPattern–Get the pattern ID
-
GetPlaneReferences–Get the plane references
-
GetPriority–Get the priority
-
GetStatus–Get the Status ID
-
GetSurface–Get the surface name and path
-
GetTrade–Get the trade index
-
IsShowAreaElementInGroundView–Get the 'Show the area element in the ground view' state
-
LoadFromFavoriteFile–Load the properties from the favorite file
-
RemoveCommonProperties–Remove the common properties
-
ResetAreaElement–Reset the area element
-
ResetBackgroundColor–Reset the background color
-
SetBackgroundColor–Set the background color
-
SetBitmapName–Set the name of the bitmap
-
SetCalculationMode–Set the calculation mode
-
SetCircleDivision–Set the circle division
-
SetCommonProperties–Set the common properties
-
SetFaceStyle–Set the face style
-
SetFactor–Set the factor
-
SetFilling–Set the filling
-
SetHatch–Set the hatch
-
SetMaterial–Set the material
-
SetName–Set the name
-
SetPattern–Set the pattern
-
SetPlaneReferences–Set the plane references
-
SetPriority–Set the priority
-
SetShowAreaElementInGroundView–Set the show area element in ground view state
-
SetStatus–Set the Status ID
-
SetSurface–Set the surface
-
SetTrade–Set the trade index
-
__init__–Copy constructor
Attributes:
-
BackgroundColor(int) –Get the background color
-
BitmapName(str) –Get the name of the bitmap
-
CalculationMode(int) –Calculation mode, represented by an integer as follows:
-
CircleDivision(int) –Number the circle segments in case of a circular cross section
-
CommonProperties(CommonProperties) –Get the common properties
-
FaceStyle(int) –Get the face style ID
-
Factor(float) –Get the factor
-
Filling(int) –Get the filling ID
-
Hatch(int) –Get the hatch ID
-
Material(str) –Get the material
-
Name(str) –Get the name
-
Pattern(int) –Get the pattern ID
-
PlaneReferences(PlaneReferences) –Get the plane references
-
Priority(int) –Get the priority
-
Status(int) –Get the Status ID
-
Surface(str) –Get the surface name and path
-
Trade(int) –Trade index according to the definition of the enumeration attribute trade (@209@)
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)