WeldCollection Class¶
-
class
NXOpen.Annotations.
WeldCollection
¶ Bases:
object
Represents a collection of
NXOpen.Annotations.Weld
objectsTo obtain an instance of this class, refer to
NXOpen.Annotations.AnnotationManager
New in version NX4.0.0.
Methods¶
Method | Description |
---|---|
CreateLineWeld | Creates a line weld. |
CreateLineWeldBuilder | Creates a NXOpen.Annotations.LineWeldBuilder @return |
CreatePmiLineWeld | Creates a PMI line weld. |
CreatePmiLineWeldBuilder | Creates a NXOpen.Annotations.PmiLineWeldBuilder @return |
NewLineWeldData | Creates new LineWeldData object. |
Method Detail¶
CreateLineWeld¶
-
WeldCollection.
CreateLineWeld
¶ Creates a line weld.
Signature
CreateLineWeld(lineWeldData, origin, leader)
Parameters: - lineWeldData (
NXOpen.Annotations.LineWeldData
) – - origin (
NXOpen.Point3d
) – Origin for the line weld - leader (
NXOpen.Annotations.LeaderBundle
) – Specifies the leaders for the line weld
Returns: New line weld
Return type: New in version NX4.0.0.
License requirements: drafting (“DRAFTING”)
- lineWeldData (
CreateLineWeldBuilder¶
-
WeldCollection.
CreateLineWeldBuilder
¶ Creates a
NXOpen.Annotations.LineWeldBuilder
Signature
CreateLineWeldBuilder(weld)
Parameters: weld ( NXOpen.Annotations.LineWeld
) –Returns: Return type: NXOpen.Annotations.LineWeldBuilder
New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
CreatePmiLineWeld¶
-
WeldCollection.
CreatePmiLineWeld
¶ Creates a PMI line weld.
Signature
CreatePmiLineWeld(lineWeldData, pmiData, annotationPlane, origin, leader)
Parameters: - lineWeldData (
NXOpen.Annotations.LineWeldData
) – - pmiData (
NXOpen.Annotations.PmiData
) – PMI data - annotationPlane (
NXOpen.Xform
) – Annotation plane on which the line weld lies - origin (
NXOpen.Point3d
) – Origin for the line weld - leader (
NXOpen.Annotations.LeaderBundle
) – Specifies the leaders for the line weld
Returns: New PMI line weld
Return type: New in version NX4.0.0.
License requirements: geometric_tol (“GDT”)
- lineWeldData (
CreatePmiLineWeldBuilder¶
-
WeldCollection.
CreatePmiLineWeldBuilder
¶ Creates a
NXOpen.Annotations.PmiLineWeldBuilder
Signature
CreatePmiLineWeldBuilder(weld)
Parameters: weld ( NXOpen.Annotations.PmiLineWeld
) –Returns: Return type: NXOpen.Annotations.PmiLineWeldBuilder
New in version NX6.0.0.
License requirements: geometric_tol (“GDT”)
NewLineWeldData¶
-
WeldCollection.
NewLineWeldData
¶ Creates new LineWeldData object.
Signature
NewLineWeldData()
Returns: New LineWeldData Return type: NXOpen.Annotations.LineWeldData
New in version NX4.0.0.
License requirements: None.