OpticalPropertiesGeometry Class Reference
Last update: 17.07.2025Represents interface for editing optical properties geometries. More...

Public Member Functions | |
| Add (self, tag) | |
| Adds a geometry. | |
| Remove (self, tag) | |
| Removes a feature. | |
| Clear (self) | |
| Clear all geometries. | |
| SetDirection (self, tag, value) | |
| Sets a direction for a certain geometry. | |
| RevertGeometry (self, tag) | |
| Reverts a geometry. | |
Properties | |
| GeometryList = property(fget = __GetGeometryList, fset = __SetGeometryList) | |
| Gets or sets the geometries. | |
Detailed Description
Represents interface for editing optical properties geometries.
This interface is used to edit geometries on which the optical properties are applied.
To create a new instance of this class, use COpticalPropertiesBuilder::GetOpticalPropertiesGeometry
Member Function Documentation
◆ Add()
| Add | ( | self, | |
| tag ) |
Adds a geometry.
The Add function takes a geometry tag.
- Parameters
-
[in] tag Integer.
◆ Remove()
| Remove | ( | self, | |
| tag ) |
Removes a feature.
The Remove function takes a geometry tag.
- Parameters
-
[in] tag Integer.
◆ RevertGeometry()
| RevertGeometry | ( | self, | |
| tag ) |
Reverts a geometry.
The RevertFace function takes a feature tag.
- Parameters
-
[in] tag : Integer.
◆ SetDirection()
| SetDirection | ( | self, | |
| tag, | |||
| value ) |
Sets a direction for a certain geometry.
The SetDirection function takes a feature tag as the first parameter.
The function changes the direction of a geometry.
The reverse direction depends of the value parameter:
0 - Does not reverse the direction.
1 - Reverses the direction.
- Parameters
-
[in] tag : Integer. [in] value : Integer.
Property Documentation
◆ GeometryList
|
static |
Gets or sets the geometries.
The GeometryList property takes and returns a list of feature tag.
Value type: List of integer.
The default value is an empty list.
The documentation for this class was generated from the following file:
- SpeosNX.py