Skip to main content

Speos NX library 2025 R1

OpticalPropertiesGeometry Class Reference

Last update: 17.07.2025

Represents interface for editing optical properties geometries. More...

Inheritance diagram for OpticalPropertiesGeometry:
_object

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.
 

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]tagInteger.

◆ Remove()

'None' Remove ( self,
tag )

Removes a feature.

The Remove function takes a geometry tag.

Parameters
[in]tagInteger.

◆ RevertGeometry()

'None' RevertGeometry ( self,
tag )

Reverts a geometry.

The RevertFace function takes a feature tag.

Parameters
[in]tag: Integer.

Member Data Documentation

◆ 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.

The documentation for this class was generated from the following file:
  • SpeosNX.py

Connect with Ansys