ModelPlantManager Class¶
-
class
NXOpen.LineDesigner.
ModelPlantManager
¶ Bases:
object
Represents a manager of line designer model
Use the static method in this class to obtain an instance.
New in version NX9.0.0.
Methods¶
Method | Description |
---|---|
ActivatePlantModel | Activate Plant Model |
CleanPlantModel | Clean Plant Model |
GetModelPlantRoot | Establish Plant Model Root |
MoveResourceInstances | Move Resource Instances |
ObsoleteProductionUnit | Obsolete Production Unit |
ReadPlantModel | Read Plant Model |
RestoreTargetProductionUnit | Restore Target Production Unit |
SetTargetProductionUnit | Set Target Production Unit |
Method Detail¶
ActivatePlantModel¶
-
ModelPlantManager.
ActivatePlantModel
¶ Activate Plant Model
Signature
ActivatePlantModel(modelPlantRoot, activate)
Parameters: - modelPlantRoot (
NXOpen.LineDesigner.ModelPlantRoot
) – - activate (bool) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- modelPlantRoot (
CleanPlantModel¶
-
ModelPlantManager.
CleanPlantModel
¶ Clean Plant Model
Signature
CleanPlantModel(modelPlantRoot)
Parameters: modelPlantRoot ( NXOpen.LineDesigner.ModelPlantRoot
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
GetModelPlantRoot¶
-
ModelPlantManager.
GetModelPlantRoot
¶ Establish Plant Model Root
Signature
GetModelPlantRoot()
Returns: Return type: NXOpen.LineDesigner.ModelPlantRoot
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
MoveResourceInstances¶
-
ModelPlantManager.
MoveResourceInstances
¶ Move Resource Instances
Signature
MoveResourceInstances(modelPlantRoot, resourceInstances, newParent)
Parameters: - modelPlantRoot (
NXOpen.LineDesigner.ModelPlantRoot
) – - resourceInstances (list of
NXOpen.LineDesigner.ModelResourceInstance
) – - newParent (
NXOpen.LineDesigner.ModelBaseObject
) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- modelPlantRoot (
ObsoleteProductionUnit¶
-
ModelPlantManager.
ObsoleteProductionUnit
¶ Obsolete Production Unit
Signature
ObsoleteProductionUnit(modelPlantRoot, productionUnitToObsolete)
Parameters: - modelPlantRoot (
NXOpen.LineDesigner.ModelPlantRoot
) – - productionUnitToObsolete (
NXOpen.LineDesigner.ModelProductionUnit
) –
New in version NX11.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- modelPlantRoot (
ReadPlantModel¶
-
ModelPlantManager.
ReadPlantModel
¶ Read Plant Model
Signature
ReadPlantModel(modelPlantRoot)
Parameters: modelPlantRoot ( NXOpen.LineDesigner.ModelPlantRoot
) –Returns: Return type: NXOpen.NXObject
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
RestoreTargetProductionUnit¶
-
ModelPlantManager.
RestoreTargetProductionUnit
¶ Restore Target Production Unit
Signature
RestoreTargetProductionUnit(modelPlantRoot)
Parameters: modelPlantRoot ( NXOpen.LineDesigner.ModelPlantRoot
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
SetTargetProductionUnit¶
-
ModelPlantManager.
SetTargetProductionUnit
¶ Set Target Production Unit
Signature
SetTargetProductionUnit(modelPlantRoot, productionUnit, keep)
Parameters: - modelPlantRoot (
NXOpen.LineDesigner.ModelPlantRoot
) – - productionUnit (
NXOpen.LineDesigner.ModelProductionUnit
) – - keep (bool) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
- modelPlantRoot (