NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CAM::InspectionSetup Class Reference

Inspection setup
Use the Part class to get or create an inspection setup

Created in NX7.0.0. More...

Inheritance diagram for NXOpen::CAM::InspectionSetup:
NXOpen::CAM::CAMObject NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

Public Member Functions

void BufferObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeBuffered)
 Buffer objects to the clipboard and prepare for copy later
Created in NX7.0.0. More...
 
NXOpen::CAM::InspectionGroupCollectionCmmInspectionGroupCollection ()
 Returns the InspectionGroupCollection instance belonging to this setup
Created in NX7.0.0. More...
 
NXOpen::CAM::InspectionOperationCollectionCmmInspectionOperationCollection ()
 Returns the InspectionOperationCollection instance belonging to this setup
Created in NX7.0.0. More...
 
std::vector
< NXOpen::CAM::CAMObject * > 
CopyObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeMoved, NXOpen::CAM::CAMObject *destinationObject, NXOpen::CAM::CAMSetup::Paste pastePosition)
 Copy objects. More...
 
NXOpen::CAM::NcmctPartMountingBuilderCreateNcmctPartMountingBuilder (const NXString &libRef)
 Creates a Part Mounting Builder. More...
 
NXOpen::CAM::NcmctPartMountingBuilderCreateNcmctPartMountingBuilder (const char *libRef)
 Creates a Part Mounting Builder. More...
 
NXOpen::CAM::ObjectsUdeSetCreateObjectsUdeSet (const std::vector< NXOpen::CAM::CAMObject * > &params, NXOpen::CAM::CAMSetup::Ude udeType)
 Create ObjectsUdeSet. More...
 
void CutObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeMoved)
 Cut objects
Created in NX7.0.0. More...
 
void GenerateToolPath (const std::vector< NXOpen::CAM::CAMObject * > &objects)
 Generate tool path
Created in NX7.0.0. More...
 
NXOpen::CAM::InspectionGroupGetRoot (NXOpen::CAM::CAMSetup::View branch)
 Get root of the specified branch. More...
 
void LockToolPaths (const std::vector< NXOpen::CAM::CAMObject * > &objects, bool lock)
 Lock Tool Path
Created in NX7.5.4. More...
 
void MoveObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeMoved, NXOpen::CAM::CAMObject *destinationObject, NXOpen::CAM::CAMSetup::Paste pastePosition)
 Move objects
Created in NX7.0.0. More...
 
void PasteObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeMoved, NXOpen::CAM::CAMObject *destinationObject, NXOpen::CAM::CAMSetup::Paste pastePosition)
 Paste objects after cut
Created in NX8.5.1. More...
 
void Postprocess (const std::vector< NXOpen::CAM::CAMObject * > &objects, const NXString &machineType, const NXString &outfileName, NXOpen::CAM::CAMSetup::OutputUnits outputUnits)
 Postprocess
Created in NX7.0.0. More...
 
void Postprocess (const std::vector< NXOpen::CAM::CAMObject * > &objects, const char *machineType, const char *outfileName, NXOpen::CAM::CAMSetup::OutputUnits outputUnits)
 Postprocess
Created in NX7.0.0. More...
 
void PostprocessWithSetting (const std::vector< NXOpen::CAM::CAMObject * > &objects, const NXString &machineType, const NXString &outfileName, NXOpen::CAM::CAMSetup::OutputUnits outputUnits, NXOpen::CAM::CAMSetup::PostprocessSettingsOutputWarning outputWarning, NXOpen::CAM::CAMSetup::PostprocessSettingsReviewTool reviewTool)
 Postprocess
Created in NX8.0.0. More...
 
void PostprocessWithSetting (const std::vector< NXOpen::CAM::CAMObject * > &objects, const char *machineType, const char *outfileName, NXOpen::CAM::CAMSetup::OutputUnits outputUnits, NXOpen::CAM::CAMSetup::PostprocessSettingsOutputWarning outputWarning, NXOpen::CAM::CAMSetup::PostprocessSettingsReviewTool reviewTool)
 Postprocess
Created in NX8.0.0. More...
 
