Modifier and Type | Method and Description |
---|---|
void |
addMaster(Part motionPart,
NXObject masterPart)
Creates a new
Component in this motion simulation assembly as master part
License requirements: mechanisms ("MECHANISMS") Created in NX12.0.0 |
void |
addSuppressedObjectForAllSolutions(Part motionPart,
NXObject obj)
Deactivates a motion object for all solutions
License requirements: mechanisms ("MECHANISMS") . |
int |
calculateGrueblerCount(NXObject motionPart)
Calculate the gruebler count of given motion part
License requirements: None. |
AddSubmechanismBuilder |
createAddSubmechanismBuilder(NXObject part)
Returns
AddSubmechanismBuilder object
License requirements: mechanisms ("MECHANISMS") Created in NX12.0.0 |
void |
exportRecurdynSdk(String fullFileName)
Export Recurdyn sdk data, need an active solution in simulation
License requirements: mechanisms ("MECHANISMS") . |
Part |
getMasterCadPart(Part motionPart)
Gets the loaded master part in this motion simulation assembly.
|
void |
loadSimulation(NXObject masterPart,
String motionSimName)
Deprecated.
Deprecated in NX12.0.0. Use
PartCollection.openDisplay(java.lang.String) and MotionSession.initializeSimulation(nxopen.Part)
|
void |
readDeactivatedStates(NXObject sumbmechanism,
MotionSolution solution)
Copies the deactivated states of motion objects occurrences belonging to a given
submechanism from a given solution to the motion assembly.
|
void |
removeMaster(Part motionPart,
boolean deleteMotionObjects)
Removes existing master part in this motion simulation assembly
License requirements: mechanisms ("MECHANISMS") . |
void |
removeSuppressedObjectForAllSolutions(Part motionPart,
NXObject obj)
Activates a motion object for all solutions
License requirements: mechanisms ("MECHANISMS") . |
void |
renameSimulation(NXObject masterPart,
String oldMotionSimName,
String newMotionSimName)
Deprecated.
Deprecated in NX12.0.0. Use
BasePart.saveAs(java.lang.String)
|
void |
renameSubmechanism(NXObject submechanism,
String name)
Sets the custom name of the Submechanism object.
|
void |
saveSimulation(NXObject masterPart,
NXObject motionSimPart)
Deprecated.
Deprecated in NX12.0.0. Use
BasePart.save(nxopen.BasePart.SaveComponents, nxopen.BasePart.CloseAfterSave)
|
void |
saveSimulation(NXObject masterPart,
String motionSimName)
Deprecated.
Deprecated in NX12.0.0. Use
BasePart.save(nxopen.BasePart.SaveComponents, nxopen.BasePart.CloseAfterSave)
|
void |
unloadSimulation(NXObject masterPart,
NXObject motionSimPart)
Deprecated.
Deprecated in NX12.0.0. Use
BasePart.close(nxopen.BasePart.CloseWholeTree, nxopen.BasePart.CloseModified, nxopen.PartCloseResponses)
|
void |
unloadSimulation(NXObject masterPart,
String motionSimName)
Deprecated.
Deprecated in NX12.0.0. Use
BasePart.close(nxopen.BasePart.CloseWholeTree, nxopen.BasePart.CloseModified, nxopen.PartCloseResponses)
|
void saveSimulation(NXObject masterPart, String motionSimName) throws NXException, RemoteException
BasePart.save(nxopen.BasePart.SaveComponents, nxopen.BasePart.CloseAfterSave)
masterPart
- the master part objectmotionSimName
- the motion simulation part name which ready to be saved
NXException
RemoteException
void saveSimulation(NXObject masterPart, NXObject motionSimPart) throws NXException, RemoteException
BasePart.save(nxopen.BasePart.SaveComponents, nxopen.BasePart.CloseAfterSave)
masterPart
- the master part objectmotionSimPart
- the motion simulation part which ready to be saved
NXException
RemoteException
void loadSimulation(NXObject masterPart, String motionSimName) throws NXException, RemoteException
PartCollection.openDisplay(java.lang.String)
and MotionSession.initializeSimulation(nxopen.Part)
masterPart
- the master part objectmotionSimName
- the motion simulation name to load
NXException
RemoteException
void unloadSimulation(NXObject masterPart, String motionSimName) throws NXException, RemoteException
BasePart.close(nxopen.BasePart.CloseWholeTree, nxopen.BasePart.CloseModified, nxopen.PartCloseResponses)
masterPart
- the master part objectmotionSimName
- the motion simulation name to unload
NXException
RemoteException
void unloadSimulation(NXObject masterPart, NXObject motionSimPart) throws NXException, RemoteException
BasePart.close(nxopen.BasePart.CloseWholeTree, nxopen.BasePart.CloseModified, nxopen.PartCloseResponses)
masterPart
- the master part objectmotionSimPart
- the motion simulation to unload
NXException
RemoteException
void renameSimulation(NXObject masterPart, String oldMotionSimName, String newMotionSimName) throws NXException, RemoteException
BasePart.saveAs(java.lang.String)
masterPart
- the master part objectoldMotionSimName
- the motion simulation part name which ready to be renamednewMotionSimName
- the new motion simulation part name
NXException
RemoteException
int calculateGrueblerCount(NXObject motionPart) throws NXException, RemoteException
motionPart
- motion part objectNXException
RemoteException
void exportRecurdynSdk(String fullFileName) throws NXException, RemoteException
fullFileName
- full name with directory and extensionNXException
RemoteException
void addMaster(Part motionPart, NXObject masterPart) throws NXException, RemoteException
Component
in this motion simulation assembly as master part
motionPart
- the motion part to add master part into itmasterPart
- the master part to be added, it can be a part occurrence tag or part tagNXException
RemoteException
void removeMaster(Part motionPart, boolean deleteMotionObjects) throws NXException, RemoteException
motionPart
- the motion part to remove master part from itdeleteMotionObjects
- the tag whether to keep or delete motion objects referencing master partNXException
RemoteException
Part getMasterCadPart(Part motionPart) throws NXException, RemoteException
motionPart
- the motion part to remove master part from itNXException
RemoteException
void renameSubmechanism(NXObject submechanism, String name) throws NXException, RemoteException
submechanism
- name
- NXException
RemoteException
void readDeactivatedStates(NXObject sumbmechanism, MotionSolution solution) throws NXException, RemoteException
sumbmechanism
- submechanism child of current root partsolution
- the solution, from the submechanism part, from which the deactivated states are readNXException
RemoteException
AddSubmechanismBuilder createAddSubmechanismBuilder(NXObject part) throws NXException, RemoteException
AddSubmechanismBuilder
object
part
- the part objectAddSubmechanismBuilder
objectNXException
RemoteException
void addSuppressedObjectForAllSolutions(Part motionPart, NXObject obj) throws NXException, RemoteException
motionPart
- obj
- NXException
RemoteException
void removeSuppressedObjectForAllSolutions(Part motionPart, NXObject obj) throws NXException, RemoteException
motionPart
- obj
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.