SeamWeld Class¶
-
class
NXOpen.CAE.Connections.
SeamWeld
¶ Bases:
NXOpen.CAE.Connections.IConnection
,NXOpen.CAE.Connections.IMaterial
,NXOpen.CAE.Connections.ITolerance
,NXOpen.CAE.Connections.IHeight
,NXOpen.CAE.Connections.IFlangesContainer
,NXOpen.CAE.Connections.ILocationsContainer
,NXOpen.CAE.Connections.ILineOffset
,NXOpen.CAE.Connections.ILineDiscretization
,NXOpen.CAE.Connections.IWidth
,NXOpen.CAE.Connections.ILocationsWithDiscretizationContainer
Seam Weld connection.
Use this interface to set/get properties and parameters of the spot weld connection. To obtain an instance of this object use the connection creators on the
CAE.Connections.Folder
New in version NX12.0.0.
Properties¶
Property | Description |
---|---|
Color | Returns or sets the color of the object. |
DistanceFromStart | Returns the line Discretization distance from start |
DistanceToEnd | Returns the line Discretization distance to end |
Height | Returns the height value |
HeightType | Returns or sets the height type |
IsBlanked | Returns the blank status of this object. |
IsOccurrence | Returns whether this object is an occurrence or not. |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
Layer | Returns or sets the layer that the object is in. |
LengthStep | Returns the line Discretization length step |
LineFont | Returns or sets the line font of the object. |
LineWidth | Returns or sets the line width of the object. |
Material | Returns or sets the connection material |
MaxAngleBetweenNormals | Returns the maximum angle of normals with the projection surface |
MaxDistCGToElemCG | Returns the maximum distance from definition point to center of support element |
MaxLengthStep | Returns the line Discretization max length step |
MaxNormalDistCGToFlanges | Returns the maximum normal distance from definition point to center of element |
Name | Returns the custom name of the object. |
NameLocation | Returns the location of the object’s name. |
NumberOfFlanges | Returns or sets the number of flanges. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
ProjectTolerance | Returns the projection tolerance |
Prototype | Returns the prototype of this object if it is an occurrence. |
SeamWeldType | Returns or sets the seam weld type |
Tag | Returns the Tag for this object. |
UseMaxLengthStep | Returns or sets the usage of max length stepype |
UseOriginalNodesOfConnection | Returns or sets the usage of original nodes of connection |
UserDescription | Returns or sets the connection user description |
Width | Returns the width value |
Methods¶
Method | Description |
---|---|
AddFlangeEntities | Add entities to flange. |
AddLocationCurve | Adds a curve location to connection location list |
AddLocationFeEdges | Adds Fe Edges to connection location list |
AddLocationSeriesOfCoordinates | Adds a series of coordinates location to connection location list |
AddLocationSeriesOfNodes | Adds a series of nodes location to connection location list |
AddLocationSeriesOfPoints | Adds a series of points location to connection location list |
Blank | Blanks the object. |
CanHaveNoMaterial | Use this function to check if the connction supports having no material |
CanInheritMaterial | Use this function to check if the connction supports inherited material |
ConvertLocationToCoordinatesType | Convert a location to coordinates. |
CreateAttributeIterator | Create an attribute iterator |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetFlangeEntities | Gets entities from flange. |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetLocation | Get a node location to connection location list |
GetMaxNumberOfFlanges | Retrieve the max number of flanges supported by this connection |
GetMinNumberOfFlanges | Retrieve the minimmum number of flanges supported by this connection |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetNumberOfDefinitions | Gets the number of line offset definitions |
GetNumberOfLocations | Get a node location to connection location list |
GetOffsetDistance | Gets the line offset distance |
GetOffsetVector | Gets the line offset vector |
GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetStringAttribute | Gets a string attribute value by title. |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetSupportedHeightTypes | Gets supported height types of connection. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
Highlight | Highlights the object. |
IsInheritedMaterial | Use this function to check if the connection inherits material from flanges |
MoveLocation | Move the location by number of positions |
Prints a representation of this object to the system log file. | |
RedisplayObject | Redisplays the object in all views. |
RemoveFlangeEntities | Remove entities from flange. |
RemoveLocation | Remove a location from connection location list |
RemoveViewDependency | Remove dependency on all views from an object. |
SetAttribute | Creates or modifies an integer attribute. |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetInheritedMaterial | Use this function to set inherited material to connection |
SetName | Sets the custom name of the object. |
SetNameLocation | Sets the location of the object’s name. |
SetOffsetVector | Sets the line offset vector |
SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Unblank | Unblanks the object. |
Unhighlight | Unhighlights the object. |
Property Detail¶
DistanceFromStart¶
-
SeamWeld.
DistanceFromStart
¶ Returns the line Discretization distance from start
-------------------------------------
Getter Method
Signature
DistanceFromStart
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
DistanceToEnd¶
-
SeamWeld.
DistanceToEnd
¶ Returns the line Discretization distance to end
-------------------------------------
Getter Method
Signature
DistanceToEnd
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
Height¶
-
SeamWeld.
Height
¶ Returns the height value
-------------------------------------
Getter Method
Signature
Height
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
HeightType¶
-
SeamWeld.
HeightType
¶ Returns or sets the height type
-------------------------------------
Getter Method
Signature
HeightType
Returns: Return type: NXOpen.CAE.Connections.HeightType
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HeightType
Parameters: heightType ( NXOpen.CAE.Connections.HeightType
) – Diameter typeNew in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
IsOccurrence¶
-
SeamWeld.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
SeamWeld.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
LengthStep¶
-
SeamWeld.
LengthStep
¶ Returns the line Discretization length step
-------------------------------------
Getter Method
Signature
LengthStep
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
Material¶
-
SeamWeld.
Material
¶ Returns or sets the connection material
-------------------------------------
Getter Method
Signature
Material
Returns: The connection material Return type: NXOpen.PhysicalMaterial
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Material
Parameters: material ( NXOpen.PhysicalMaterial
) – The connection materialNew in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
MaxAngleBetweenNormals¶
-
SeamWeld.
MaxAngleBetweenNormals
¶ Returns the maximum angle of normals with the projection surface
-------------------------------------
Getter Method
Signature
MaxAngleBetweenNormals
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
MaxDistCGToElemCG¶
-
SeamWeld.
MaxDistCGToElemCG
¶ Returns the maximum distance from definition point to center of support element
-------------------------------------
Getter Method
Signature
MaxDistCGToElemCG
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
MaxLengthStep¶
-
SeamWeld.
MaxLengthStep
¶ Returns the line Discretization max length step
-------------------------------------
Getter Method
Signature
MaxLengthStep
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
MaxNormalDistCGToFlanges¶
-
SeamWeld.
MaxNormalDistCGToFlanges
¶ Returns the maximum normal distance from definition point to center of element
-------------------------------------
Getter Method
Signature
MaxNormalDistCGToFlanges
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
Name¶
-
SeamWeld.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
NumberOfFlanges¶
-
SeamWeld.
NumberOfFlanges
¶ Returns or sets the number of flanges.
When changing the number of flanges this is not applied till an update is performed by calling
Update.DoUpdate()
-------------------------------------
Getter Method
Signature
NumberOfFlanges
Returns: Return type: int New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NumberOfFlanges
Parameters: numberOfFlanges (int) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
OwningComponent¶
-
SeamWeld.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
SeamWeld.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
ProjectTolerance¶
-
SeamWeld.
ProjectTolerance
¶ Returns the projection tolerance
-------------------------------------
Getter Method
Signature
ProjectTolerance
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
Prototype¶
-
SeamWeld.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
SeamWeldType¶
-
SeamWeld.
SeamWeldType
¶ Returns or sets the seam weld type
-------------------------------------
Getter Method
Signature
SeamWeldType
Returns: Return type: NXOpen.CAE.Connections.SeamWeldType
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SeamWeldType
Parameters: seamWeldType ( NXOpen.CAE.Connections.SeamWeldType
) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
UseMaxLengthStep¶
-
SeamWeld.
UseMaxLengthStep
¶ Returns or sets the usage of max length stepype
-------------------------------------
Getter Method
Signature
UseMaxLengthStep
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseMaxLengthStep
Parameters: use (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
UseOriginalNodesOfConnection¶
-
SeamWeld.
UseOriginalNodesOfConnection
¶ Returns or sets the usage of original nodes of connection
-------------------------------------
Getter Method
Signature
UseOriginalNodesOfConnection
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseOriginalNodesOfConnection
Parameters: use (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Width¶
-
SeamWeld.
Width
¶ Returns the width value
-------------------------------------
Getter Method
Signature
Width
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
Method Detail¶
AddFlangeEntities¶
-
SeamWeld.
AddFlangeEntities
¶ Add entities to flange.
Changes are not applied till an update is performed by calling
Update.DoUpdate()
Signature
AddFlangeEntities(flangeIndex, entities)
Parameters: - flangeIndex (int) –
- entities (list of
NXOpen.TaggedObject
) – Flange entities
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AddLocationCurve¶
-
SeamWeld.
AddLocationCurve
¶ Adds a curve location to connection location list
Signature
AddLocationCurve(indexOfDefinition, curve)
Parameters: - indexOfDefinition (int) –
- curve (
NXOpen.IBaseCurve
) – Curve used for location creation
Returns: The created curve type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AddLocationFeEdges¶
-
SeamWeld.
AddLocationFeEdges
¶ Adds Fe Edges to connection location list
Signature
AddLocationFeEdges(indexOfDefinition, edges)
Parameters: - indexOfDefinition (int) –
- edges (list of
NXOpen.CAE.FEElemEdge
) – Edges used for location
Returns: The created edge group type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AddLocationSeriesOfCoordinates¶
-
SeamWeld.
AddLocationSeriesOfCoordinates
¶ Adds a series of coordinates location to connection location list
Signature
AddLocationSeriesOfCoordinates(indexOfDefinition, coordinates)
Parameters: - indexOfDefinition (int) –
- coordinates (list of
NXOpen.Point3d
) – The location coordinates
Returns: The coord series type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AddLocationSeriesOfNodes¶
-
SeamWeld.
AddLocationSeriesOfNodes
¶ Adds a series of nodes location to connection location list
Signature
AddLocationSeriesOfNodes(indexOfDefinition, nodes)
Parameters: - indexOfDefinition (int) – The index of definition
- nodes (list of
NXOpen.CAE.FENode
) – Nodes used for location
Returns: The node series type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AddLocationSeriesOfPoints¶
-
SeamWeld.
AddLocationSeriesOfPoints
¶ Adds a series of points location to connection location list
Signature
AddLocationSeriesOfPoints(indexOfDefinition, points)
Parameters: - indexOfDefinition (int) – The index of definition
- points (list of
NXOpen.Point
) – Points used for location
Returns: The point series type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CanHaveNoMaterial¶
-
SeamWeld.
CanHaveNoMaterial
¶ Use this function to check if the connction supports having no material
Signature
CanHaveNoMaterial()
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
CanInheritMaterial¶
-
SeamWeld.
CanInheritMaterial
¶ Use this function to check if the connction supports inherited material
Signature
CanInheritMaterial()
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
ConvertLocationToCoordinatesType¶
-
SeamWeld.
ConvertLocationToCoordinatesType
¶ Convert a location to coordinates.
The location is given by its index
Signature
ConvertLocationToCoordinatesType(indexOfDefinition, index)
Parameters: - indexOfDefinition (int) – The index of definition
- index (int) – The location index
Returns: The created coordinates type location
Return type: New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
FindObject¶
-
SeamWeld.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetFlangeEntities¶
-
SeamWeld.
GetFlangeEntities
¶ Gets entities from flange.
These can be meshes, elements, groups.
Signature
GetFlangeEntities(flangeIndex)
Parameters: flangeIndex (int) – Returns: Flange entities Return type: list of NXOpen.TaggedObject
New in version NX12.0.0.
License requirements: None.
GetLocation¶
-
SeamWeld.
GetLocation
¶ Get a node location to connection location list
Signature
GetLocation(indexOfDefinition, indexOfLocation)
Parameters: - indexOfDefinition (int) – The index of definition
- indexOfLocation (int) – The location index
Returns: The location
Return type: New in version NX12.0.0.
License requirements: None.
GetMaxNumberOfFlanges¶
-
SeamWeld.
GetMaxNumberOfFlanges
¶ Retrieve the max number of flanges supported by this connection
Signature
GetMaxNumberOfFlanges()
Returns: Return type: int New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GetMinNumberOfFlanges¶
-
SeamWeld.
GetMinNumberOfFlanges
¶ Retrieve the minimmum number of flanges supported by this connection
Signature
GetMinNumberOfFlanges()
Returns: Return type: int New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GetNumberOfDefinitions¶
-
SeamWeld.
GetNumberOfDefinitions
¶ Gets the number of line offset definitions
Signature
GetNumberOfDefinitions()
Returns: The number of definitions Return type: int New in version NX12.0.0.
License requirements: None.
GetNumberOfLocations¶
-
SeamWeld.
GetNumberOfLocations
¶ Get a node location to connection location list
Signature
GetNumberOfLocations(indexOfDefinition)
Parameters: indexOfDefinition (int) – The index of definition Returns: The number of locations Return type: int New in version NX12.0.0.
License requirements: None.
GetOffsetDistance¶
-
SeamWeld.
GetOffsetDistance
¶ Gets the line offset distance
Signature
GetOffsetDistance(lindeDefinitionIndex)
Parameters: lindeDefinitionIndex (int) – Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
GetOffsetVector¶
-
SeamWeld.
GetOffsetVector
¶ Gets the line offset vector
Signature
GetOffsetVector(lindeDefinitionIndex)
Parameters: lindeDefinitionIndex (int) – Returns: Return type: NXOpen.Direction
New in version NX12.0.0.
License requirements: None.
GetSupportedHeightTypes¶
-
SeamWeld.
GetSupportedHeightTypes
¶ Gets supported height types of connection.
Signature
GetSupportedHeightTypes()
Returns: Supported CSys Types Return type: list of NXOpen.CAE.Connections.HeightType
New in version NX12.0.0.
License requirements: None.
IsInheritedMaterial¶
-
SeamWeld.
IsInheritedMaterial
¶ Use this function to check if the connection inherits material from flanges
Signature
IsInheritedMaterial()
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
MoveLocation¶
-
SeamWeld.
MoveLocation
¶ Move the location by number of positions
Signature
MoveLocation(indexOfDefinition, indexOfLocation, numberOfPositions)
Parameters: - indexOfDefinition (int) – The index of definition
- indexOfLocation (int) – The index of location
- numberOfPositions (int) – The number of positions to move the location
Returns: The operation result
Return type: bool
New in version NX12.0.0.
License requirements: None.
Print¶
-
SeamWeld.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
RemoveFlangeEntities¶
-
SeamWeld.
RemoveFlangeEntities
¶ Remove entities from flange.
Changes are not applied till an update is performed by calling
Update.DoUpdate()
Signature
RemoveFlangeEntities(flangeIndex, entities)
Parameters: - flangeIndex (int) –
- entities (list of
NXOpen.TaggedObject
) – Flange entities
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
RemoveLocation¶
-
SeamWeld.
RemoveLocation
¶ Remove a location from connection location list
Signature
RemoveLocation(indexOfDefinition, indexOfLocation)
Parameters: - indexOfDefinition (int) – The index of definition
- indexOfLocation (int) – The location index
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SetInheritedMaterial¶
-
SeamWeld.
SetInheritedMaterial
¶ Use this function to set inherited material to connection
Signature
SetInheritedMaterial()
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SetName¶
-
SeamWeld.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.
SetOffsetVector¶
-
SeamWeld.
SetOffsetVector
¶ Sets the line offset vector
Signature
SetOffsetVector(lindeDefinitionIndex, offsetvector)
Parameters: - lindeDefinitionIndex (int) –
- offsetvector (
NXOpen.Direction
) –
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)