Skip to main content

Speos NX library 2025 R2

SpeosPatternBuilder Class Reference

Last update: 16.07.2025

Represents a Speos pattern builder. More...

Inheritance diagram for SpeosPatternBuilder:
FeatureBuilderBuilder

Static Public Attributes

str NumberOfRay = property(fget=__GetNumberOfRay, fset=__SetNumberOfRay)
 Gets or sets the number of rays.
 
str OneLayerPerInstance = property(fget=__GetOneLayerPerInstance, fset=__SetOneLayerPerInstance)
 Gets or sets the property to enable/disable one layer per instance.
 
str OneLayerPerSource = property(fget=__GetOneLayerPerSource, fset=__SetOneLayerPerSource)
 Gets or sets the property to enable/disable one layer per source.
 
str Origins = property(fget=__GetOrigins, fset=__SetOrigins)
 Gets or sets the origin coordinate systems.
 
str PatternFilePassword = property(fset=__SetPatternFilePassword)
 Sets the pattern file password.
 
str PatternFilePath = property(fget=__GetPatternFilePath, fset=__SetPatternFilePath)
 Gets or sets the property pattern file path.
 
str PreviewMode = property(fget=__GetPreviewMode, fset=__SetPreviewMode)
 Gets or sets the preview mode.
 
str RayFileData = property(fget=__GetRayFileData)
 Returns the ray file data object.
 
str RayFileFlux = property(fget=__GetRayFileFlux, fset=__SetRayFileFlux)
 Gets or sets the flux of the ray file source.
 
str RayFileFluxFromFile = property(fget=__GetRayFileFluxFromFile, fset=__SetRayFileFluxFromFile)
 Gets or sets the property to enable fetching the flux from file.
 
str RayFileFluxUnit = property(fget=__GetRayFileFluxUnit, fset=__SetRayFileFluxUnit)
 Gets or sets the flux unit of the ray file source.
 
str RayFileSpectrumType = property(fget=__GetRayFileSpectrumType, fset=__SetRayFileSpectrumType)
 Gets or sets the spectrum type.
 
str RayFileTemperature = property(fget=__GetRayFileTemperature, fset=__SetRayFileTemperature)
 Gets or sets the temperature.
 
str RayFileWavelength = property(fget=__GetRayFileWavelength, fset=__SetRayFileWavelength)
 Gets or sets the wavelength.
 
str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
 Gets or sets the ray length.
 
str SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath)
 Gets or sets the spectrum file path.
 
- 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.
 
str Status = property(fget=__GetStatus)
 Returns the status of the feature being edited.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Properties inherited from FeatureBuilder
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Properties inherited from Builder
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Additional Inherited Members

- Public Member Functions inherited from FeatureBuilder
'None' ShowResult (self)
 Updates the feature to reflect the result of an edit to the feature for all builders that support showing results.
 
- Public Member Functions inherited from Builder
'None' Commit (self)
 Commits any edits that have been applied to the builder.
 

Detailed Description

Represents a Speos pattern builder.

The Speos pattern builder is used to create and edit Speos pattern features.

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

Member Data Documentation

◆ NumberOfRay

str NumberOfRay = property(fget=__GetNumberOfRay, fset=__SetNumberOfRay)
static

Gets or sets the number of rays.

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

The default value is 100.

◆ OneLayerPerInstance

str OneLayerPerInstance = property(fget=__GetOneLayerPerInstance, fset=__SetOneLayerPerInstance)
static

Gets or sets the property to enable/disable one layer per instance.

True: Enables one layer per instance.
False: Disables one layer per instance.

Prerequisite: The Pattern file must be a Lightbox file.

Value type: Boolean.

The default value is True.

◆ OneLayerPerSource

str OneLayerPerSource = property(fget=__GetOneLayerPerSource, fset=__SetOneLayerPerSource)
static

Gets or sets the property to enable/disable one layer per source.

True: Enables one layer per source.
False: Disables one layer per source.

Value type: Boolean.

The default value is False.

◆ Origins

str Origins = property(fget=__GetOrigins, fset=__SetOrigins)
static

Gets or sets the origin coordinate systems.

This property takes/returns a list of NX Datum System feature tags.

Value type: List of integer (NX Tags).

The default value is an empty list.

◆ PatternFilePassword

str PatternFilePassword = property(fset=__SetPatternFilePassword)
static

Sets the pattern file password.

Prerequisite: The Pattern file must be a Lightbox file.

Value type: String.

The default value is an empty string.

◆ PatternFilePath

str PatternFilePath = property(fget=__GetPatternFilePath, fset=__SetPatternFilePath)
static

Gets or sets the property pattern file path.

Value type: String.

The default value is an empty file path (string).

◆ PreviewMode

str PreviewMode = property(fget=__GetPreviewMode, fset=__SetPreviewMode)
static

Gets or sets the preview mode.

The values are:
0 - Meshing.
1 - BoundingBox.

Value type: Integer.

The default value is Meshing (0).

◆ RayFileData

str RayFileData = property(fget=__GetRayFileData)
static

Returns the ray file data object.

Value type: CRayFileData.
This object allows to read data from a ray file.

◆ RayFileFlux

str RayFileFlux = property(fget=__GetRayFileFlux, fset=__SetRayFileFlux)
static

Gets or sets the flux of the ray file source.

Prerequisite: The Pattern file must be a ray file.

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

By default the value comes from the ray file, otherwise value is 683. lumen.

◆ RayFileFluxFromFile

str RayFileFluxFromFile = property(fget=__GetRayFileFluxFromFile, fset=__SetRayFileFluxFromFile)
static

Gets or sets the property to enable fetching the flux from file.

True: Enables fetching the flux from file.
False: Disables fetching the flux from file.

Value type: Boolean.

The default value is True.

◆ RayFileFluxUnit

str RayFileFluxUnit = property(fget=__GetRayFileFluxUnit, fset=__SetRayFileFluxUnit)
static

Gets or sets the flux unit of the ray file source.

Prerequisite: The Pattern file must be a ray file.
The values are:
0 - lumen (lm).
1 - watt (W).

Value type: Integer.

The default value is 0.

◆ RayFileSpectrumType

str RayFileSpectrumType = property(fget=__GetRayFileSpectrumType, fset=__SetRayFileSpectrumType)
static

Gets or sets the spectrum type.

The values are:
0 - Monochromatic, with this value the wavelength property is available.
1 - Blackbody, with this value the temperature property is available.
2 - Library, with this value the spectrum file property is available.

Value type: Integer.

The default value is 0.

◆ RayFileTemperature

str RayFileTemperature = property(fget=__GetRayFileTemperature, fset=__SetRayFileTemperature)
static

Gets or sets the temperature.

Prerequisite: The SpectrumType must be 0.

Value type: double (in Kelvin).
Range: The value must be superior to 0.0.

The default value is 2856.0 K.

◆ RayFileWavelength

str RayFileWavelength = property(fget=__GetRayFileWavelength, fset=__SetRayFileWavelength)
static

Gets or sets the wavelength.

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

The default value is 555.0 nm.

◆ RayLength

str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
static

Gets or sets the ray length.

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

The default value is 75.0 mm.

◆ SpectrumFilePath

str SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath)
static

Gets or sets the spectrum file path.

Prerequisite: The SpectrumType must be 1.

Value type: String.

The default value is an empty string.


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

Connect with Ansys