void ResequencePaths (const std::vector< NXOpen::CAM::CAMObject * > &paths)
 Resequence selected paths using nearest neighbor order
Created in NX9.0.0. More...
 
void ResequenceTols (const std::vector< NXOpen::CAM::CAMObject * > &tols)
 Resequence tolerances
Created in NX9.0.0. More...
 
NXOpen::CAM::InspectionGroupRetrieveDevice (const NXString &libRef)
 Retrieve a device from library. More...
 
NXOpen::CAM::InspectionGroupRetrieveDevice (const char *libRef)
 Retrieve a device from library. More...
 
std::vector< NXStringRetrievePathMessages (const std::vector< NXOpen::CAM::CAMObject * > &objects)
 Retrieve toolpath validation messages. More...
 
NXOpen::CAM::InspectionToolRetrieveTool (const NXString &libRef, bool *success)
 Retrieve a tool from library. More...
 
NXOpen::CAM::InspectionToolRetrieveTool (const char *libRef, bool *success)
 Retrieve a tool from library. More...
 
NXOpen::CAM::InspectionToolRetrieveTool (const NXString &libRef, NXOpen::CAM::CAMObject *target, NXOpen::CAM::CAMObject **nextTarget, bool *success)
 Retrieve a tool from library to the target. More...
 
NXOpen::CAM::InspectionToolRetrieveTool (const char *libRef, NXOpen::CAM::CAMObject *target, NXOpen::CAM::CAMObject **nextTarget, bool *success)
 Retrieve a tool from library to the target. More...
 
void SetTemplateStatus (const std::vector< NXOpen::CAM::CAMObject * > &objects, bool useAsParent, bool createIfParentCreated)
 Set Template status
Created in NX7.0.0. More...
 
void UpdateFeatureNames (const NXString &originalFeatName, const NXString &newFeatName)
 Update feature names in referencing operations. More...
 
void UpdateFeatureNames (const char *originalFeatName, const char *newFeatName)
 Update feature names in referencing operations. More...
 
void UpdateToleranceNames (const NXString &originalTolName, const NXString &newTolName)
 Update tolerance names in referencing operations. More...
 
void UpdateToleranceNames (const char *originalTolName, const char *newTolName)
 Update tolerance names in referencing operations. More...
 
- Public Member Functions inherited from NXOpen::CAM::CAMObject
bool AskPathExists ()
 Tells if the object has a path. More...
 
NXOpen::CAM::PathCreateEmptyPath ()
 Create an empty path for the object. More...
 
bool GetBooleanValue (const NXString &title)
 Get the boolean value of the parameter index from the object. More...
 
bool GetBooleanValue (const char *title)
 Get the boolean value of the parameter index from the object. More...
 
NXOpen::CAM::CAMObject::FeedRateUnit GetFeedRate (const NXString &title, double *value)
 Get the feed rate value and unit of the parameter index from the object. More...
 
NXOpen::CAM::CAMObject::FeedRateUnit GetFeedRate (const char *title, double *value)
 Get the feed rate value and unit of the parameter index from the object. More...
 
int GetFeedRateColor (const NXString &title)
 Get the feed rate color of the parameter index from the object. More...
 
int GetFeedRateColor (const char *title)
 Get the feed rate color of the parameter index from the object. More...
 
std::vector< int > GetIntegerArrayValue (const NXString &title)
 Get the integer array value of the parameter index from the object. More...
 
std::vector< int > GetIntegerArrayValue (const char *title)
 Get the integer array value of the parameter index from the object. More...
 
int GetIntegerValue (const NXString &title)
 Get the integer value of the parameter index from the object. More...
 
int GetIntegerValue (const char *title)
 Get the integer value of the parameter index from the object. More...
 
NXOpen::NXObjectGetObject (const NXString &title)
 Get the object value of the parameter index from the object. More...
 
NXOpen::NXObjectGetObject (const char *title)
 Get the object value of the parameter index from the object. More...
 
std::vector< NXOpen::NXObject * > GetObjectArrayValue (const NXString &title)
 Get the object array value of the parameter index from the object. More...
 
