Skip to main content

Speos NX library 2025 R1

SimulationDirectBuilder Class Reference

Last update: 17.07.2025

Represents an Direct Simulation Builder. More...

Inheritance diagram for SimulationDirectBuilder:
SimulationCommonBuilderFeatureBuilder_object

Static Public Attributes

str Duration = property(fget=__GetDuration, fset=__SetDuration)
 Gets or sets the duration.
 
str FamilySelection = property(fget=__GetFamilySelection, fset=__SetFamilySelection)
 Gets or sets the family selection list.
 
str MaximumNumberOfPaths = property(fget=__GetMaximumNumberOfPaths, fset=__SetMaximumNumberOfPaths)
 Gets or sets the maximum number of paths.
 
str RayFileFormat = property(fget=__GetRayFileFormat, fset=__SetRayFileFormat)
 Gets or sets the ray file format.
 
str RayNumberMultiplier = property(fget=__GetRayNumberMultiplier, fset=__SetRayNumberMultiplier)
 Gets or sets the ray number multiplier.
 
str RaysNumber = property(fget=__GetRaysNumber, fset=__SetRaysNumber)
 Gets or sets the number or rays.
 
str StopOnDuration = property(fget=__GetStopOnDuration, fset=__SetStopOnDuration)
 Gets or sets the property to stop on duration.
 
str StopOnRaysNumber = property(fget=__GetStopOnRaysNumber, fset=__SetStopOnRaysNumber)
 Gets or sets the property to enable stop on rays number.
 
str UsePartFamilies = property(fget=__GetUsePartFamilies, fset=__SetUsePartFamilies)
 Gets or sets the property to use family tables.
 
- Static Public Attributes inherited from SimulationCommonBuilder
str AllPreset = property(fget=__GetAllPreset)
 Gets all Preset.
 
str AmbientMaterial = property(fget=__GetAmbientMaterial, fset=__SetAmbientMaterial)
 Gets or sets the property to enable ambient material.
 
str EstimatedRam = property(fget=__GetEstimatedRam)
 Gets the estimated RAM usage.
 
str FeatureSimulation = property(fget=__GetFeatureSimulation)
 Gets the simulation feature object.
 
str Geometries = property(fget=__GetGeometries)
 Gets geometries tag.
 
str LightExpert = property(fget=__GetLightExpert, fset=__SetLightExpert)
 Gets or sets the property to enable Light Expert.
 
str Preset = property(fget=__GetPreset, fset=__SetPreset)
 Gets or sets the Preset object.
 
str SelectAmbientMaterial = property(fget=__GetSelectAmbientMaterial, fset=__SetSelectAmbientMaterial)
 Gets or set the ambient material.
 
str Sensors = property(fget=__GetSensors)
 Gets sensor features.
 
str Settings = property(fget=__GetSettings, fset=__SetSettings)
 Gets or sets the simulation settings.
 
str Sources = property(fget=__GetSources)
 Gets source features.
 
str StandardDeviation = property(fget=__GetStandardDeviation, fset=__SetStandardDeviation)
 
- Static Public Attributes inherited from FeatureBuilder
str Feature = property(fget=__GetFeature)
 Returns the feature being edited, or the created feature if the builder is being used in creation mode.
 
str FullName = property(fget=__GetFullName)
 Gets the full name of the feature being edited.
 
str Name = property(fget=__GetName, fset=__SetName)
 Gets or sets the name of the feature being edited.
 
str NameWithContext = property(fget=__GetNameWithContext)
 Gets the name with context of the feature being edited.
 

Additional Inherited Members

- Public Member Functions inherited from SimulationCommonBuilder
'None' AddSources (self, sources)
 Adds sources into the simulation.
 
'None' RemoveSources (self, sources)
 Deletes sources from the simulation.
 
'None' AddGeometries (self, tags)
 Adds geometries into the simulation.
 
'None' RemoveGeometries (self, tags)
 Deletes geometries from the simulation.
 
