    

 ## On this page

  

 

 # OpticalPropertiesGeometry Class Reference

 Last update: 17.07.2025 

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

Inheritance diagram for OpticalPropertiesGeometry:

 ![](/sites/default/files/migrate-content/speos_nx_2024_r2/class_speos_n_x_1_1_optical_properties_geometry.png)



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

 [Add](#a14f0db74968e569a7aa8d98824a419d6) (self, tag) Adds a geometry.   
  [Remove](#aebc567ea018fac3ced7dd05e9a95fcd4) (self, tag) Removes a feature.   
 <a id="af90114b2280410b0c68aebc6241b3f0f" name="af90114b2280410b0c68aebc6241b3f0f"></a> **Clear** (self) Clear all geometries.   
  [SetDirection](#af6258b2bbe185d87eff5cb6b8a34383d) (self, tag, value) Sets a direction for a certain geometry.   
  [RevertGeometry](#a4bbae52c17203c13e6ed92f56a484af7) (self, tag) Reverts a geometry.   
 ## <a id="properties" name="properties"></a>Properties

 [GeometryList](#a7a6aab2002227c688953646ab89e7d12) = property(fget = \_\_GetGeometryList, fset = \_\_SetGeometryList) Gets or sets the geometries.   
 <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="a14f0db74968e569a7aa8d98824a419d6" name="a14f0db74968e569a7aa8d98824a419d6"></a>## [◆ ](#a14f0db74968e569a7aa8d98824a419d6)Add()

 Add  (  *self*,     *tag* )

Adds a geometry.

The Add function takes a geometry tag.

Parameters \[in\]tagInteger. 



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

 Remove  (  *self*,     *tag* )

Removes a feature.

The Remove function takes a geometry tag.

Parameters \[in\]tagInteger. 



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

 RevertGeometry  (  *self*,     *tag* )

Reverts a geometry.

The RevertFace function takes a feature tag.

Parameters \[in\]tag: Integer. 



<a id="af6258b2bbe185d87eff5cb6b8a34383d" name="af6258b2bbe185d87eff5cb6b8a34383d"></a>## [◆ ](#af6258b2bbe185d87eff5cb6b8a34383d)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

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

 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.py**