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.
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. |
CreateDependencyCreatorBuilder | Creates a NXOpen.Mechatronics.DependencyCreatorBuilder object. |
CreateSystemRoot | Creates a system root object in specified part. |
ExportModel | Exports function and(or) logical model to XML file. |
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. |
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. |
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”)
- object (
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”)
- object (
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”)
- object (
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 rootReturns: Return the system root Return type: NXOpen.Mechatronics.SystemRoot
New in version NX9.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”)
-------------------------------------
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”)
PasteTraceLink¶
-
MechatronicsManager.
PasteTraceLink
¶ Adds existing requirement as tracelink of specified object.
Signature
PasteTraceLink(object)
Parameters: object ( NXOpen.Mechatronics.SystemObject
) –New in version NX8.5.0.
Deprecated since version NX9.0.0: Please use
SystemObject.CreateTraceLink
instead.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”)
-------------------------------------