NX Open C++ Reference Guide
|
Represents a NXOpen::Motion::GraphBuilder , only creation is supported
To create a new instance of this class, use NXOpen::Motion::GraphManager::CreateGraphBuilder
More...
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::NXObject * | GetObject () |
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::NXObject * | Object () |
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::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a NXOpen::Motion::GraphBuilder , only creation is supported
To create a new instance of this class, use NXOpen::Motion::GraphManager::CreateGraphBuilder
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
Component attribute of the curve data.
void NXOpen::Motion::GraphBuilder::AddYCurves | ( | const std::vector< NXOpen::Motion::GraphBuilder::CurveData > & | curves | ) |
Add curves to the end of y curve list
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
curves | curves |
NXString NXOpen::Motion::GraphBuilder::AfuFile | ( | ) |
Returns the afu file name
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Motion::GraphBuilder::ComponentChoices NXOpen::Motion::GraphBuilder::Component | ( | ) |
Returns the component
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Motion::GraphBuilder::CsysChoices NXOpen::Motion::GraphBuilder::CoordinateSystemType | ( | ) |
Returns the csystype
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.
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.
std::vector<NXOpen::Motion::GraphBuilder::CurveData> NXOpen::Motion::GraphBuilder::GetYCurves | ( | ) |
Get the defined y curves.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
NXString NXOpen::Motion::GraphBuilder::GraphTitle | ( | ) |
Returns the graph title
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
int NXOpen::Motion::GraphBuilder::Mode | ( | ) |
Returns the mode id
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
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
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
selectedIndices | a 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
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
selectedIndices | a list of y curve indeces |
NXOpen::NXObject* NXOpen::Motion::GraphBuilder::Object | ( | ) |
Returns the object selected from motion objects
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
bool NXOpen::Motion::GraphBuilder::PlotEnable | ( | ) |
Returns the plot enable flag
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
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
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
yCurve | y curve |
NXOpen::Motion::GraphBuilder::RequestChoices NXOpen::Motion::GraphBuilder::Request | ( | ) |
Returns the request
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
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | file name |
void NXOpen::Motion::GraphBuilder::SetAfuFile | ( | const char * | fileName | ) |
Sets the afu file name
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | file name |
void NXOpen::Motion::GraphBuilder::SetComponent | ( | NXOpen::Motion::GraphBuilder::ComponentChoices | component | ) |
Sets the component
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
component | component |
void NXOpen::Motion::GraphBuilder::SetCoordinateSystemType | ( | NXOpen::Motion::GraphBuilder::CsysChoices | coordinateSystemType | ) |
Sets the csystype
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
coordinateSystemType | coordinate system type |
void NXOpen::Motion::GraphBuilder::SetGraphTitle | ( | const NXString & | graphTitle | ) |
Sets the graph title
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
graphTitle | graph title |
void NXOpen::Motion::GraphBuilder::SetGraphTitle | ( | const char * | graphTitle | ) |
Sets the graph title
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
graphTitle | graph title |
void NXOpen::Motion::GraphBuilder::SetMode | ( | int | modeID | ) |
Sets the mode id
Use Motion::GraphObjectBuilder instead.
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")
modeID | modeid |
void NXOpen::Motion::GraphBuilder::SetModeRequest | ( | NXOpen::Motion::GraphBuilder::RequestChoices | modeRequest | ) |
Sets the mode request
Use Motion::GraphObjectBuilder instead.
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")
modeRequest | mode request |
void NXOpen::Motion::GraphBuilder::SetMotionObjects | ( | const std::vector< NXOpen::NXObject * > & | motionObjects | ) |
Set the motion objects
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
motionObjects | motion objects |
void NXOpen::Motion::GraphBuilder::SetObject | ( | NXOpen::NXObject * | object | ) |
Sets the object selected from motion objects
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
object | object |
void NXOpen::Motion::GraphBuilder::SetPlotEnable | ( | bool | plotEnable | ) |
Sets the plot enable flag
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
plotEnable | plot enable |
void NXOpen::Motion::GraphBuilder::SetPlotStyle | ( | NXOpen::Motion::GraphBuilder::PlotStyleChoices | plotStyle | ) |
Sets the plot style choice
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
plotStyle | plot style |
void NXOpen::Motion::GraphBuilder::SetRequest | ( | NXOpen::Motion::GraphBuilder::RequestChoices | request | ) |
Sets the request
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
request | request |
void NXOpen::Motion::GraphBuilder::SetStoreEnable | ( | bool | storeEnable | ) |
Sets the store enable flag
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
storeEnable | store enable |
void NXOpen::Motion::GraphBuilder::SetXAxisType | ( | NXOpen::Motion::GraphBuilder::XAxisTypeChoices | xAxisType | ) |
Sets the x axis type
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
xAxisType | x axis type |
void NXOpen::Motion::GraphBuilder::SetXCurve | ( | const NXOpen::Motion::GraphBuilder::CurveData & | newCurve | ) |
Set x curve
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
newCurve | new curve |
bool NXOpen::Motion::GraphBuilder::StoreEnable | ( | ) |
Returns the store enable flag
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
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
Use Motion::GraphObjectBuilder instead.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")