Sealing Class¶
-
class
NXOpen.CAE.Connections.
Sealing
¶ Bases:
NXOpen.CAE.Connections.IConnection
,NXOpen.CAE.Connections.ITolerance
,NXOpen.CAE.Connections.IFlangesContainer
,NXOpen.CAE.Connections.ILocationsContainer
,NXOpen.CAE.Connections.ILineOffset
,NXOpen.CAE.Connections.ILineDiscretization
,NXOpen.CAE.Connections.IStiffness
,NXOpen.CAE.Connections.ICsys
,NXOpen.CAE.Connections.ILocationsWithDiscretizationContainer
Sealing 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. |
Csys | Returns or sets the csys |
CsysType | Returns or sets the csys type |
DistanceFromStart | Returns the line Discretization distance from start |
DistanceToEnd | Returns the line Discretization distance to end |
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. |
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. |
RxStiffnessConstant | Returns the RX stiffness constant |
RyStiffnessConstant | Returns the RY stiffness constant |
RzStiffnessConstant | Returns the RZ stiffness constant |
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 |
WithOrientation | Returns or sets the target type |
XStiffnessConstant | Returns the X stiffness constant |
YStiffnessConstant | Returns the Y stiffness constant |
ZStiffnessConstant | Returns the Z stiffness constant |
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. |
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. |
GetSupportedCsysTypes | Gets supported csys 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. |
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. |
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¶
Csys¶
-
Sealing.
Csys
¶ Returns or sets the csys
-------------------------------------
Getter Method
Signature
Csys
Returns: Return type: NXOpen.CoordinateSystem
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Csys
Parameters: csys ( NXOpen.CoordinateSystem
) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CsysType¶
-
Sealing.
CsysType
¶ Returns or sets the csys type
-------------------------------------
Getter Method
Signature
CsysType
Returns: Return type: NXOpen.CAE.Connections.CsysType
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CsysType
Parameters: csysType ( NXOpen.CAE.Connections.CsysType
) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
DistanceFromStart¶
-
Sealing.
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¶
-
Sealing.
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.
IsOccurrence¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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.
MaxAngleBetweenNormals¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
ProjectTolerance
¶ Returns the projection tolerance
-------------------------------------
Getter Method
Signature
ProjectTolerance
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
Prototype¶
-
Sealing.
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.
RxStiffnessConstant¶
-
Sealing.
RxStiffnessConstant
¶ Returns the RX stiffness constant
-------------------------------------
Getter Method
Signature
RxStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
RyStiffnessConstant¶
-
Sealing.
RyStiffnessConstant
¶ Returns the RY stiffness constant
-------------------------------------
Getter Method
Signature
RyStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
RzStiffnessConstant¶
-
Sealing.
RzStiffnessConstant
¶ Returns the RZ stiffness constant
-------------------------------------
Getter Method
Signature
RzStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
UseMaxLengthStep¶
-
Sealing.
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¶
-
Sealing.
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”)
WithOrientation¶
-
Sealing.
WithOrientation
¶ Returns or sets the target type
-------------------------------------
Getter Method
Signature
WithOrientation
Returns: Orientation flag Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WithOrientation
Parameters: orientation (bool) – Orientation flag New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
XStiffnessConstant¶
-
Sealing.
XStiffnessConstant
¶ Returns the X stiffness constant
-------------------------------------
Getter Method
Signature
XStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
YStiffnessConstant¶
-
Sealing.
YStiffnessConstant
¶ Returns the Y stiffness constant
-------------------------------------
Getter Method
Signature
YStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
ZStiffnessConstant¶
-
Sealing.
ZStiffnessConstant
¶ Returns the Z stiffness constant
-------------------------------------
Getter Method
Signature
ZStiffnessConstant
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
Method Detail¶
AddFlangeEntities¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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”)
ConvertLocationToCoordinatesType¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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¶
-
Sealing.
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.
GetSupportedCsysTypes¶
-
Sealing.
GetSupportedCsysTypes
¶ Gets supported csys types of connection.
Signature
GetSupportedCsysTypes()
Returns: Supported CSys Types Return type: list of NXOpen.CAE.Connections.CsysType
New in version NX12.0.0.
License requirements: None.
MoveLocation¶
-
Sealing.
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¶
-
Sealing.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
RemoveFlangeEntities¶
-
Sealing.
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¶
-
Sealing.
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”)
SetName¶
-
Sealing.
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¶
-
Sealing.
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”)