std::vector< NXOpen::NXObject * > GetObjectArrayValue (const char *title)
 Get the object array value of the parameter index from the object. More...
 
NXOpen::CAM::PathGetPath ()
 Returns the path. More...
 
std::vector< double > GetRealArrayValue (const NXString &title)
 Get the real array value of the parameter index from the object. More...
 
std::vector< double > GetRealArrayValue (const char *title)
 Get the real array value of the parameter index from the object. More...
 
double GetRealValue (const NXString &title)
 Get the real value of the parameter index from the object. More...
 
double GetRealValue (const char *title)
 Get the real value of the parameter index from the object. More...
 
NXOpen::CAM::CAMObject::Status GetStatus ()
 Get the status of the input object. More...
 
std::vector< NXStringGetStringArrayValue (const NXString &title)
 Get the string array value of the parameter index from the object. More...
 
std::vector< NXStringGetStringArrayValue (const char *title)
 Get the string array value of the parameter index from the object. More...
 
NXString GetStringValue (const NXString &title)
 Get the string value of the parameter index from the object. More...
 
NXString GetStringValue (const char *title)
 Get the string value of the parameter index from the object. More...
 
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. More...
 
int GetWireEdmFeedRate (const char *title, double *value)
 Get the feed rate value and side of the parameter index from the object, side is only used in wire edm. More...
 
bool Has911Attribute (NXOpen::CAM::CAMObject::Attr attrId)
 Check if a 911 attribute exists in an object. More...
 
void Remove911Attribute (NXOpen::CAM::CAMObject::Attr attrId)
 Remove a specific 911 attribute from an object. More...
 
void RemoveAll911Attributes ()
 Remove all 911 attributes from an object. More...
 
void SavePath (NXOpen::CAM::Path *theBuilder)
 This must be called to establish proper part status
Created in NX11.0.2. More...
 
void SetBooleanValue (const NXString &title, bool value)
 Set a boolean value to the parameter index for the object. More...
 
void SetBooleanValue (const char *title, bool value)
 Set a boolean value to the parameter index for the object. More...
 
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. More...
 
void SetFeedRate (const char *title, double value, NXOpen::CAM::CAMObject::FeedRateUnit unit)
 Set feed rate value and unit to the parameter index for the object. More...
 
void SetFeedRateColor (const NXString &title, int value)
 Set feed rate display color to the parameter index for the object. More...
 
void SetFeedRateColor (const char *title, int value)
 Set feed rate display color to the parameter index for the object. More...
 
void SetIntegerArrayValue (const NXString &title, const std::vector< int > &value)
 Set integer array value to the parameter index for the object. More...
 
void SetIntegerArrayValue (const char *title, const std::vector< int > &value)
 Set integer array value to the parameter index for the object. More...
 
void SetIntegerValue (const NXString &title, int value)
 Set an integer value to the parameter index for the object. More...
 
void SetIntegerValue (const char *title, int value)
 Set an integer value to the parameter index for the object. More...
 
void SetObject (const NXString &title, NXOpen::NXObject *value)
 Set a object to the parameter index for the object. More...
 
void SetObject (const char *title, NXOpen::NXObject *value)
 Set a object to the parameter index for the object. More...
 
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. More...
 
void SetObjectArrayValue (const char *title, const std::vector< NXOpen::NXObject * > &value)
 Set object array to the parameter index for the object
Created in NX4.0.0. More...
 
void SetRealArrayValue (const NXString &title, const std::vector< double > &value)
 Set real array to the parameter index for the object. More...
 
void SetRealArrayValue (const char *title, const std::vector< double > &value)
 Set real array to the parameter index for the object. More...
 
void SetRealValue (const NXString &title, double value)
 Set a real value to the parameter index for the object. More...
 
void SetRealValue (const char *title, double value)
 Set a real value to the parameter index for the object. More...
 
void SetStringArrayValue (const NXString &title, std::vector< NXString > &value)
 Set string array to the parameter index for the object
Created in NX4.0.0. More...
 
void SetStringArrayValue (const char *title, std::vector< NXString > &value)
 Set string array to the parameter index for the object
Created in NX4.0.0. More...
 
