WeldObjectBuilder Class

class NXOpen.Weld.WeldObjectBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Weld.WeldObjectBuilder class used to collect welding objects created or edited from a command.

New in version NX8.0.1.

Properties

Property Description
CommandUsed Returns the command name that was last used to create or modify features
Tag Returns the Tag for this object.

Methods

Method Description
GetFeatureInformation Gets the created and modifed features
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

WeldObjectBuilderCommandName Enumeration Commands that a callback will be invoked after dialog completion.

Structs

WeldObjectBuilderFeatureInfo_Struct Struct
Structure used to identify if each feature is newly created or edited.

Property Detail

CommandUsed

WeldObjectBuilder.CommandUsed

Returns the command name that was last used to create or modify features

-------------------------------------

Getter Method

Signature CommandUsed

Returns:command name used
Return type:NXOpen.Weld.WeldObjectBuilderCommandName

New in version NX8.0.1.

License requirements: None.

Method Detail

GetFeatureInformation

WeldObjectBuilder.GetFeatureInformation

Gets the created and modifed features

Signature GetFeatureInformation()

Returns:features created or edited
Return type:list of NXOpen.Weld.WeldObjectBuilderFeatureInfo_Struct

New in version NX8.0.1.

License requirements: None.

Validate

WeldObjectBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.