    

 ## On this page

  

 

 # OpticalPropertiesGeometry Class Reference

 Last update: 16.07.2025 

Represents interface for editing optical properties geometries. [More...](#details)

Inheritance diagram for OpticalPropertiesGeometry:

 ![](/sites/default/files/migrate-content/speos_nx_library_2025_r2_1/class_speos_n_x__2412_1_1_optical_properties_geometry.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 'None' [Add](#ab437b6f556464b59bf1f8cbb621b3724) (self, tag) Adds a geometry.   
  'None' [Remove](#ae5875ad27243653f6c314b4a8fa08a29) (self, tag) Removes a feature.   
 <a id="ad1f121ac89b5e624a0351c969e95d985" name="ad1f121ac89b5e624a0351c969e95d985"></a> 'None' **Clear** (self) Clear all geometries.   
  'None' [RevertGeometry](#a2add14ab3d65e3810d3168c915abf044) (self, tag) Reverts a geometry.   
 ## <a id="pub-static-attribs" name="pub-static-attribs"></a>Static Public Attributes

str [Direction](#ad76e035987615d35ecd3af7e47e44d99) = property(fset=\_\_SetDirection) Sets a direction for a certain geometry.   
 str [GeometryList](#a64347863a6b1517e3f4477cb11bc1ae9) = property(fget=\_\_GetGeometryList, fset=\_\_SetGeometryList) Gets or sets the geometries.   
 ## <a id="properties" name="properties"></a>Properties

<a id="a50e9fbdd6a13e9e50cfba34656086bb6" name="a50e9fbdd6a13e9e50cfba34656086bb6"></a> **thisown** = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <a id="details" name="details"></a>## 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 <a class="el" href="">COpticalPropertiesBuilder::GetOpticalPropertiesGeometry</a>



## Member Function Documentation

<a id="ab437b6f556464b59bf1f8cbb621b3724" name="ab437b6f556464b59bf1f8cbb621b3724"></a>## [◆ ](#ab437b6f556464b59bf1f8cbb621b3724)Add()

  'None' Add  (  *self*,     *tag* )

Adds a geometry.

The Add function takes a geometry tag.

Parameters \[in\]tagInteger. 



<a id="ae5875ad27243653f6c314b4a8fa08a29" name="ae5875ad27243653f6c314b4a8fa08a29"></a>## [◆ ](#ae5875ad27243653f6c314b4a8fa08a29)Remove()

  'None' Remove  (  *self*,     *tag* )

Removes a feature.

The Remove function takes a geometry tag.

Parameters \[in\]tagInteger. 



<a id="a2add14ab3d65e3810d3168c915abf044" name="a2add14ab3d65e3810d3168c915abf044"></a>## [◆ ](#a2add14ab3d65e3810d3168c915abf044)RevertGeometry()

  'None' RevertGeometry  (  *self*,     *tag* )

Reverts a geometry.

The RevertFace function takes a feature tag.

Parameters \[in\]tag: Integer. 



## Member Data Documentation

<a id="ad76e035987615d35ecd3af7e47e44d99" name="ad76e035987615d35ecd3af7e47e44d99"></a>## [◆ ](#ad76e035987615d35ecd3af7e47e44d99)Direction

 str Direction = property(fset=\_\_SetDirection)  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. 



<a id="a64347863a6b1517e3f4477cb11bc1ae9" name="a64347863a6b1517e3f4477cb11bc1ae9"></a>## [◆ ](#a64347863a6b1517e3f4477cb11bc1ae9)GeometryList

 str GeometryList = property(fget=\_\_GetGeometryList, fset=\_\_SetGeometryList)  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**