WeldDebugSession Class

class NXOpen.WeldDebugSession

Bases: object

Represents a class that is used for NX WELD Autotest.

This class should not be made available to customers To obtain an instance of this class, refer to NXOpen.DebugSession

New in version NX11.0.2.

Methods

Method Description
CreateWeldValidator Create a weld validation object.
PopulateValidators Create the validators for each weld feature found.

Method Detail

CreateWeldValidator

WeldDebugSession.CreateWeldValidator

Create a weld validation object.

Doubles will have the following tolerances assigned: if 0.0, then always uses absolute tolerance. If not equal to 0.0, then use relative tolerance unless the isAbsoluteTolerance is true.

Signature CreateWeldValidator(displayPart, featMask, absoluteTolerance, relativeTolerance, isAbsoluteTolerance)

Parameters:
  • displayPart (NXOpen.BasePart) – part being validated
  • featMask (int) –
  • absoluteTolerance (float) –
  • relativeTolerance (float) –
  • isAbsoluteTolerance (bool) –
Returns:

created validator

Return type:

NXOpen.WeldBaseValidator

New in version NX11.0.2.

License requirements: None.

PopulateValidators

WeldDebugSession.PopulateValidators

Create the validators for each weld feature found.

Signature PopulateValidators(mainValidator)

Parameters:mainValidator (NXOpen.WeldBaseValidator) – main weld validator
Returns:created validators
Return type:list of NXOpen.WeldBaseValidator

New in version NX11.0.2.

License requirements: None.