NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Motion::MotionObject Class Reference

Represents the motion base object class. More...

Inheritance diagram for NXOpen::Motion::MotionObject:
NXOpen::DisplayableObject NXOpen::NXObject NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::Motion::BodyContact NXOpen::Motion::Bushing NXOpen::Motion::Connector NXOpen::Motion::Coupler NXOpen::Motion::CurveContact NXOpen::Motion::CurveOnCurve NXOpen::Motion::FlexBody NXOpen::Motion::GeneralCoupler NXOpen::Motion::Joint NXOpen::Motion::Link NXOpen::Motion::MotionSensor NXOpen::Motion::Motor NXOpen::Motion::PointOnCurve NXOpen::Motion::PointOnSurface NXOpen::Motion::ScalarForce NXOpen::Motion::ScalarTorque

List of all members.

Public Types

enum  GroupType { GroupTypeNone, GroupTypeImport }
 The group type attribute is used for import subassembly functionality. More...

Public Member Functions

double DisplayScale ()
 Returns the display scale factor
Created in NX5.0.0.
NXString GroupName ()
 Returns the group name of motion object
Created in NX5.0.0.
NXOpen::Motion::MotionObject::GroupType GroupTypeOption ()
 Returns the group type of motion object
Created in NX5.0.0.
void SetDisplayScale (double displayScale)
 Sets the display scale factor
Created in NX5.0.0.
void SetGroupName (const NXString &groupName)
 Sets the group name of motion object
Created in NX5.0.0.
void SetGroupTypeOption (NXOpen::Motion::MotionObject::GroupType groupType)
 Sets the group type of motion object
Created in NX5.0.0.

Detailed Description

Represents the motion base object class.


This is an abstract class, and cannot be created.

Created in NX5.0.0.


Member Enumeration Documentation

The group type attribute is used for import subassembly functionality.

When import subassembly's mechanism, there will be a group node on the navigator, the motion objects which are automatically created by import subassembly's mechanism functionality will all appear under the group node. In this suitation, the motion objects' group type is Motion::MotionObject::GroupTypeImport . The group name attribute is for the name of group node.

Otherwise, the motion object (for instance a link) which is created by manual (by NX link UI) will appear without under any import group node. In this suitation, the motion object's group type is Motion::MotionObject::GroupTypeNone . The group name is NULL

Enumerator:
GroupTypeNone 

Motion object dose not belong to any motion group.

GroupTypeImport 

Motion object belongs to motion import group.


Member Function Documentation

Returns the display scale factor
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Returns the group name of motion object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Returns the group type of motion object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::MotionObject::SetDisplayScale ( double  displayScale)

Sets the display scale factor
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters:
displayScaledisplay scale

Sets the group name of motion object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters:
groupNamegroup name

Sets the group type of motion object
Created in NX5.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters:
groupTypegroup type

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