void SetStringValue (const NXString &title, const NXString &value)
 Set a string value to the parameter index for the object. More...
 
void SetStringValue (const char *title, const char *value)
 Set a string value to the parameter index for the object. More...
 
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. More...
 
void SetWireEdmFeedRate (const char *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. More...
 
- Public Member Functions inherited from NXOpen::NXObject
NXOpen::AttributeIteratorCreateAttributeIterator ()
 Create an attribute iterator. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type)
 Deletes all attributes of a specific type. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes all attributes of a specific type with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttributes (NXOpen::AttributeIterator *iterator, NXOpen::Update::Option option)
 Deletes the attributes on the object, if any, that satisfy the given iterator
Created in NX8.0.0. More...
 
void DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes the attributes encountered with the given Type with option to update or not. More...
 
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type)
 Gets all the attribute titles of a specific type. More...
 
bool GetBooleanUserAttribute (const NXString &title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
bool GetBooleanUserAttribute (const char *title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
int GetIntegerAttribute (const NXString &title)
 Gets an integer attribute by title. More...
 
int GetIntegerAttribute (const char *title)
 Gets an integer attribute by title. More...
 
int GetIntegerUserAttribute (const NXString &title, int index)
 Gets an integer attribute by Title and array Index. More...
 
int GetIntegerUserAttribute (const char *title, int index)
 Gets an integer attribute by Title and array Index. More...
 
bool GetNextUserAttribute (NXOpen::AttributeIterator *iterator, NXOpen::NXObject::AttributeInformation *info)
 Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More...
 
NXString GetPdmReferenceAttributeValue (const NXString &attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
NXString GetPdmReferenceAttributeValue (const char *attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
double GetRealAttribute (const NXString &title)
 Gets a real attribute by title. More...
 
double GetRealAttribute (const char *title)
 Gets a real attribute by title. More...
 
double GetRealUserAttribute (const NXString &title, int index)
 Gets a real attribute by Title and array Index. More...
 
double GetRealUserAttribute (const char *title, int index)
 Gets a real attribute by Title and array Index. More...
 
NXString GetReferenceAttribute (const NXString &title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetReferenceAttribute (const char *title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetStringAttribute (const NXString &title)
 Gets a string attribute value by title. More...
 
NXString GetStringAttribute (const char *title)
 Gets a string attribute value by title. More...
 
NXString GetStringUserAttribute (const NXString &title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetStringUserAttribute (const char *title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title)
 Gets a time attribute by title. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title)
 Gets a time attribute by title. More...
 
NXString GetTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXString GetTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const NXString &title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const char *title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
NXString GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
NXString GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator, bool countArrayAsOneAttribute)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type)
 Gets the count of set attributes on the object, if any, of the given type. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type, bool includeUnset, bool countArrayAsOneAttribute)
 Gets the count of attributes on the object, if any, of the given type. More...
 
bool GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
bool GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (NXOpen::AttributeIterator *iterator)
 Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes ()
 Gets all the attributes that have been set on the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset)
 Gets all the attributes of the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset, bool addStringValues)
 Gets all the attributes of the given object. More...
 
std::vector< NXStringGetUserAttributesAsStrings ()
 Gets all the attributes that have been set on the given object. More...
 
int GetUserAttributeSize (const NXString &title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
int GetUserAttributeSize (const char *title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
std::vector< NXOpen::NXObject * > GetUserAttributeSourceObjects ()
 Returns an array of objects from which this object presents attributes. More...
 
bool HasUserAttribute (NXOpen::AttributeIterator *iterator)
 Determines if an attribute exists on the object, that satisfies the given iterator. More...
 
bool HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
bool HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
virtual bool IsOccurrence ()
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()
 Returns the prototype of this object if it is an occurrence. More...
 
void SetAttribute (const NXString &title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const char *title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const NXString &title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const char *title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const char *title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const NXString &title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const char *title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const char *title, const char *value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const char *title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const NXString &title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetAttribute (const char *title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
virtual void SetName (const NXString &name)
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)
 Sets the custom name of the object. More...
 
void SetPdmReferenceAttribute (const NXString &attributeTitle, const NXString &attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetPdmReferenceAttribute (const char *attributeTitle, const char *attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const char *title, const char *value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const char *title, const char *value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option)
 Creates or modifies an attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
void SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen::CAM::CAMObject
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,
  AttrCustomDataIgnoreLoopsRemoved, AttrLimitToolRunOn = 2400, AttrScoprNcmChangeLinearNormalToPart, AttrPossibleToolAxisProblem
}
 Represents the CAM attribute type. More...
 
enum  FeedRateUnit { FeedRateUnitNone, FeedRateUnitPerMinute, FeedRateUnitPerRevolution }
 The unit of feed rate. More...
 
enum  Status { StatusComplete, StatusRepost, StatusRegen, StatusApproved = 4 }
 The status of the object. More...
 

Detailed Description

Inspection setup
Use the Part class to get or create an inspection setup

Created in NX7.0.0.


Member Function Documentation

void NXOpen::CAM::InspectionSetup::BufferObjects ( NXOpen::CAM::CAMSetup::View  view,
const std::vector< NXOpen::CAM::CAMObject * > &  objectsToBeBuffered 
)

Buffer objects to the clipboard and prepare for copy later
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
viewview
objectsToBeBufferedarray of objects to be buffered
NXOpen::CAM::InspectionGroupCollection* NXOpen::CAM::InspectionSetup::CmmInspectionGroupCollection ( )

Returns the InspectionGroupCollection instance belonging to this setup
Created in NX7.0.0.


NXOpen::CAM::InspectionOperationCollection* NXOpen::CAM::InspectionSetup::CmmInspectionOperationCollection ( )

Returns the InspectionOperationCollection instance belonging to this setup
Created in NX7.0.0.


std::vector<NXOpen::CAM::CAMObject *> NXOpen::CAM::InspectionSetup::CopyObjects ( NXOpen::CAM::CAMSetup::View  view,
const std::vector< NXOpen::CAM::CAMObject * > &  objectsToBeMoved,
NXOpen::CAM::CAMObject destinationObject,
NXOpen::CAM::CAMSetup::Paste  pastePosition 
)

Copy objects.

Returns
array of new objects
Created in NX7.0.0.

License requirements : insp_programming ("INSPECTION PROGRAMMING")
Parameters
viewview
objectsToBeMovedarray of objects to be moved
destinationObjectthe destination object
pastePositionpaste inside or after the destination object
NXOpen::CAM::NcmctPartMountingBuilder* NXOpen::CAM::InspectionSetup::CreateNcmctPartMountingBuilder ( const NXString libRef)

Creates a Part Mounting Builder.

Note: Commit a Part Mounting Builder will perform the Part Mounting and no object is returned.

Returns
part mounting builder created
Created in NX8.0.0.

License requirements : insp_programming ("INSPECTION PROGRAMMING")
Parameters
libRefa unique library reference identifier
NXOpen::CAM::NcmctPartMountingBuilder* NXOpen::CAM::InspectionSetup::CreateNcmctPartMountingBuilder ( const char *  libRef)

Creates a Part Mounting Builder.

Note: Commit a Part Mounting Builder will perform the Part Mounting and no object is returned.

Returns
part mounting builder created
Created in NX8.0.0.

License requirements : insp_programming ("INSPECTION PROGRAMMING")
Parameters
libRefa unique library reference identifier
NXOpen::CAM::ObjectsUdeSet* NXOpen::CAM::InspectionSetup::CreateObjectsUdeSet ( const std::vector< NXOpen::CAM::CAMObject * > &  params,
NXOpen::CAM::CAMSetup::Ude  udeType 
)

Create ObjectsUdeSet.

Returns
created objects ude set
Created in NX9.0.2.

License requirements : insp_programming ("INSPECTION PROGRAMMING")
Parameters
paramsarray of operations or groups
udeTypeude type
void NXOpen::CAM::InspectionSetup::CutObjects ( NXOpen::CAM::CAMSetup::View  view,
const std::vector< NXOpen::CAM::CAMObject * > &  objectsToBeMoved 
)

Cut objects
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
viewview
objectsToBeMovedarray of objects to be moved
void NXOpen::CAM::InspectionSetup::GenerateToolPath ( const std::vector< NXOpen::CAM::CAMObject * > &  objects)

Generate tool path
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
NXOpen::CAM::InspectionGroup* NXOpen::CAM::InspectionSetup::GetRoot ( NXOpen::CAM::CAMSetup::View  branch)

Get root of the specified branch.

Returns
Root of the specified branch
Created in NX9.0.3.

License requirements : None
Parameters
branchBranch from which to get setup root
void NXOpen::CAM::InspectionSetup::LockToolPaths ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
bool  lock 
)

Lock Tool Path
Created in NX7.5.4.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
locklock the tool path if true, else unlock the tool path
void NXOpen::CAM::InspectionSetup::MoveObjects ( NXOpen::CAM::CAMSetup::View  view,
const std::vector< NXOpen::CAM::CAMObject * > &  objectsToBeMoved,
NXOpen::CAM::CAMObject destinationObject,
NXOpen::CAM::CAMSetup::Paste  pastePosition 
)

Move objects
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
viewview
objectsToBeMovedarray of objects to be moved
destinationObjectthe destination object
pastePositionpaste inside or after the destination object
void NXOpen::CAM::InspectionSetup::PasteObjects ( NXOpen::CAM::CAMSetup::View  view,
const std::vector< NXOpen::CAM::CAMObject * > &  objectsToBeMoved,
NXOpen::CAM::CAMObject destinationObject,
NXOpen::CAM::CAMSetup::Paste  pastePosition 
)

Paste objects after cut
Created in NX8.5.1.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
viewview
objectsToBeMovedarray of objects to be pasted
destinationObjectthe destination object
pastePositionpaste inside or after the destination object
void NXOpen::CAM::InspectionSetup::Postprocess ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
const NXString machineType,
const NXString outfileName,
NXOpen::CAM::CAMSetup::OutputUnits  outputUnits 
)

Postprocess
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
machineTypemachine type
outfileNameoutput file name
outputUnitsoutput file unit
void NXOpen::CAM::InspectionSetup::Postprocess ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
const char *  machineType,
const char *  outfileName,
NXOpen::CAM::CAMSetup::OutputUnits  outputUnits 
)

Postprocess
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
machineTypemachine type
outfileNameoutput file name
outputUnitsoutput file unit
void NXOpen::CAM::InspectionSetup::PostprocessWithSetting ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
const NXString machineType,
const NXString outfileName,
NXOpen::CAM::CAMSetup::OutputUnits  outputUnits,
NXOpen::CAM::CAMSetup::PostprocessSettingsOutputWarning  outputWarning,
NXOpen::CAM::CAMSetup::PostprocessSettingsReviewTool  reviewTool 
)

