ExportWeldJointBuilder Class¶
-
class
NXOpen.Weld.
ExportWeldJointBuilder
¶ Bases:
NXOpen.Weld.ExportWeldBuilder
Represents exporting weld joints.
To create a new instance of this class, use
NXOpen.Weld.WeldManager.CreateExportWeldJointBuilder
Default values.
Property Value AttributeOrigin Object ChordalTolerance.Value 2.54 (millimeters part), 0.1 (inches part) Output IntermediateFile New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
AttributeOrigin | Returns or sets the option indicating where the attributes are read from, welding object or corresponding Design Feature. |
ChordalTolerance | Returns the minimum chordal length used to create a discrete version of the weld path, points along it will be output into xml file to represent the weld path |
ConnectedPartAttrToggle | Returns or sets the connected part attribute toggle to control if read connected part attributes from weld points |
CsvFileName | Returns or sets the CSV file name |
Output | Returns or sets the option defining where to write the output data. |
Tag | Returns the Tag for this object. |
TemplateFileName | Returns or sets the template file name |
WeldPoints | Returns the weld points to be exported to CSV file |
WorkCoordinateSystem | Returns or sets the local coordinate system used to calculate the output points on welding joint. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetConnectedPartAttributes | Get the connected part attributes of weld points @return Connected part attributes string |
GetExportedAttributes | Get the attributes of weld points to be exported to CSV file @return Exported attributes string |
GetObject | Returns the object currently being edited by this builder. |
OpenFromFile | Open a template file to update exported attributes. |
ReadAttributesFromWelds | Read attributes from selected welds and save to exported attributes and connected part attributes |
RestoreDefault | Restore default template to update exported attributes. |
SaveAsDefault | Save exported attributes as default template. |
SaveToFile | Save exported attributes to a template file. |
SetConnectedPartAttributes | Set the connected part attributes of weld points |
SetExportedAttributes | Set the attributes of weld points to be exported to CSV file |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
ChordalTolerance¶
-
ExportWeldJointBuilder.
ChordalTolerance
¶ Returns the minimum chordal length used to create a discrete version of the weld path, points along it will be output into xml file to represent the weld path
-------------------------------------
Getter Method
Signature
ChordalTolerance()
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: None.
WorkCoordinateSystem¶
-
ExportWeldJointBuilder.
WorkCoordinateSystem
¶ Returns or sets the local coordinate system used to calculate the output points on welding joint.
If no coordinate system is provided, the points will be calculated in terms of the global coordinate system.
-------------------------------------
Getter Method
Signature
WorkCoordinateSystem()
Returns: Return type: NXOpen.CoordinateSystem
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WorkCoordinateSystem(coordSystem)
Parameters: coordSystem ( NXOpen.CoordinateSystem
) –New in version NX8.5.0.
License requirements: structure_weld (“STRUCTURE WELD”)
Method Detail¶
Validate¶
-
ExportWeldJointBuilder.
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.