NX Open C++ Reference Guide
|
Represents interface for all CAM Object
Created in NX4.0.0.
More...
Classes | |
struct | ErrorItem |
Error Item. More... | |
Public Types | |
enum | Attr { AttrProjDiffTaxis = 1, AttrProfileFlipMside, AttrBndSplineTangent, AttrBlankNormalDiffTaxis, AttrBndHasSleepObj, AttrClrnrNotParallelTaxis, AttrBndNotParallelFloor, AttrFloorNotUpToDate, AttrSingleProfileWithFirstCut, AttrCutterConversionProblem, AttrAcceptDrivePosition = 100, AttrReparametrization = 110, AttrBetweenFromStart = 120, AttrCurveCutRange = 130, AttrFixGssmCornerData = 140, AttrPlmConversion = 150, AttrPlmFeedcomp, AttrPlmFillet, AttrPlmSlowdown, AttrPlmGeometry, AttrWedmPoints = 160, AttrCavityMillInheritTrimBnds = 170, AttrRtdObsolete = 1000, AttrZlevelHolderParamChange = 2000, AttrNcmObsoleteSeqControl = 2100, AttrNcmObsoleteCustomFeed, AttrNcmObsoleteLocalRetract, AttrNcmClearTraversalZero, AttrNcmObsoleteEngretToClearance, AttrGmcInvalidNxVersion = 2201, AttrProbingInvalidNxVersion, AttrInspPathInvalidNxVersion = 2300, AttrCustomDataGougingObsolete, AttrCustomDataGougingPartObsolete, AttrCustomDataGougingDriveObsolete, AttrCustomDataIgnoreLoopsObsolete, AttrLimitToolRunOn = 2400 } |
enum | FeedRateUnit { FeedRateUnitNone, FeedRateUnitPerMinute, FeedRateUnitPerRevolution } |
The unit of feed rate. More... | |
enum | Status { StatusComplete, StatusRepost, StatusRegen, StatusApproved = 4 } |
The status of the object. More... | |
Public Member Functions | |
bool | GetBooleanValue (const NXString &title) |
Get the boolean value of the parameter index from the object. | |
NXOpen::CAM::CAMObject::FeedRateUnit | GetFeedRate (const NXString &title, double *value) |
Get the feed rate value and unit of the parameter index from the object. | |
int | GetFeedRateColor (const NXString &title) |
Get the feed rate color of the parameter index from the object. | |
std::vector< int > | GetIntegerArrayValue (const NXString &title) |
Get the integer array value of the parameter index from the object. | |
int | GetIntegerValue (const NXString &title) |
Get the integer value of the parameter index from the object. | |
NXOpen::NXObject * | GetObject (const NXString &title) |
Get the object value of the parameter index from the object. | |
std::vector< NXOpen::NXObject * > | GetObjectArrayValue (const NXString &title) |
Get the object array value of the parameter index from the object. | |
std::vector< double > | GetRealArrayValue (const NXString &title) |
Get the real array value of the parameter index from the object. | |
double | GetRealValue (const NXString &title) |
Get the real value of the parameter index from the object. | |
NXOpen::CAM::CAMObject::Status | GetStatus () |
Get the status of the input object. | |
std::vector< NXString > | GetStringArrayValue (const NXString &title) |
Get the string array value of the parameter index from the object. | |
NXString | GetStringValue (const NXString &title) |
Get the string value of the parameter index from the object. | |
int | GetWireEdmFeedRate (const NXString &title, double *value) |
Get the feed rate value and side of the parameter index from the object, side is only used in wire edm. | |
bool | Has911Attribute (NXOpen::CAM::CAMObject::Attr attrId) |
Check if a 911 attribute exists in an object. | |
void | Remove911Attribute (NXOpen::CAM::CAMObject::Attr attrId) |
Remove a specific 911 attribute from an object. | |
void | RemoveAll911Attributes () |
Remove all 911 attributes from an object. | |
void | SetBooleanValue (const NXString &title, bool value) |
Set a boolean value to the parameter index for the object. | |
void | SetFeedRate (const NXString &title, double value, NXOpen::CAM::CAMObject::FeedRateUnit unit) |
Set feed rate value and unit to the parameter index for the object. | |
void | SetFeedRateColor (const NXString &title, int value) |
Set feed rate display color to the parameter index for the object. | |
void | SetIntegerArrayValue (const NXString &title, const std::vector< int > &value) |
Set integer array value to the parameter index for the object. | |
void | SetIntegerValue (const NXString &title, int value) |
Set an integer value to the parameter index for the object. | |
void | SetObject (const NXString &title, NXOpen::NXObject *value) |
Set a object to the parameter index for the object. | |
void | SetObjectArrayValue (const NXString &title, const std::vector< NXOpen::NXObject * > &value) |
Set object array to the parameter index for the object Created in NX4.0.0. | |
void | SetRealArrayValue (const NXString &title, const std::vector< double > &value) |
Set real array to the parameter index for the object. | |
void | SetRealValue (const NXString &title, double value) |
Set a real value to the parameter index for the object. | |
void | SetStringArrayValue (const NXString &title, std::vector< NXString > &value) |
Set string array to the parameter index for the object Created in NX4.0.0. | |
void | SetStringValue (const NXString &title, const NXString &value) |
Set a string value to the parameter index for the object. | |
void | SetWireEdmFeedRate (const NXString &title, double value, int side) |
Set feed rate value and side to the parameter index for the object, side is only used in wire edm. |
Represents interface for all CAM Object
Created in NX4.0.0.
bool NXOpen::CAM::CAMObject::GetBooleanValue | ( | const NXString & | title | ) |
Get the boolean value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CAM::CAMObject::FeedRateUnit NXOpen::CAM::CAMObject::GetFeedRate | ( | const NXString & | title, |
double * | value | ||
) |
Get the feed rate value and unit of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the feed rate value |
int NXOpen::CAM::CAMObject::GetFeedRateColor | ( | const NXString & | title | ) |
Get the feed rate color of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<int> NXOpen::CAM::CAMObject::GetIntegerArrayValue | ( | const NXString & | title | ) |
Get the integer array value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::CAM::CAMObject::GetIntegerValue | ( | const NXString & | title | ) |
Get the integer value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::NXObject* NXOpen::CAM::CAMObject::GetObject | ( | const NXString & | title | ) |
Get the object value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXOpen::NXObject *> NXOpen::CAM::CAMObject::GetObjectArrayValue | ( | const NXString & | title | ) |
Get the object array value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<double> NXOpen::CAM::CAMObject::GetRealArrayValue | ( | const NXString & | title | ) |
Get the real array value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
double NXOpen::CAM::CAMObject::GetRealValue | ( | const NXString & | title | ) |
Get the real value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
Get the status of the input object.
Reimplemented in NXOpen::CAM::FeatureGeometryGroup.
std::vector<NXString> NXOpen::CAM::CAMObject::GetStringArrayValue | ( | const NXString & | title | ) |
Get the string array value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::CAM::CAMObject::GetStringValue | ( | const NXString & | title | ) |
Get the string value of the parameter index from the object.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::CAM::CAMObject::GetWireEdmFeedRate | ( | const NXString & | title, |
double * | value | ||
) |
Get the feed rate value and side of the parameter index from the object, side is only used in wire edm.
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the feed rate value |
Check if a 911 attribute exists in an object.
attrId | the attribute Id |
Remove a specific 911 attribute from an object.
Created in NX5.0.0.
License requirements : cam_base ("CAM BASE")
attrId | the attribute Id |
Remove all 911 attributes from an object.
Created in NX5.0.0.
License requirements : cam_base ("CAM BASE")
void NXOpen::CAM::CAMObject::SetBooleanValue | ( | const NXString & | title, |
bool | value | ||
) |
Set a boolean value to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the boolean value |
void NXOpen::CAM::CAMObject::SetFeedRate | ( | const NXString & | title, |
double | value, | ||
NXOpen::CAM::CAMObject::FeedRateUnit | unit | ||
) |
Set feed rate value and unit to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the feed rate value |
unit | the feed rate unit |
void NXOpen::CAM::CAMObject::SetFeedRateColor | ( | const NXString & | title, |
int | value | ||
) |
Set feed rate display color to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the paramter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the color number |
void NXOpen::CAM::CAMObject::SetIntegerArrayValue | ( | const NXString & | title, |
const std::vector< int > & | value | ||
) |
Set integer array value to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the integer array |
void NXOpen::CAM::CAMObject::SetIntegerValue | ( | const NXString & | title, |
int | value | ||
) |
Set an integer value to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the integer value |
void NXOpen::CAM::CAMObject::SetObject | ( | const NXString & | title, |
NXOpen::NXObject * | value | ||
) |
Set a object to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the object |
void NXOpen::CAM::CAMObject::SetObjectArrayValue | ( | const NXString & | title, |
const std::vector< NXOpen::NXObject * > & | value | ||
) |
Set object array to the parameter index for the object
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the object array |
void NXOpen::CAM::CAMObject::SetRealArrayValue | ( | const NXString & | title, |
const std::vector< double > & | value | ||
) |
Set real array to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the real array |
void NXOpen::CAM::CAMObject::SetRealValue | ( | const NXString & | title, |
double | value | ||
) |
Set a real value to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the real value |
void NXOpen::CAM::CAMObject::SetStringArrayValue | ( | const NXString & | title, |
std::vector< NXString > & | value | ||
) |
Set string array to the parameter index for the object
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the string array NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAM::CAMObject::SetStringValue | ( | const NXString & | title, |
const NXString & | value | ||
) |
Set a string value to the parameter index for the object.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the string value NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAM::CAMObject::SetWireEdmFeedRate | ( | const NXString & | title, |
double | value, | ||
int | side | ||
) |
Set feed rate value and side to the parameter index for the object, side is only used in wire edm.
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
title | the name of the parameter index NOTE: The full Unicode character set is not supported for this parameter. |
value | the feed rate value |
side | Inside = 0, Outside = 1 |