ExitanceVariable
#
- class ansys.speos.core.source.SourceSurface.ExitanceVariable(exitance_variable, exitance_variable_props, default_values=True, stable_ctr=False)#
Type of surface source existence : existence variable.
- Parameters:
- exitance_variableansys.api.speos.source.v1.source_pb2.SourceTemplate.Surface.
- ExitanceVariable
Existence variable to complete.
- exitance_variable_propsansys.api.speos.scene.v2.scene_pb2.Scene.SourceInstance.
- SurfaceProperties.ExitanceVariableProperties
Existence variable properties to complete.
- default_valuesbool
Uses default values when True.
- stable_ctrbool
Variable to indicate if usage is inside class scope
- Parameters:
Notes
Do not instantiate this class yourself, use set_exitance_variable method available in Source classes.
Overview#
Set existence xmp file. |
|
Set position of the existence map. |
Import detail#
from ansys.speos.core.source.SourceSurface import ExitanceVariable
Method detail#
- ExitanceVariable.set_xmp_file_uri(uri)#
Set existence xmp file.
- Parameters:
- uri
str
XMP file describing existence.
- uri
- Returns:
ansys.speos.core.source.SourceSurface.ExitanceVariable
ExitanceVariable of surface source.
- ExitanceVariable.set_axis_plane(axis_plane=None)#
Set position of the existence map.
- Parameters:
- axis_plane
Optional
[List
[float
]] Position of the existence map [Ox Oy Oz Xx Xy Xz Yx Yy Yz]. By default,
[0, 0, 0, 1, 0, 0, 0, 1, 0]
.
- axis_plane
- Returns:
ansys.speos.core.source.SourceSurface.ExitanceVariable
ExitanceVariable of surface Source.