public interface MatingConverter extends TaggedObject
ComponentAssembly
from which this
object was obtained using
ComponentAssembly.createMatingConverter()
.
Modifier and Type | Interface and Description |
---|---|
static class |
MatingConverter.PartContext
Defines in which parts mating conditions will be converted.
|
Modifier and Type | Method and Description |
---|---|
MatingConverter.PartContext |
context()
Returns
the current conversion context in which mating conditions will be converted.
|
void |
convertMatingConditions()
Converts Mating Conditions to Assembly Constraints according to the
properties defined on this
MatingConverter
object. |
void |
deleteResults()
Removes details from the mating conversion results of the individual constraints that were converted.
|
void |
destroy()
Deletes this
MatingConverter immediately. |
Constraint[] |
getConvertedConstraints()
Returns all constraints converted by this conversion operation.
|
Constraint[] |
getConvertedParts()
Returns all parts converted by this conversion operation.
|
String[] |
getLatestResults(boolean showAllResults)
Returns textual descriptions of the results of the last conversion operation
License requirements: assemblies ("ASSEMBLIES MODULE") . |
String[] |
getResults(boolean showAllResults)
Returns textual descriptions of the results of all prior conversion
operations for all the parts described by the current context set using
setContext(nxopen.positioning.MatingConverter.PartContext) . |
boolean |
loadReferencedGeometry()
Returns
whether to load unloaded referenced geometry before performing a conversion.
|
PartLoadStatus |
loadStatus()
Returns
the load status resulting from a conversion operation.
|
int |
numberOfConvertedParts()
Returns
the number of parts parts converted by this conversion operation.
|
void |
setContext(MatingConverter.PartContext context)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setLoadReferencedGeometry(boolean loadGeometry)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
printTestData, printTestData, tag, tagValue
void setContext(MatingConverter.PartContext context) throws NXException, RemoteException
context
- The new contextNXException
RemoteException
MatingConverter.PartContext context() throws NXException, RemoteException
NXException
RemoteException
void setLoadReferencedGeometry(boolean loadGeometry) throws NXException, RemoteException
loadGeometry
- Whether to load referenced-geometryNXException
RemoteException
boolean loadReferencedGeometry() throws NXException, RemoteException
NXException
RemoteException
void convertMatingConditions() throws NXException, RemoteException
MatingConverter
object.
NXException
RemoteException
PartLoadStatus loadStatus() throws NXException, RemoteException
NXException
RemoteException
Constraint[] getConvertedConstraints() throws NXException, RemoteException
Constraint.generateConversionReport()
to obtain the conversion status of these constraints.
NXException
RemoteException
Constraint[] getConvertedParts() throws NXException, RemoteException
NXException
RemoteException
int numberOfConvertedParts() throws NXException, RemoteException
NXException
RemoteException
String[] getLatestResults(boolean showAllResults) throws NXException, RemoteException
showAllResults
- Whether to show results for all converted constraints even if no issues arose during their conversionNXException
RemoteException
String[] getResults(boolean showAllResults) throws NXException, RemoteException
setContext(nxopen.positioning.MatingConverter.PartContext)
.
showAllResults
- Whether to show results for all converted constraints even if no issues arose during their conversionNXException
RemoteException
void deleteResults() throws NXException, RemoteException
setContext(nxopen.positioning.MatingConverter.PartContext)
). Note that the
summary information for each part in the conversion results is not modified by this function.
NXException
RemoteException
void destroy() throws NXException, RemoteException
MatingConverter
immediately.
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.