Postprocess
Created in NX8.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
machineTypemachine type
outfileNameoutput file name
outputUnitsoutput file unit
outputWarningwhether ouput warning file
reviewToolwhether active review tool window
void NXOpen::CAM::InspectionSetup::PostprocessWithSetting ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
const char *  machineType,
const char *  outfileName,
NXOpen::CAM::CAMSetup::OutputUnits  outputUnits,
NXOpen::CAM::CAMSetup::PostprocessSettingsOutputWarning  outputWarning,
NXOpen::CAM::CAMSetup::PostprocessSettingsReviewTool  reviewTool 
)

Postprocess
Created in NX8.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects
machineTypemachine type
outfileNameoutput file name
outputUnitsoutput file unit
outputWarningwhether ouput warning file
reviewToolwhether active review tool window
void NXOpen::CAM::InspectionSetup::ResequencePaths ( const std::vector< NXOpen::CAM::CAMObject * > &  paths)

Resequence selected paths using nearest neighbor order
Created in NX9.0.0.



License requirements : None

Parameters
pathsarray of paths to resequence
void NXOpen::CAM::InspectionSetup::ResequenceTols ( const std::vector< NXOpen::CAM::CAMObject * > &  tols)

Resequence tolerances
Created in NX9.0.0.



License requirements : None

