NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions | List of all members
NXOpen::Motion::GraphBuilder Class Reference

Represents a NXOpen::Motion::GraphBuilder , only creation is supported
To create a new instance of this class, use NXOpen::Motion::GraphManager::CreateGraphBuilder

More...

Inheritance diagram for NXOpen::Motion::GraphBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Classes

struct  CurveData
 Contains the structure of curve associated with curve data. More...
 

Public Types

enum  ComponentChoices {
  ComponentChoicesMag, ComponentChoicesX, ComponentChoicesY, ComponentChoicesZ,
  ComponentChoicesAmag, ComponentChoicesXy, ComponentChoicesYz, ComponentChoicesZx,
  ComponentChoicesInputVoltage, ComponentChoicesElectricCurrent, ComponentChoicesElectricTorque, ComponentChoicesSignalChart
}
 Component attribute of the curve data. More...
 
enum  CsysChoices { CsysChoicesRelative, CsysChoicesAbsolute }
 Csys attribute of the curve data. More...
 
enum  PlotStyleChoices { PlotStyleChoicesFtk, PlotStyleChoicesSpreadsheet }
 Plot output type. More...
 
enum  RequestChoices {
  RequestChoicesDisplacement, RequestChoicesVelocity, RequestChoicesAcceleration, RequestChoicesForce,
  RequestChoicesMotorDriver
}
 Request attribute of the curve data. More...
 
enum  XAxisTypeChoices { XAxisTypeChoicesDefaultTime, XAxisTypeChoicesUserDefined }
 X axis type choice. More...
 

Public Member Functions

void AddYCurves (const std::vector< NXOpen::Motion::GraphBuilder::CurveData > &curves)
 Add curves to the end of y curve list
More...
 
NXString AfuFile ()
 Returns the afu file name
More...
 
NXOpen::Motion::GraphBuilder::ComponentChoices Component ()
 Returns the component
More...
 
NXOpen::Motion::GraphBuilder::CsysChoices CoordinateSystemType ()
 Returns the csystype
More...
 
std::vector< NXOpen::NXObject * > GetMotionObjects ()
 Get the motion objects. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
std::vector
< NXOpen::Motion::GraphBuilder::CurveData
GetYCurves ()
 Get the defined y curves. More...
 
NXString GraphTitle ()
 Returns the graph title
More...
 
int Mode ()
 Returns the mode id
More...
 
NXOpen::Motion::GraphBuilder::RequestChoices ModeRequest ()
 Returns the mode request
More...
 
void MoveDownYCurves (const std::vector< int > &selectedIndices)
 Move down the curves in the y curve list by one step
More...
 
void MoveUpYCurves (const std::vector< int > &selectedIndices)
 Move up the curves in the y curve list by one step
More...
 
NXOpen::NXObjectObject ()
 Returns the object selected from motion objects
More...
 
bool PlotEnable ()
 Returns the plot enable flag
More...
 
NXOpen::Motion::GraphBuilder::PlotStyleChoices PlotStyle ()
 Returns the plot style choice
More...
 
void RemoveYCurve (const NXOpen::Motion::GraphBuilder::CurveData &yCurve)
 Remove the curve from the y curve list
More...
 
NXOpen::Motion::GraphBuilder::RequestChoices Request ()
 Returns the request
More...
 
void SetAfuFile (const NXString &fileName)
 Sets the afu file name
More...
 
void SetAfuFile (const char *fileName)
 Sets the afu file name
More...
 
void SetComponent (NXOpen::Motion::GraphBuilder::ComponentChoices component)
 Sets the component
More...
 
void SetCoordinateSystemType (NXOpen::Motion::GraphBuilder::CsysChoices coordinateSystemType)
 Sets the csystype
More...
 
void SetGraphTitle (const NXString &graphTitle)
 Sets the graph title
More...
 
void SetGraphTitle (const char *graphTitle)
 Sets the graph title
More...
 
void SetMode (int modeID)
 Sets the mode id
More...
 
void SetModeRequest (NXOpen::Motion::GraphBuilder::RequestChoices modeRequest)
 Sets the mode request
More...
 
void SetMotionObjects (const std::vector< NXOpen::NXObject * > &motionObjects)
 Set the motion objects
More...
 
