MechatronicsManager Class

class NXOpen.Mechatronics.MechatronicsManager

Bases: object

Contains the collection objects for creating and iterating over Mechatronics Designer System Navigator objects.

To obtain an instance of this class, refer to NXOpen.Part

New in version NX7.5.1.

FunctionObjectCollection”, “Returns the FunctionObjectCollection instance belonging to this part ” “LogicObjectCollection”, “Returns the LogicObjectCollection instance belonging to this part ” “RequirementCollection”, “Returns the RequirementCollection instance belonging to this part ” “ElectricalPartCollection”, “Returns the ElectricalPartCollection instance belonging to this part “

Methods

Method Description
AddExistingFunction Adds existing function as children of specified object.
AddExistingLogical Adds existing logical as children of specified object.
AddExistingRequirement Adds existing requirement as children of specified object.
CopySystemObject Copies the system engeering objects to the clipboard.
CreateDependencyCreatorBuilder Creates a NXOpen.Mechatronics.DependencyCreatorBuilder object.
CreateSystemRoot Creates a system root object in specified part.
CutSystemObject Cuts the system engeering objects.
ExportModel Exports function and(or) logical model to XML file.
GetSystemRoot Gets the system root object in the specified part.
ImportModel Imports function and(or) logical model via XML file.
LoadAsSaved Loads the data models as saved in last time.
LogEntityToDelete Log entity to delete.
OpenFunctionModel Opens the specified function model.
OpenLogicalModel Opens the specified logical model.
OpenRequirementModel Opens the specified requirement model.
PasteSystemObject Pastes the system engeering objects from the clipboard.
PasteTraceLink Adds existing requirement as tracelink of specified object.
RefreshFromTeamcenter Refreshes function and(or) logical model from teamcenter.
SaveToTeamcenter Saves the data model to teamcenter.

FunctionObjectCollection

MechatronicsManager.FunctionObjectCollection

Returns the FunctionObjectCollection instance belonging to this part

Signature FunctionObjectCollection

New in version NX7.5.0.

Returns:
Return type:NXOpen.Mechatronics.FunctionObjectCollection

LogicObjectCollection

MechatronicsManager.LogicObjectCollection

Returns the LogicObjectCollection instance belonging to this part

Signature LogicObjectCollection

New in version NX8.5.0.

Returns:
Return type:NXOpen.Mechatronics.LogicObjectCollection

RequirementCollection

MechatronicsManager.RequirementCollection

Returns the RequirementCollection instance belonging to this part

Signature RequirementCollection

New in version NX8.5.0.

Returns:
Return type:NXOpen.Mechatronics.RequirementCollection

ElectricalPartCollection

MechatronicsManager.ElectricalPartCollection

Returns the ElectricalPartCollection instance belonging to this part

Signature ElectricalPartCollection

New in version NX9.0.0.

Returns:
Return type:NXOpen.Mechatronics.ElectricalPartCollection

Method Detail

AddExistingFunction

MechatronicsManager.AddExistingFunction

Adds existing function as children of specified object.

Signature AddExistingFunction(object, itemMFKID, instanceName)

Parameters:
  • object (NXOpen.Mechatronics.SystemObject) – The parent object
  • itemMFKID (str) – The Item MFK ID of child function item
  • instanceName (str) – The instance name of child function item

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

AddExistingLogical

MechatronicsManager.AddExistingLogical

Adds existing logical as children of specified object.

Signature AddExistingLogical(object, itemMFKID, instanceName)

Parameters:
  • object (NXOpen.Mechatronics.SystemObject) – The parent object
  • itemMFKID (str) – The Item MFK ID of child logical item
  • instanceName (str) – The instance name of child logical item

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

AddExistingRequirement

MechatronicsManager.AddExistingRequirement

Adds existing requirement as children of specified object.

Signature AddExistingRequirement(object, itemMFKID, instanceName)

Parameters:
  • object (NXOpen.Mechatronics.SystemObject) – The parent object
  • itemMFKID (str) – The Item MFK ID of child requirement item
  • instanceName (str) – The instance name of child requirement item

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

CopySystemObject

MechatronicsManager.CopySystemObject

Copies the system engeering objects to the clipboard.

Signature CopySystemObject(objects)

Parameters:objects (list of NXOpen.Mechatronics.SystemObject) – The objects to be copied

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

CreateDependencyCreatorBuilder

MechatronicsManager.CreateDependencyCreatorBuilder

Creates a NXOpen.Mechatronics.DependencyCreatorBuilder object.

Signature CreateDependencyCreatorBuilder()

Returns:DependencyCreator Builder
Return type:NXOpen.Mechatronics.DependencyCreatorBuilder

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

CreateSystemRoot

MechatronicsManager.CreateSystemRoot

Creates a system root object in specified part.

Signature CreateSystemRoot(rootType)

Parameters:rootType (NXOpen.Mechatronics.SystemRootType) – The type of system root
Returns:Return the system root
Return type:NXOpen.Mechatronics.SystemRoot

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

CutSystemObject

MechatronicsManager.CutSystemObject

Cuts the system engeering objects.

Signature CutSystemObject(objects)