Parameters
tolsarray of tolerances to resequence
NXOpen::CAM::InspectionGroup* NXOpen::CAM::InspectionSetup::RetrieveDevice ( const NXString libRef)

Retrieve a device from library.

Returns
machine device created
Created in NX8.0.0.

License requirements : None
Parameters
libRefa unique library reference identifier
NXOpen::CAM::InspectionGroup* NXOpen::CAM::InspectionSetup::RetrieveDevice ( const char *  libRef)

Retrieve a device from library.

Returns
machine device created
Created in NX8.0.0.

License requirements : None
Parameters
libRefa unique library reference identifier
std::vector<NXString> NXOpen::CAM::InspectionSetup::RetrievePathMessages ( const std::vector< NXOpen::CAM::CAMObject * > &  objects)

Retrieve toolpath validation messages.

Returns
array of message strings
Created in NX9.0.0.

License requirements : None
Parameters
objectsarray of object tags
NXOpen::CAM::InspectionTool* NXOpen::CAM::InspectionSetup::RetrieveTool ( const NXString libRef,
bool *  success 
)

Retrieve a tool from library.

Returns
created the tool library
Created in NX7.5.1.

License requirements : None
Parameters
libRefthe library name
successsuccess
NXOpen::CAM::InspectionTool* NXOpen::CAM::InspectionSetup::RetrieveTool ( const char *  libRef,
bool *  success 
)

