NXOpen .NET Reference
12.0.0
|
Represents a Mechanism Import object used to import a Motion model from a text file. More...
Public Types | |
enum | NamingRule { None, AddPrefix, AddSuffix } |
Naming Rule type to modify imported object's name More... | |
Public Member Functions | |
unsafe void | ImportMdef (NXOpen.NXObject workPart, string fileName, NXOpen.Motion.MechanismImport.NamingRule namingRule, string addString, bool reportToInfoWindow, bool replaceExistingElements) |
Imports a Motion Definition (. More... | |
unsafe void | ImportXML (NXOpen.Part workPart, string fileName, NXOpen.Motion.MechanismImport.NamingRule namingRule, string appendixString, bool reportToInfoWindow) |
Imports a Motion Definition (. More... | |
unsafe void | ImportFromSubassembly (NXOpen.Assemblies.Component compOcc, NXOpen.Part motionPart, NXOpen.Part workPart, NXOpen.Motion.MechanismImport.NamingRule namingRule, string appendixString, bool reportToInfoWindow, bool abortOnFailure) |
Imports a Motion Definition (. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a Mechanism Import object used to import a Motion model from a text file.
To obtain an instance of this class, refer to NXOpen.Motion.MotionSession
Created in NX12.0.0
unsafe void NXOpen.Motion.MechanismImport.ImportFromSubassembly | ( | NXOpen.Assemblies.Component | compOcc, |
NXOpen.Part | motionPart, | ||
NXOpen.Part | workPart, | ||
NXOpen.Motion.MechanismImport.NamingRule | namingRule, | ||
string | appendixString, | ||
bool | reportToInfoWindow, | ||
bool | abortOnFailure | ||
) |
Imports a Motion Definition (.
sim) Part.
Created in NX12.0.0
License requirements: mechanisms ("MECHANISMS")
compOcc | the selected component part occ |
motionPart | the motion part which the mechanism objects are imported from |
workPart | the current work part |
namingRule | enum to rule the naming behavior of the imported objects |
appendixString | string to add when NamingRule is AddPrefix or AddSuffix |
reportToInfoWindow | Flag to report import status in the information window |
abortOnFailure | Flag to rule whether to abort the process when there is error occurrs |
unsafe void NXOpen.Motion.MechanismImport.ImportMdef | ( | NXOpen.NXObject | workPart, |
string | fileName, | ||
NXOpen.Motion.MechanismImport.NamingRule | namingRule, | ||
string | addString, | ||
bool | reportToInfoWindow, | ||
bool | replaceExistingElements | ||
) |
Imports a Motion Definition (.
mdef) file.
Created in NX12.0.0
License requirements: mechanisms ("MECHANISMS")
workPart | |
fileName | Full path to the .mdef file |
namingRule | |
addString | string to add when NamingRule is AddPrefix or AddSuffix |
reportToInfoWindow | Flag to report import status in the information window |
replaceExistingElements | Flag to replace elements with same names |
unsafe void NXOpen.Motion.MechanismImport.ImportXML | ( | NXOpen.Part | workPart, |
string | fileName, | ||
NXOpen.Motion.MechanismImport.NamingRule | namingRule, | ||
string | appendixString, | ||
bool | reportToInfoWindow | ||
) |
Imports a Motion Definition (.
XML) file.
Created in NX12.0.0
License requirements: mechanisms ("MECHANISMS")
workPart | |
fileName | Full path to the .xml file |
namingRule | |
appendixString | string to add when NamingRule is AddPrefix or AddSuffix |
reportToInfoWindow | Flag to report import status in the information window |
|
get |
Returns the tag of this object.