NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Motion.MechanismExport Class Reference

Represents a Mechanism Export object used to export one or more Motion objects to a text file. More...

Inheritance diagram for NXOpen.Motion.MechanismExport:
NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  PositionOrientationFormat {
  TransformationMatrix, Pqr, BryantAngles, EulerAngles,
  EulerParameters, None
}
 Format to export the position and orientation data. More...
 

Public Member Functions

unsafe void ExportMdef (string fileName, NXOpen.Motion.MechanismExport.PositionOrientationFormat posOrientFormat, bool exportEmptyInputFields, bool exportUnusedOptions, bool exportSubmechAsMdef, bool enablePublish, string publishedFolder, NXOpen.NXObject[] objects)
 Exports selected objects to . More...
 
unsafe void ExportPlmxml (string fileName, NXOpen.NXObject[] objects)
 Exports Mechanism to . 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...
 

Detailed Description

Represents a Mechanism Export object used to export one or more Motion objects to a text file.

To obtain an instance of this class, refer to NXOpen.Motion.MotionSession

Created in NX12.0.0

Member Enumeration Documentation

Format to export the position and orientation data.

Enumerator
TransformationMatrix 

Origin and X, Y, Z vectors

Pqr 

P, Q, R points

BryantAngles 

Origin and Bryant angles

EulerAngles 

Origin and Euler angles

EulerParameters 

Origin and Euler parameters

None 

The position and orientation will not be serialized

Member Function Documentation

unsafe void NXOpen.Motion.MechanismExport.ExportMdef ( string  fileName,
NXOpen.Motion.MechanismExport.PositionOrientationFormat  posOrientFormat,
bool  exportEmptyInputFields,
bool  exportUnusedOptions,
bool  exportSubmechAsMdef,
bool  enablePublish,
string  publishedFolder,
NXOpen.NXObject[]  objects 
)
inline

Exports selected objects to .

mdef file

Created in NX12.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
fileNameFull path to the .mdef file
posOrientFormatFormat to export the position and orientation data
exportEmptyInputFieldsWhen TRUE, exports data that do not have any values defined
exportUnusedOptionsWhen TRUE, exports data currently unused in the Motion objects
exportSubmechAsMdefWhen TRUE, export the submechanisms as .mdef files. Otherwise references them as .sim files.
enablePublishWhen TRUE, the publish option is enabled. Note: enablePublish will not be used when in managed mode.
publishedFolderFull path to the published folder. Note: publishedFolder will not be used when in managed mode.
objectsMotion objects to export
unsafe void NXOpen.Motion.MechanismExport.ExportPlmxml ( string  fileName,
NXOpen.NXObject[]  objects 
)
inline

Exports Mechanism to .

xml file. If Motion part is included, exports all the Motion objects from it.

Created in NX12.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
fileNameFull path of the .xml file
objectsMotion objects or Motion part tag

Property Documentation

Tag NXOpen.Motion.MechanismExport.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.