Retrieve a tool from library.

Returns
created the tool library
Created in NX7.5.1.

License requirements : None
Parameters
libRefthe library name
successsuccess
NXOpen::CAM::InspectionTool* NXOpen::CAM::InspectionSetup::RetrieveTool ( const NXString libRef,
NXOpen::CAM::CAMObject target,
NXOpen::CAM::CAMObject **  nextTarget,
bool *  success 
)

Retrieve a tool from library to the target.

Returns
created the tool library
Created in NX8.5.0.

License requirements : None
Parameters
libRefthe library name
targetthe target where the tool is mounted
nextTargetthe next target where the tool can be mounted
successsuccess
NXOpen::CAM::InspectionTool* NXOpen::CAM::InspectionSetup::RetrieveTool ( const char *  libRef,
NXOpen::CAM::CAMObject target,
NXOpen::CAM::CAMObject **  nextTarget,
bool *  success 
)

Retrieve a tool from library to the target.

Returns
created the tool library
Created in NX8.5.0.

License requirements : None
Parameters
libRefthe library name
targetthe target where the tool is mounted
nextTargetthe next target where the tool can be mounted
successsuccess
void NXOpen::CAM::InspectionSetup::SetTemplateStatus ( const std::vector< NXOpen::CAM::CAMObject * > &  objects,
bool  useAsParent,
bool  createIfParentCreated 
)

Set Template status
Created in NX7.0.0.



License requirements : insp_programming ("INSPECTION PROGRAMMING")

Parameters
objectsarray of objects to adjust
useAsParentobject can be used as a template or not
createIfParentCreatedcreate if parent is created
void NXOpen::CAM::InspectionSetup::UpdateFeatureNames ( const NXString originalFeatName,
const NXString newFeatName 
)

Update feature names in referencing operations.


Created in NX9.0.3.

License requirements : None

Parameters
originalFeatNameOriginal feature name
newFeatNameNew feature name
void NXOpen::CAM::InspectionSetup::UpdateFeatureNames ( const char *  originalFeatName,
const char *  newFeatName 
)

Update feature names in referencing operations.


Created in NX9.0.3.

License requirements : None

Parameters
originalFeatNameOriginal feature name
newFeatNameNew feature name
void NXOpen::CAM::InspectionSetup::UpdateToleranceNames ( const NXString originalTolName,
const NXString newTolName 
)

Update tolerance names in referencing operations.


Created in NX10.0.3.

License requirements : None

Parameters
originalTolNameOriginal tolerance name
newTolNameNew tolerance name
void NXOpen::CAM::InspectionSetup::UpdateToleranceNames ( const char *  originalTolName,
const char *  newTolName 
)

Update tolerance names in referencing operations.


Created in NX10.0.3.

License requirements : None

Parameters
originalTolNameOriginal tolerance name
newTolNameNew tolerance name

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