void SetObject (NXOpen::NXObject *object)
 Sets the object selected from motion objects
More...
 
void SetPlotEnable (bool plotEnable)
 Sets the plot enable flag
More...
 
void SetPlotStyle (NXOpen::Motion::GraphBuilder::PlotStyleChoices plotStyle)
 Sets the plot style choice
More...
 
void SetRequest (NXOpen::Motion::GraphBuilder::RequestChoices request)
 Sets the request
More...
 
void SetStoreEnable (bool storeEnable)
 Sets the store enable flag
More...
 
void SetXAxisType (NXOpen::Motion::GraphBuilder::XAxisTypeChoices xAxisType)
 Sets the x axis type
More...
 
void SetXCurve (const NXOpen::Motion::GraphBuilder::CurveData &newCurve)
 Set x curve
More...
 
bool StoreEnable ()
 Returns the store enable flag
More...
 
NXOpen::Motion::GraphBuilder::XAxisTypeChoices XAxisType ()
 Returns the x axis type
More...
 
NXOpen::Motion::GraphBuilder::CurveData XCurve ()
 Returns the x curve
More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Motion::GraphBuilder , only creation is supported
To create a new instance of this class, use NXOpen::Motion::GraphManager::CreateGraphBuilder

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

Member Enumeration Documentation

Component attribute of the curve data.

Enumerator
ComponentChoicesMag 

Magnitude.

ComponentChoicesX 

X.

ComponentChoicesY 

Y.

ComponentChoicesZ 

Z.

ComponentChoicesAmag 

Angular Magnitude.

ComponentChoicesXy 

XY.

ComponentChoicesYz 

YZ.

ComponentChoicesZx 

ZX.

ComponentChoicesInputVoltage 

Input Voltage.

ComponentChoicesElectricCurrent 

Electric Current.

ComponentChoicesElectricTorque 

Electric Torque.

ComponentChoicesSignalChart 

Signal Chart.

Csys attribute of the curve data.

Enumerator
CsysChoicesRelative 

Relative.

CsysChoicesAbsolute 

Absolute.

Plot output type.

Enumerator
PlotStyleChoicesFtk 

To FTK.

PlotStyleChoicesSpreadsheet 

To Spreadsheet.

Request attribute of the curve data.

Enumerator
RequestChoicesDisplacement 

Displacement.

RequestChoicesVelocity 

Velocity.

RequestChoicesAcceleration 

Acceleration.

RequestChoicesForce 

Force.

RequestChoicesMotorDriver 

Motor Driver.

X axis type choice.

Enumerator
XAxisTypeChoicesDefaultTime 

Time.

XAxisTypeChoicesUserDefined 

User defined.

Member Function Documentation

void NXOpen::Motion::GraphBuilder::AddYCurves ( const std::vector< NXOpen::Motion::GraphBuilder::CurveData > &  curves)

Add curves to the end of y curve list

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
curvescurves
NXString NXOpen::Motion::GraphBuilder::AfuFile ( )

Returns the afu file name

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::ComponentChoices NXOpen::Motion::GraphBuilder::Component ( )

Returns the component

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::CsysChoices NXOpen::Motion::GraphBuilder::CoordinateSystemType ( )

Returns the csystype

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

std::vector<NXOpen::NXObject *> NXOpen::Motion::GraphBuilder::GetMotionObjects ( )

Get the motion objects.

Returns

Deprecated:
Deprecated in NX11.0.0. Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::NXObject* NXOpen::Motion::GraphBuilder::GetObject ( )

Returns the object currently being edited by this builder.

If a new object is being created, and the builder has not yet been commited, returns NULL.

Returns

Created in NX4.0.0.

License requirements : None
std::vector<NXOpen::Motion::GraphBuilder::CurveData> NXOpen::Motion::GraphBuilder::GetYCurves ( )

Get the defined y curves.

Returns

Deprecated:
Deprecated in NX11.0.0. Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXString NXOpen::Motion::GraphBuilder::GraphTitle ( )

Returns the graph title

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

int NXOpen::Motion::GraphBuilder::Mode ( )

Returns the mode id

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::RequestChoices NXOpen::Motion::GraphBuilder::ModeRequest ( )

