UINodeUtils Class¶
-
class
NXOpen.LineDesigner.
UINodeUtils
¶ Bases:
object
Represents a utils of line designer for journaling uinode methods
Use the static method in this class to obtain an instance.
New in version NX9.0.0.
Methods¶
Method | Description |
---|---|
CalculateAndSetNameOfAGAttr | Creates a DB factory Node |
GetItemRevisionName | To Get ItemRevisionName attribute value @return |
MoveConnectors | To move connectors while DnD of assembly |
Rename | To Rename partition |
SetItemRevisionName | To Set ItemRevisionName attribute value |
Method Detail¶
CalculateAndSetNameOfAGAttr¶
-
UINodeUtils.
CalculateAndSetNameOfAGAttr
¶ Creates a DB factory Node
Signature
CalculateAndSetNameOfAGAttr(attributeGroup, subAGName, resourceName)
Parameters: - attributeGroup (
NXOpen.PDM.AttributeGroup
) – - subAGName (str) –
- resourceName (str) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- attributeGroup (
GetItemRevisionName¶
-
UINodeUtils.
GetItemRevisionName
¶ To Get ItemRevisionName attribute value
Signature
GetItemRevisionName(partTag)
Parameters: partTag ( NXOpen.Part
) –Returns: Return type: str New in version NX10.0.3.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
MoveConnectors¶
-
UINodeUtils.
MoveConnectors
¶ To move connectors while DnD of assembly
Signature
MoveConnectors(partOccTag, targ, value, isNotBondConstraint)
Parameters: - partOccTag (
NXOpen.NXObject
) – - targ (
NXOpen.NXObject
) – - value (float) –
- isNotBondConstraint (bool) –
New in version NX11.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- partOccTag (
Rename¶
-
UINodeUtils.
Rename
¶ To Rename partition
Signature
Rename(objtg, newName)
Parameters: - objtg (
NXOpen.LineDesigner.ModelProductionUnit
) – - newName (str) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- objtg (
SetItemRevisionName¶
-
UINodeUtils.
SetItemRevisionName
¶ To Set ItemRevisionName attribute value
Signature
SetItemRevisionName(partTag, itemRevName)
Parameters: - partTag (
NXOpen.Part
) – - itemRevName (str) –
New in version NX10.0.3.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- partTag (