NX Open C++ Reference Guide
|
Represents a NCAssistant Builder <br> To create a new instance of this class, use @link CAM::CAMSetup::CreateNCAssistantBuilder CAM::CAMSetup::CreateNCAssistantBuilder @endlink <br>
Default values. More...
Public Types | |
enum | AnalysisTypes { AnalysisTypesLevels, AnalysisTypesCorners, AnalysisTypesBlends, AnalysisTypesDraft } |
Analysis Type. More... | |
Public Member Functions | |
NXOpen::CAM::NCAssistantBuilder::AnalysisTypes | AnalysisType () |
Returns the Analysis Type Created in NX7.5.0. | |
void | AnalyzeGeometry () |
The action of Analyze Geometry button. | |
double | AngleTolerance () |
Returns the Angle Tolerance Created in NX7.5.0. | |
double | DistanceTolerance () |
Returns the Distance Tolerance Created in NX7.5.0. | |
NXOpen::SelectFaceList * | FacesToAnalyze () |
Returns the Faces to Analyze Created in NX7.5.0. | |
bool | GetResults (std::vector< NXOpen::Face * > &analyzedFaces, std::vector< double > &doubleValue) |
The analyze result. | |
void | Information () |
The action of Information button. | |
double | MaximumAngle () |
Returns the Maximum Angle Created in NX7.5.0. | |
double | MaximumLevel () |
Returns the Maximum Level Created in NX7.5.0. | |
double | MaximumRadius () |
Returns the Maximum Radius Created in NX7.5.0. | |
double | MinimumAngle () |
Returns the Minimum Angle Created in NX7.5.0. | |
double | MinimumLevel () |
Returns the Minimum Level Created in NX7.5.0. | |
double | MinimumRadius () |
Returns the Minimum Radius Created in NX7.5.0. | |
double | RadiusTolerance () |
Returns the Radius Tolerance Created in NX7.5.0. | |
NXOpen::Plane * | ReferencePlane () |
Returns the Reference Plane Created in NX7.5.0. | |
NXOpen::Direction * | ReferenceVector () |
Returns the Reference Vector Created in NX7.5.0. | |
bool | SaveFaceColors () |
Returns the Save Face Colors on Exit Created in NX7.5.0. | |
void | SetAnalysisType (NXOpen::CAM::NCAssistantBuilder::AnalysisTypes analysisType) |
Sets the Analysis Type Created in NX7.5.0. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the Angle Tolerance Created in NX7.5.0. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the Distance Tolerance Created in NX7.5.0. | |
void | SetMaximumAngle (double maximum) |
Sets the Maximum Angle Created in NX7.5.0. | |
void | SetMaximumLevel (double maximum) |
Sets the Maximum Level Created in NX7.5.0. | |
void | SetMaximumRadius (double maximum) |
Sets the Maximum Radius Created in NX7.5.0. | |
void | SetMinimumAngle (double minimum) |
Sets the Minimum Angle Created in NX7.5.0. | |
void | SetMinimumLevel (double minimum) |
Sets the Minimum Level Created in NX7.5.0. | |
void | SetMinimumRadius (double minimum) |
Sets the Minimum Radius Created in NX7.5.0. | |
void | SetRadiusTolerance (double radiusTolerance) |
Sets the Radius Tolerance Created in NX7.5.0. | |
void | SetReferencePlane (NXOpen::Plane *referencePlane) |
Sets the Reference Plane Created in NX7.5.0. | |
void | SetReferenceVector (NXOpen::Direction *referenceVector) |
Sets the Reference Vector Created in NX7.5.0. | |
void | SetSaveFaceColors (bool saveFaceColorsOnExit) |
Sets the Save Face Colors on Exit Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a NCAssistant Builder <br> To create a new instance of this class, use @link CAM::CAMSetup::CreateNCAssistantBuilder CAM::CAMSetup::CreateNCAssistantBuilder @endlink <br>
Default values.
Property | Value |
---|---|
AnalysisType |
Levels |
AngleTolerance |
0.01 (millimeters part), 0.01 (inches part) |
DistanceTolerance |
0.01 (millimeters part), 0.0004 (inches part) |
MaximumAngle |
90.00 (millimeters part), 90.00 (inches part) |
MaximumLevel |
1000.00 (millimeters part), 50.00 (inches part) |
MaximumRadius |
50.00 (millimeters part), 2.00 (inches part) |
MinimumAngle |
-90.00 (millimeters part), -90.00 (inches part) |
MinimumLevel |
-1000.00 (millimeters part), -50.00 (inches part) |
MinimumRadius |
-50.00 (millimeters part), -2.00 (inches part) |
RadiusTolerance |
0.01 (millimeters part), 0.0004 (inches part) |
Created in NX7.5.0.
NXOpen::CAM::NCAssistantBuilder::AnalysisTypes NXOpen::CAM::NCAssistantBuilder::AnalysisType | ( | ) |
Returns the Analysis Type
Created in NX7.5.0.
License requirements : None
void NXOpen::CAM::NCAssistantBuilder::AnalyzeGeometry | ( | ) |
The action of Analyze Geometry button.
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
double NXOpen::CAM::NCAssistantBuilder::AngleTolerance | ( | ) |
Returns the Angle Tolerance
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::DistanceTolerance | ( | ) |
Returns the Distance Tolerance
Created in NX7.5.0.
License requirements : None
NXOpen::SelectFaceList* NXOpen::CAM::NCAssistantBuilder::FacesToAnalyze | ( | ) |
Returns the Faces to Analyze
Created in NX7.5.0.
License requirements : None
bool NXOpen::CAM::NCAssistantBuilder::GetResults | ( | std::vector< NXOpen::Face * > & | analyzedFaces, |
std::vector< double > & | doubleValue | ||
) |
The analyze result.
After analyzing the selected faces,it will return the analyzed faces and the corresponding double values,including depth, corner or fillets radius or draft angle. @return success or not
Created in NX7.5.0.
License requirements : None
analyzedFaces | the faces found during analyze run, it is need SM_free |
doubleValue | the corresponding analysis value of the face, depth, corner or fillets radius or draft angle |
void NXOpen::CAM::NCAssistantBuilder::Information | ( | ) |
The action of Information button.
It will bring out a text dialog
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
double NXOpen::CAM::NCAssistantBuilder::MaximumAngle | ( | ) |
Returns the Maximum Angle
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::MaximumLevel | ( | ) |
Returns the Maximum Level
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::MaximumRadius | ( | ) |
Returns the Maximum Radius
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::MinimumAngle | ( | ) |
Returns the Minimum Angle
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::MinimumLevel | ( | ) |
Returns the Minimum Level
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::MinimumRadius | ( | ) |
Returns the Minimum Radius
Created in NX7.5.0.
License requirements : None
double NXOpen::CAM::NCAssistantBuilder::RadiusTolerance | ( | ) |
Returns the Radius Tolerance
Created in NX7.5.0.
License requirements : None
NXOpen::Plane* NXOpen::CAM::NCAssistantBuilder::ReferencePlane | ( | ) |
Returns the Reference Plane
Created in NX7.5.0.
License requirements : None
NXOpen::Direction* NXOpen::CAM::NCAssistantBuilder::ReferenceVector | ( | ) |
Returns the Reference Vector
Created in NX7.5.0.
License requirements : None
bool NXOpen::CAM::NCAssistantBuilder::SaveFaceColors | ( | ) |
Returns the Save Face Colors on Exit
Created in NX7.5.0.
License requirements : None
void NXOpen::CAM::NCAssistantBuilder::SetAnalysisType | ( | NXOpen::CAM::NCAssistantBuilder::AnalysisTypes | analysisType | ) |
Sets the Analysis Type
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
analysisType | the Analysis Type |
void NXOpen::CAM::NCAssistantBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the Angle Tolerance
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
angleTolerance | the Angle Tolerance |
void NXOpen::CAM::NCAssistantBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the Distance Tolerance
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
distanceTolerance | the Distance Tolerance |
void NXOpen::CAM::NCAssistantBuilder::SetMaximumAngle | ( | double | maximum | ) |
Sets the Maximum Angle
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
maximum | the Maximum Angle |
void NXOpen::CAM::NCAssistantBuilder::SetMaximumLevel | ( | double | maximum | ) |
Sets the Maximum Level
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
maximum | the Maximum Level |
void NXOpen::CAM::NCAssistantBuilder::SetMaximumRadius | ( | double | maximum | ) |
Sets the Maximum Radius
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
maximum | the Maximum Radius |
void NXOpen::CAM::NCAssistantBuilder::SetMinimumAngle | ( | double | minimum | ) |
Sets the Minimum Angle
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
minimum | the Minimum Angle |
void NXOpen::CAM::NCAssistantBuilder::SetMinimumLevel | ( | double | minimum | ) |
Sets the Minimum Level
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
minimum | the Minimum Level |
void NXOpen::CAM::NCAssistantBuilder::SetMinimumRadius | ( | double | minimum | ) |
Sets the Minimum Radius
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
minimum | the Minimum Radius |
void NXOpen::CAM::NCAssistantBuilder::SetRadiusTolerance | ( | double | radiusTolerance | ) |
Sets the Radius Tolerance
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
radiusTolerance | the Radius Tolerance |
void NXOpen::CAM::NCAssistantBuilder::SetReferencePlane | ( | NXOpen::Plane * | referencePlane | ) |
void NXOpen::CAM::NCAssistantBuilder::SetReferenceVector | ( | NXOpen::Direction * | referenceVector | ) |
Sets the Reference Vector
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
referenceVector | the Reference Vector |
void NXOpen::CAM::NCAssistantBuilder::SetSaveFaceColors | ( | bool | saveFaceColorsOnExit | ) |