public interface MotionSolution extends NXObject
MotionSolutionBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
MotionSolution.GraphObjectResultData
This class holds the data returned from
getGraphObjectResult(nxopen.motion.Graph) |
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
addObject(NXObject object)
Deprecated.
Deprecated in NX12.0.0. Use
removeSuppressedObject(nxopen.NXObject)
|
void |
addSuppressedObject(NXObject object)
Adds a suppressed object to a solution
License requirements: mechanisms ("MECHANISMS") . |
int |
calculateGrueblerCount()
Calculate gruebler count of motion solution
License requirements: mechanisms ("MECHANISMS") . |
void |
editRunsimulinkMfile()
Edit runsimulink mfile
License requirements: nx_motion_cosim ("NX Motion CoSimulation") . |
void |
exportMotionHostCosimMfiles()
Export motion host cosim mfiles
License requirements: nx_motion_cosim ("NX Motion CoSimulation") . |
void |
exportSimulinkHostCosimMfiles()
Export simulink host cosim mfiles
License requirements: nx_motion_cosim ("NX Motion CoSimulation") . |
void |
exportSolverInputFile()
Export solver input file for a solution
License requirements: mechanisms ("MECHANISMS") . |
AnimationControl |
getAnimationControl()
Get
AnimationControl object, must be called before any other animation control operation, and
the finish API must be call if not use anymore
License requirements: mechanisms ("MECHANISMS") Created in NX9.0.0 |
ArticulationControl |
getArticulationControl()
Get
ArticulationControl object, must be called before any other articulation control operation, and
the finish API must be call if not use anymore
License requirements: mechanisms ("MECHANISMS") Created in NX9.0.0 |
MotionSolution.GraphObjectResultData |
getGraphObjectResult(Graph graph)
Get the result of the graph object
License requirements: mechanisms ("MECHANISMS") . |
LoadTransferControl |
getLoadTransferControl()
Get
LoadTransferControl object, must be called before any other load transfer control operation. |
String |
getName()
Get name
License requirements: mechanisms ("MECHANISMS") . |
PostToolsControl |
getPostToolsControl()
Get
PostToolsControl object, must be called before any other post tools control operation. |
SpreadsheetRunControl |
getSpreadsheetRunControl(String spreadsheetName)
Get
SpreadsheetRunControl object, must be called before any other spreadsheet run control operation, and
the finish API must be call if not use anymore
License requirements: mechanisms ("MECHANISMS") Created in NX9.0.0 |
void |
loadResult()
Load result
License requirements: mechanisms ("MECHANISMS") . |
void |
removeObject(NXObject object)
Deprecated.
Deprecated in NX12.0.0. Use
addSuppressedObject(nxopen.NXObject)
|
void |
removeSuppressedObject(NXObject object)
Removes a suppressed object from a solution
License requirements: mechanisms ("MECHANISMS") . |
void |
removeSuppressedObject(NXObject motionObject,
boolean forceOk)
Removes a suppressed object from a solution
Takes a flag that can be use to force ok to the dialog that could arise when conflict objects are found:
e.g. 2 active drivers on the same joint.
|
void |
saveGraphObjectToAfu(String fileName,
Graph xGraph,
Graph yGraph)
Save the result of graph to afu file
License requirements: mechanisms ("MECHANISMS") . |
void |
saveGraphObjectToSpreadsheet(Graph xGraph,
Graph[] yGraphs,
boolean showGraph,
boolean writeTime)
Save the result of graph to spreadsheet
License requirements: mechanisms ("MECHANISMS") . |
void |
setName(String solutionName,
boolean renameResultFile)
Set name
License requirements: mechanisms ("MECHANISMS") . |
void |
solveNormalRunSolution()
Solve normal run solution.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
void solveNormalRunSolution() throws NXException, RemoteException
MotionSession.initializeSimulation(nxopen.Part)
before solving.
NXException
RemoteException
void exportMotionHostCosimMfiles() throws NXException, RemoteException
NXException
RemoteException
void editRunsimulinkMfile() throws NXException, RemoteException
NXException
RemoteException
void exportSimulinkHostCosimMfiles() throws NXException, RemoteException
NXException
RemoteException
int calculateGrueblerCount() throws NXException, RemoteException
NXException
RemoteException
void addObject(NXObject object) throws NXException, RemoteException
removeSuppressedObject(nxopen.NXObject)
object
- The solution solved object
NXException
RemoteException
void removeObject(NXObject object) throws NXException, RemoteException
addSuppressedObject(nxopen.NXObject)
object
- The solution solved object
NXException
RemoteException
void addSuppressedObject(NXObject object) throws NXException, RemoteException
object
- The solution suppressed objectNXException
RemoteException
void removeSuppressedObject(NXObject object) throws NXException, RemoteException
object
- The solution suppressed objectNXException
RemoteException
void removeSuppressedObject(NXObject motionObject, boolean forceOk) throws NXException, RemoteException
motionObject
- The solution suppressed objectforceOk
- if true, skips verbosity when 2 conflicts object found and allow activationNXException
RemoteException
String getName() throws NXException, RemoteException
NXException
RemoteException
void setName(String solutionName, boolean renameResultFile) throws NXException, RemoteException
solutionName
- renameResultFile
- if true, rename both result file and solution, otherwise, rename solution onlyNXException
RemoteException
AnimationControl getAnimationControl() throws NXException, RemoteException
AnimationControl
object, must be called before any other animation control operation, and
the finish API must be call if not use anymore
AnimationControl
objectNXException
RemoteException
ArticulationControl getArticulationControl() throws NXException, RemoteException
ArticulationControl
object, must be called before any other articulation control operation, and
the finish API must be call if not use anymore
ArticulationControl
objectNXException
RemoteException
SpreadsheetRunControl getSpreadsheetRunControl(String spreadsheetName) throws NXException, RemoteException
SpreadsheetRunControl
object, must be called before any other spreadsheet run control operation, and
the finish API must be call if not use anymore
spreadsheetName
- SpreadsheetRunControl
objectNXException
RemoteException
LoadTransferControl getLoadTransferControl() throws NXException, RemoteException
LoadTransferControl
object, must be called before any other load transfer control operation.
LoadTransferControl.finish()
must be called after use is over.
LoadTransferControl
objectNXException
RemoteException
PostToolsControl getPostToolsControl() throws NXException, RemoteException
PostToolsControl
object, must be called before any other post tools control operation.
PostToolsControl.finish()
must be called after use is over.
PostToolsControl
objectNXException
RemoteException
MotionSolution.GraphObjectResultData getGraphObjectResult(Graph graph) throws NXException, RemoteException
graph
- NXException
RemoteException
void saveGraphObjectToSpreadsheet(Graph xGraph, Graph[] yGraphs, boolean showGraph, boolean writeTime) throws NXException, RemoteException
xGraph
- yGraphs
- showGraph
- writeTime
- NXException
RemoteException
void saveGraphObjectToAfu(String fileName, Graph xGraph, Graph yGraph) throws NXException, RemoteException
fileName
- xGraph
- yGraph
- NXException
RemoteException
void loadResult() throws NXException, RemoteException
NXException
RemoteException
void exportSolverInputFile() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.