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

Public Member Functions | |
| 'None' | Add (self, tag) |
| Adds a geometry. | |
| 'None' | Remove (self, tag) |
| Removes a feature. | |
| 'None' | Clear (self) |
| Clear all geometries. | |
| 'None' | RevertGeometry (self, tag) |
| Reverts a geometry. | |
Static Public Attributes | |
| str | Direction = property(fset=__SetDirection) |
| Sets a direction for a certain geometry. | |
| str | GeometryList = property(fget=__GetGeometryList, fset=__SetGeometryList) |
| Gets or sets the geometries. | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
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()
| 'None' Add | ( | self, | |
| tag ) |
Adds a geometry.
The Add function takes a geometry tag.
- Parameters
-
[in] tag Integer.
◆ Remove()
| 'None' Remove | ( | self, | |
| tag ) |
Removes a feature.
The Remove function takes a geometry tag.
- Parameters
-
[in] tag Integer.
◆ RevertGeometry()
| 'None' RevertGeometry | ( | self, | |
| tag ) |
Reverts a geometry.
The RevertFace function takes a feature tag.
- Parameters
-
[in] tag : Integer.
Member Data Documentation
◆ Direction
|
static |
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.
◆ 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_2412.py