Returns the mode request

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::GraphBuilder::MoveDownYCurves ( const std::vector< int > &  selectedIndices)

Move down the curves in the y curve list by one step

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
selectedIndicesa list of y curve indeces
void NXOpen::Motion::GraphBuilder::MoveUpYCurves ( const std::vector< int > &  selectedIndices)

Move up the curves in the y curve list by one step

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
selectedIndicesa list of y curve indeces
NXOpen::NXObject* NXOpen::Motion::GraphBuilder::Object ( )

Returns the object selected from motion objects

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

bool NXOpen::Motion::GraphBuilder::PlotEnable ( )

Returns the plot enable flag

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::PlotStyleChoices NXOpen::Motion::GraphBuilder::PlotStyle ( )

Returns the plot style choice

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::GraphBuilder::RemoveYCurve ( const NXOpen::Motion::GraphBuilder::CurveData yCurve)

Remove the curve from the y curve list

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
yCurvey curve
NXOpen::Motion::GraphBuilder::RequestChoices NXOpen::Motion::GraphBuilder::Request ( )

Returns the request

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::GraphBuilder::SetAfuFile ( const NXString fileName)

Sets the afu file name

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
fileNamefile name
void NXOpen::Motion::GraphBuilder::SetAfuFile ( const char *  fileName)

Sets the afu file name

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
fileNamefile name
void NXOpen::Motion::GraphBuilder::SetComponent ( NXOpen::Motion::GraphBuilder::ComponentChoices  component)

Sets the component

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
componentcomponent
void NXOpen::Motion::GraphBuilder::SetCoordinateSystemType ( NXOpen::Motion::GraphBuilder::CsysChoices  coordinateSystemType)

Sets the csystype

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
coordinateSystemTypecoordinate system type
void NXOpen::Motion::GraphBuilder::SetGraphTitle ( const NXString graphTitle)

Sets the graph title

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
graphTitlegraph title
void NXOpen::Motion::GraphBuilder::SetGraphTitle ( const char *  graphTitle)

Sets the graph title

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
graphTitlegraph title
void NXOpen::Motion::GraphBuilder::SetMode ( int  modeID)

Sets the mode id

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
modeIDmodeid
void NXOpen::Motion::GraphBuilder::SetModeRequest ( NXOpen::Motion::GraphBuilder::RequestChoices  modeRequest)

Sets the mode request

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
modeRequestmode request
void NXOpen::Motion::GraphBuilder::SetMotionObjects ( const std::vector< NXOpen::NXObject * > &  motionObjects)

Set the motion objects

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
motionObjectsmotion objects
void NXOpen::Motion::GraphBuilder::SetObject ( NXOpen::NXObject object)

Sets the object selected from motion objects

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
objectobject
void NXOpen::Motion::GraphBuilder::SetPlotEnable ( bool  plotEnable)

Sets the plot enable flag

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
plotEnableplot enable
void NXOpen::Motion::GraphBuilder::SetPlotStyle ( NXOpen::Motion::GraphBuilder::PlotStyleChoices  plotStyle)

Sets the plot style choice

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
plotStyleplot style
void NXOpen::Motion::GraphBuilder::SetRequest ( NXOpen::Motion::GraphBuilder::RequestChoices  request)

Sets the request

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
requestrequest
void NXOpen::Motion::GraphBuilder::SetStoreEnable ( bool  storeEnable)

Sets the store enable flag

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
storeEnablestore enable
void NXOpen::Motion::GraphBuilder::SetXAxisType ( NXOpen::Motion::GraphBuilder::XAxisTypeChoices  xAxisType)

Sets the x axis type

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
xAxisTypex axis type
void NXOpen::Motion::GraphBuilder::SetXCurve ( const NXOpen::Motion::GraphBuilder::CurveData newCurve)

Set x curve

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
newCurvenew curve
bool NXOpen::Motion::GraphBuilder::StoreEnable ( )

Returns the store enable flag

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::XAxisTypeChoices NXOpen::Motion::GraphBuilder::XAxisType ( )

Returns the x axis type

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Motion::GraphBuilder::CurveData NXOpen::Motion::GraphBuilder::XCurve ( )

Returns the x curve

Deprecated:
Deprecated in NX11.0.0.

Use Motion::GraphObjectBuilder instead.


Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")


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