Parameters:objects (list of NXOpen.Mechatronics.SystemObject) – The objects to be cutted

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

ExportModel

MechatronicsManager.ExportModel

Overloaded method ExportModel

  • ExportModel(path, bFunction, bLogical)
  • ExportModel(path, requirement, function, logic)

-------------------------------------

Exports function and(or) logical model to XML file.

Signature ExportModel(path, bFunction, bLogical)

Parameters:
  • path (str) –
  • bFunction (bool) –
  • bLogical (bool) –

New in version NX8.5.0.

Deprecated since version NX9.0.0: Please use another method with the same name instead.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

Exports data model to XML file.

Signature ExportModel(path, requirement, function, logic)

Parameters:
  • path (str) – The path of XML file
  • requirement (bool) – Export the Requirement Model?
  • function (bool) – Export the Function Model?
  • logic (bool) – Export the Logical Model?

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

GetSystemRoot

MechatronicsManager.GetSystemRoot

Gets the system root object in the specified part.

Signature GetSystemRoot(rootType)

Parameters:rootType (NXOpen.Mechatronics.SystemRootType) – The type of system root
Returns:Return the system root
Return type:NXOpen.Mechatronics.SystemRoot

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

ImportModel

MechatronicsManager.ImportModel

Overloaded method ImportModel

  • ImportModel(path, bFunction, bLogical)
  • ImportModel(path, overrideModel, requirement, function, logic)

-------------------------------------

Imports function and(or) logical model via XML file.

Signature ImportModel(path, bFunction, bLogical)

Parameters:
  • path (str) –
  • bFunction (bool) –
  • bLogical (bool) –

New in version NX8.5.0.

Deprecated since version NX9.0.0: Please use another method with the same name instead.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

Imports data model from XML file.

Signature ImportModel(path, overrideModel, requirement, function, logic)

Parameters:
  • path (str) – The path of XML file
  • overrideModel (bool) – Override the existing model?
  • requirement (bool) – Import the Requirement Model?
  • function (bool) – Import the Function Model?
  • logic (bool) – Import the Logical Model?

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

LoadAsSaved

MechatronicsManager.LoadAsSaved

Loads the data models as saved in last time.

Signature LoadAsSaved()

Returns:Return information if some item revisions are deleted
Return type:str

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

LogEntityToDelete

MechatronicsManager.LogEntityToDelete

Log entity to delete.

Use this method to log entity to delete if the root part is not work part.

Signature LogEntityToDelete(object)

Parameters:object (NXOpen.NXObject) –

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

OpenFunctionModel

MechatronicsManager.OpenFunctionModel

Opens the specified function model.

Signature OpenFunctionModel(itemMFKID, variantRule)

Parameters:
  • itemMFKID (str) – The Item MFK ID of root function
  • variantRule (str) – The variant rule of root function

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

OpenLogicalModel

MechatronicsManager.OpenLogicalModel

Opens the specified logical model.

Signature OpenLogicalModel(itemMFKID, variantRule)

Parameters:
  • itemMFKID (str) – The Item MFK ID of root logical
  • variantRule (str) – The variant rule of root logical

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

OpenRequirementModel

MechatronicsManager.OpenRequirementModel

Opens the specified requirement model.

Signature OpenRequirementModel(itemMFKID, variantRule)

Parameters:
  • itemMFKID (str) – The Item MFK ID of root requirement
  • variantRule (str) – The variant rule of root requirement

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

PasteSystemObject

MechatronicsManager.PasteSystemObject

Pastes the system engeering objects from the clipboard.

Signature PasteSystemObject(parent)

Parameters:parent (NXOpen.Mechatronics.SystemObject) –

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

RefreshFromTeamcenter

MechatronicsManager.RefreshFromTeamcenter

Overloaded method RefreshFromTeamcenter

  • RefreshFromTeamcenter(bFunction, bLogical)
  • RefreshFromTeamcenter(requirement, function, logic)

-------------------------------------

Refreshes function and(or) logical model from teamcenter.

Signature RefreshFromTeamcenter(bFunction, bLogical)

Parameters:
  • bFunction (bool) –
  • bLogical (bool) –

New in version NX8.5.0.

Deprecated since version NX9.0.0: Please use another method with the same name instead.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

Refreshes data model in system navigator from teamcenter.

Signature RefreshFromTeamcenter(requirement, function, logic)

Parameters:
  • requirement (bool) – Refresh the Requirement Model?
  • function (bool) – Refresh the Function Model?
  • logic (bool) – Refresh the Logical Model?

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

SaveToTeamcenter

MechatronicsManager.SaveToTeamcenter

Overloaded method SaveToTeamcenter

  • SaveToTeamcenter()
  • SaveToTeamcenter(requirement, function, logic)

-------------------------------------

Saves the data model to teamcenter.

Signature SaveToTeamcenter()

New in version NX8.5.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------

Saves the data model to teamcenter.

Signature SaveToTeamcenter(requirement, function, logic)

Parameters:
  • requirement (bool) – Save the Requirement Model?
  • function (bool) – Save the Function Model?
  • logic (bool) – Save the Logical Model?

New in version NX9.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

-------------------------------------