NX Open C++ Reference Guide
|
Inspection setup
Use the Part class to get or create an inspection setup
Created in NX7.0.0.
More...
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. | |
NXOpen::CAM::InspectionGroupCollection * | CmmInspectionGroupCollection () |
Returns the InspectionGroupCollection instance belonging to this setup Created in NX7.0.0. | |
NXOpen::CAM::InspectionOperationCollection * | CmmInspectionOperationCollection () |
Returns the InspectionOperationCollection instance belonging to this setup Created in NX7.0.0. | |
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. | |
NXOpen::CAM::NcmctPartMountingBuilder * | CreateNcmctPartMountingBuilder (const NXString &libRef) |
Creates a Part Mounting Builder. | |
void | CutObjects (NXOpen::CAM::CAMSetup::View view, const std::vector< NXOpen::CAM::CAMObject * > &objectsToBeMoved) |
Cut objects Created in NX7.0.0. | |
void | GenerateToolPath (const std::vector< NXOpen::CAM::CAMObject * > &objects) |
Generate tool path Created in NX7.0.0. | |
void | LockToolPaths (const std::vector< NXOpen::CAM::CAMObject * > &objects, bool lock) |
Lock Tool Path Created in NX7.5.4. | |
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. | |
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. | |
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. | |
NXOpen::CAM::InspectionGroup * | RetrieveDevice (const NXString &libRef) |
Retrieve a device from library. | |
NXOpen::CAM::InspectionTool * | RetrieveTool (const NXString &libRef, bool *success) |
Retrieve a tool from library. | |
void | SetTemplateStatus (const std::vector< NXOpen::CAM::CAMObject * > &objects, bool useAsParent, bool createIfParentCreated) |
Set Template status Created in NX7.0.0. |
Inspection setup
Use the Part class to get or create an inspection setup
Created in NX7.0.0.
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")
view | view |
objectsToBeBuffered | array 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.
view | view |
objectsToBeMoved | array of objects to be moved |
destinationObject | the destination object |
pastePosition | paste 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.
libRef | a unique library reference identifier NOTE: The full Unicode character set is not supported for this parameter. |
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")
view | view |
objectsToBeMoved | array 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")
objects | array of objects |
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")
objects | array of objects |
lock | lock 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")
view | view |
objectsToBeMoved | array of objects to be moved |
destinationObject | the destination object |
pastePosition | paste 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")
objects | array of objects |
machineType | machine type NOTE: The full Unicode character set is not supported for this parameter. |
outfileName | output file name NOTE: The full Unicode character set is not supported for this parameter. |
outputUnits | output 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")
objects | array of objects |
machineType | machine type NOTE: The full Unicode character set is not supported for this parameter. |
outfileName | output file name NOTE: The full Unicode character set is not supported for this parameter. |
outputUnits | output file unit |
outputWarning | whether ouput warning file |
reviewTool | whether active review tool window |
NXOpen::CAM::InspectionGroup* NXOpen::CAM::InspectionSetup::RetrieveDevice | ( | const NXString & | libRef | ) |
Retrieve a device from library.
libRef | a unique library reference identifier NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CAM::InspectionTool* NXOpen::CAM::InspectionSetup::RetrieveTool | ( | const NXString & | libRef, |
bool * | success | ||
) |
Retrieve a tool from library.
libRef | NOTE: The full Unicode character set is not supported for this parameter. |
success | success |
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")
objects | array of objects to adjust |
useAsParent | object can be used as a template or not |
createIfParentCreated | create if parent is created |