UINodeUtils Class¶
-
class
NXOpen.LineDesigner.UINodeUtils¶ Bases:
objectRepresents 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 | To calculate and set attribute group name |
| DeleteConstraint | To delete constraint |
| GetItemRevisionName | To get item revision name |
| GetOccurrenceName | To get occurence name |
| MoveConnectors | To move connectors while DnD of assembly |
| Rename | To rename partition |
| RenamePartition | To rename partition in new PLNAV |
| SetItemRevisionName | To set item revision name |
| SetOccurrenceName | To set occurence name |
| SetProductionUnitAsWorkPart | Set Target Production Unit |
Method Detail¶
CalculateAndSetNameOfAGAttr¶
-
UINodeUtils.CalculateAndSetNameOfAGAttr¶ To calculate and set attribute group name
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 (
DeleteConstraint¶
-
UINodeUtils.DeleteConstraint¶ To delete constraint
Signature
DeleteConstraint(constraintTag)Parameters: constraintTag ( NXOpen.NXObject) –New in version NX11.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
GetItemRevisionName¶
-
UINodeUtils.GetItemRevisionName¶ To get item revision name
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”)
GetOccurrenceName¶
-
UINodeUtils.GetOccurrenceName¶ To get occurence name
Signature
GetOccurrenceName(instanceTag)Parameters: instanceTag ( NXOpen.NXObject) –Returns: Return type: str New in version NX11.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
MoveConnectors¶
-
UINodeUtils.MoveConnectors¶ To move connectors while DnD of assembly
Signature
MoveConnectors(partOccTag, targ, value, isNotBondConstraint, isPropogationAllowed)Parameters: - partOccTag (
NXOpen.NXObject) – - targ (
NXOpen.NXObject) – - value (float) –
- isNotBondConstraint (bool) –
- isPropogationAllowed (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 (
RenamePartition¶
-
UINodeUtils.RenamePartition¶ To rename partition in new PLNAV
Signature
RenamePartition(objtg, newName)Parameters: - objtg (
NXOpen.Assemblies.Partition) – - newName (str) –
New in version NX12.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- objtg (
SetItemRevisionName¶
-
UINodeUtils.SetItemRevisionName¶ To set item revision name
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 (
SetOccurrenceName¶
-
UINodeUtils.SetOccurrenceName¶ To set occurence name
Signature
SetOccurrenceName(instanceTag, occurrenceName)Parameters: - instanceTag (
NXOpen.NXObject) – - occurrenceName (str) –
New in version NX11.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- instanceTag (
SetProductionUnitAsWorkPart¶
-
UINodeUtils.SetProductionUnitAsWorkPart¶ Set Target Production Unit
Signature
SetProductionUnitAsWorkPart(constraintTag)Parameters: constraintTag ( NXOpen.NXObject) –New in version NX12.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)