'None' AddSensors (self, sensors)
 Adds sensors into the simulation.
 
'None' RemoveSensors (self, sensors)
 Deletes sensors from the simulation.
 
- Public Member Functions inherited from FeatureBuilder
'None' Commit (self)
 Commits any edits that have been applied to the builder.
 
'None' ShowResult (self)
 Updates the feature to reflect the result of an edit to the feature for all builders that support showing results.
 

Detailed Description

Represents an Direct Simulation Builder.

The Direct Simulation Builder is used to create and edit Direct Simulation features.

To create a new instance of this class, use FeatureCollection::CreateSimulationDirectBuilder

Member Data Documentation

◆ Duration

str Duration = property(fget=__GetDuration, fset=__SetDuration)
static

Gets or sets the duration.

Prerequisite: The StopOnDuration property must be True.

Time necessary to reach for the simulation to end.

Value type: Double (in second).
Range: The value must be superior to 0.0.

The default value is 1800.0 s.

◆ FamilySelection

str FamilySelection = property(fget=__GetFamilySelection, fset=__SetFamilySelection)
static

Gets or sets the family selection list.


Prerequisite: The UseFamilyTables property must be True.

Selects the configurations to run with the simulation.

Value type: List of string.

The default value is an empty list.

◆ MaximumNumberOfPaths

str MaximumNumberOfPaths = property(fget=__GetMaximumNumberOfPaths, fset=__SetMaximumNumberOfPaths)
static

Gets or sets the maximum number of paths.

Prerequisite: The EnableLightExpert property must be True.

The Maximum paths corresponds to the maximum number of rays the Light Path Finder file (*.lpf or *.lp3) can contain.

Value type: Integer.
Range: The value must be superior to 0.

The default value is 100,000.

◆ RayFileFormat

str RayFileFormat = property(fget=__GetRayFileFormat, fset=__SetRayFileFormat)
static

Gets or sets the ray file format.

Prerequisite: The EnableRayFile property must be True.

Type of ray file that the simulation creates at the end.

The values are:
0 - Speos without Polarization.
1 - Speos with Polarization.
2 - IES TM-25 without Polarization.
3 - IES TM-25 with Polarization.

Value type: Integer.

The default value is 0.

◆ RayNumberMultiplier

str RayNumberMultiplier = property(fget=__GetRayNumberMultiplier, fset=__SetRayNumberMultiplier)
static

Gets or sets the ray number multiplier.

Prerequisite: The StopOnRaysNumber property must be True.

The values are:
0 - Rays.
1 - Kilo-Rays.
2 - Mega-Rays.
3 - Giga-Rays.

Value type: Integer.

The default value is 1.

◆ RaysNumber

str RaysNumber = property(fget=__GetRaysNumber, fset=__SetRaysNumber)
static

Gets or sets the number or rays.

Prerequisite: The StopOnRaysNumber property must be True.

Number of rays necessary to reach for the simulation to end.

Value type: Integer.
Range: The value must be superior to 0.

The default value is 200.

◆ StopOnDuration

str StopOnDuration = property(fget=__GetStopOnDuration, fset=__SetStopOnDuration)
static

Gets or sets the property to stop on duration.

True: Enables stop on Duration property
False: Disables stop on Duration property

Value type: Boolean.

The default value is False.

◆ StopOnRaysNumber

str StopOnRaysNumber = property(fget=__GetStopOnRaysNumber, fset=__SetStopOnRaysNumber)
static

Gets or sets the property to enable stop on rays number.

True: Enables stop on RaysNumber property.
False: Disables stop on RaysNumber property.

Value type: Boolean.

The default value is True.

◆ UsePartFamilies

str UsePartFamilies = property(fget=__GetUsePartFamilies, fset=__SetUsePartFamilies)
static

Gets or sets the property to use family tables.

True: Enables multi-configuration to run in the simulation.
False: Disables multi-configuration to run in the simulation.

Value type: Boolean.

The default value is False.


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

Connect with Ansys