NXOpen .NET Reference Guide
|
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 | 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... | |
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... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> 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
|
inline |
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 |
|
inline |
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 |
|
inline |
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.