NX Open C++ Reference Guide
|
Represents a Draft Analysis builder <br> To create a new instance of this class, use @link GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder @endlink <br>
Default values. More...
Public Types | |
enum | DrawDirection { DrawDirectionVector, DrawDirectionOrientation } |
define draw direction items More... | |
enum | SelectOutput { SelectOutputAnalysisObject, SelectOutputIsoclines, SelectOutputBoth } |
define output options More... | |
Public Member Functions | |
void | AddDynamicPoints () |
Adds dynamic points to the draft analysis object Created in NX8.0.0. | |
bool | CoupleLimit () |
Returns the coupling limit Created in NX8.0.0. | |
bool | CreateCSYS () |
Returns the datum CSYS creation Created in NX8.0.1. | |
void | DeleteDynamicLabels (const std::vector< bool > &deletedLabels) |
Deletes dynamic labels whose corresponding positions are set to true in the array Created in NX8.0.0. | |
void | DeselectFaces (const std::vector< NXOpen::DisplayableObject * > &faces) |
Deselects faces Created in NX8.0.0. | |
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection | DrawOption () |
Returns the draw option Created in NX8.0.0. | |
NXOpen::Matrix3x3 | DrawOrientation () |
Returns the draw orientation Created in NX8.0.0. | |
NXOpen::Point3d | DrawOrigin () |
Returns the draw origin Created in NX8.0.0. | |
NXOpen::Direction * | DrawVector () |
Returns the draw vector Created in NX8.0.0. | |
NXOpen::Features::GeometricConstraintDataManager * | DynamicLabel () |
Returns the constraint manager Created in NX8.0.0. | |
std::vector< double > | GetColorInsideNegative () |
Returns the negative inside color. | |
std::vector< double > | GetColorInsidePositive () |
Returns the positive inside color. | |
std::vector< double > | GetColorOutsideNegative () |
Returns the negative outside color. | |
std::vector< double > | GetColorOutsidePositive () |
Returns the positive outside color. | |
bool | JoinIsocline () |
Returns the joining isocline Created in NX8.0.0. | |
double | LimitAngleNegative () |
Returns the negative limit angle Created in NX8.0.0. | |
double | LimitAnglePositive () |
Returns the positive limit angle Created in NX8.0.0. | |
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput | OutputOption () |
Returns the output option Created in NX8.0.0. | |
void | RemoveLabelParents (const std::vector< NXOpen::DisplayableObject * > &parents) |
Removes dynamic label parents Created in NX8.0.0. | |
NXOpen::GeometricUtilities::DisplayResolutionBuilder * | Resolution () |
Returns the display resolution Created in NX8.0.0. | |
void | ReverseAllNormals () |
Reverses all normals Created in NX8.0.0. | |
NXOpen::SelectDisplayableObject * | ReverseIndividual () |
Returns the individual face normal Created in NX8.0.0. | |
void | ReverseNormal (NXOpen::DisplayableObject *face) |
Reverses individual face normal Created in NX8.0.0. | |
NXOpen::SelectDisplayableObjectList * | SelectObject () |
Returns the faces or facet bodies Created in NX8.0.0. | |
void | SetColorInsideNegative (const std::vector< double > &colorInsideNeg) |
Sets the negative inside color Created in NX8.0.0. | |
void | SetColorInsidePositive (const std::vector< double > &colorInsidePos) |
Sets the positive inside color Created in NX8.0.0. | |
void | SetColorOutsideNegative (const std::vector< double > &colorOutsideNeg) |
Sets the negative outside color Created in NX8.0.0. | |
void | SetColorOutsidePositive (const std::vector< double > &colorOutsidePos) |
Sets the positive outside color Created in NX8.0.0. | |
void | SetCoupleLimit (bool coupleLimit) |
Sets the coupling limit Created in NX8.0.0. | |
void | SetCreateCSYS (bool createCSYS) |
Sets the datum CSYS creation Created in NX8.0.1. | |
void | SetDrawOption (NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection drawOption) |
Sets the draw option Created in NX8.0.0. | |
void | SetDrawOrientation (const NXOpen::Matrix3x3 &drawOrientation) |
Sets the draw orientation Created in NX8.0.0. | |
void | SetDrawOrigin (const NXOpen::Point3d &drawOrigin) |
Sets the draw origin Created in NX8.0.0. | |
void | SetDrawVector (NXOpen::Direction *drawVector) |
Sets the draw vector Created in NX8.0.0. | |
void | SetDynamicNormal (int index, const NXOpen::Vector3d &normal) |
Sets dynamic normal Created in NX8.0.0. | |
void | SetDynamicParent (int index, NXOpen::DisplayableObject *parent) |
Sets dynamic parent Created in NX8.0.0. | |
void | SetJoinIsocline (bool joinIsocline) |
Sets the joining isocline Created in NX8.0.0. | |
void | SetLimitAngleNegative (double limitAngleNeg) |
Sets the negative limit angle Created in NX8.0.0. | |
void | SetLimitAnglePositive (double limitAnglePos) |
Sets the positive limit angle Created in NX8.0.0. | |
void | SetOutputOption (NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput outputOption) |
Sets the output option Created in NX8.0.0. | |
void | SetShowIsoclineNegative (bool showIsoclineNeg) |
Sets the negative isocline Created in NX8.0.0. | |
void | SetShowIsoclinePositive (bool showIsoclinePos) |
Sets the positive isocline Created in NX8.0.0. | |
void | SetShowPartingLine (bool showPartingLine) |
Sets the show parting line Created in NX8.0.0. | |
void | SetTotalDynamicNormals (int total) |
Sets number of dynamic normals Created in NX8.0.0. | |
void | SetTranslucencyInsideNegative (int translucencyInsideNeg) |
Sets the negative inside translucency Created in NX8.0.0. | |
void | SetTranslucencyInsidePositive (int translucencyInsidePos) |
Sets the positive inside translucency Created in NX8.0.0. | |
void | SetTranslucencyOutsideNegative (int translucencyOutsideNeg) |
Sets the negative outside tanslucency Created in NX8.0.0. | |
void | SetTranslucencyOutsidePositive (int translucencyOutsidePos) |
Sets the positive outside translucenty Created in NX8.0.0. | |
bool | ShowIsoclineNegative () |
Returns the negative isocline Created in NX8.0.0. | |
bool | ShowIsoclinePositive () |
Returns the positive isocline Created in NX8.0.0. | |
bool | ShowPartingLine () |
Returns the show parting line Created in NX8.0.0. | |
int | TranslucencyInsideNegative () |
Returns the negative inside translucency Created in NX8.0.0. | |
int | TranslucencyInsidePositive () |
Returns the positive inside translucency Created in NX8.0.0. | |
int | TranslucencyOutsideNegative () |
Returns the negative outside tanslucency Created in NX8.0.0. | |
int | TranslucencyOutsidePositive () |
Returns the positive outside translucenty Created in NX8.0.0. | |
void | UpdateReverseMap () |
Updates reverse map Created in NX8.0.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 Draft Analysis builder <br> To create a new instance of this class, use @link GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder @endlink <br>
Default values.
Property | Value |
---|---|
CoupleLimit |
1 |
CreateCSYS |
0 |
DrawOption |
Orientation |
JoinIsocline |
0 |
LimitAngleNegative |
-5 |
LimitAnglePositive |
5 |
OutputOption | |
Resolution.AngleTolerance |
15.0 |
Resolution.EdgeTolerance |
0.005 |
Resolution.FaceTolerance |
0.005 |
Resolution.Resolution |
Standard |
Resolution.WidthTolerance |
0.3 |
ShowIsoclineNegative |
0 |
ShowIsoclinePositive |
0 |
ShowPartingLine |
0 |
TranslucencyInsideNegative |
0 |
TranslucencyInsidePositive |
0 |
TranslucencyOutsideNegative |
0 |
TranslucencyOutsidePositive |
0 |
Created in NX8.0.0.
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::AddDynamicPoints | ( | ) |
Adds dynamic points to the draft analysis object
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::CoupleLimit | ( | ) |
Returns the coupling limit
Created in NX8.0.0.
License requirements : None
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::CreateCSYS | ( | ) |
Returns the datum CSYS creation
Created in NX8.0.1.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DeleteDynamicLabels | ( | const std::vector< bool > & | deletedLabels | ) |
Deletes dynamic labels whose corresponding positions are set to true in the array
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
deletedLabels | deletedlabels |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DeselectFaces | ( | const std::vector< NXOpen::DisplayableObject * > & | faces | ) |
Deselects faces
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
faces | faces |
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawOption | ( | ) |
Returns the draw option
Created in NX8.0.0.
License requirements : None
NXOpen::Matrix3x3 NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawOrientation | ( | ) |
Returns the draw orientation
Created in NX8.0.0.
License requirements : None
NXOpen::Point3d NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawOrigin | ( | ) |
Returns the draw origin
Created in NX8.0.0.
License requirements : None
NXOpen::Direction* NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawVector | ( | ) |
Returns the draw vector
Created in NX8.0.0.
License requirements : None
NXOpen::Features::GeometricConstraintDataManager* NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DynamicLabel | ( | ) |
Returns the constraint manager
Created in NX8.0.0.
License requirements : None
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorInsideNegative | ( | ) |
Returns the negative inside color.
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorInsidePositive | ( | ) |
Returns the positive inside color.
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorOutsideNegative | ( | ) |
Returns the negative outside color.
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorOutsidePositive | ( | ) |
Returns the positive outside color.
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::JoinIsocline | ( | ) |
Returns the joining isocline
Created in NX8.0.0.
License requirements : None
double NXOpen::GeometricAnalysis::DraftAnalysisBuilder::LimitAngleNegative | ( | ) |
Returns the negative limit angle
Created in NX8.0.0.
License requirements : None
double NXOpen::GeometricAnalysis::DraftAnalysisBuilder::LimitAnglePositive | ( | ) |
Returns the positive limit angle
Created in NX8.0.0.
License requirements : None
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput NXOpen::GeometricAnalysis::DraftAnalysisBuilder::OutputOption | ( | ) |
Returns the output option
Created in NX8.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::RemoveLabelParents | ( | const std::vector< NXOpen::DisplayableObject * > & | parents | ) |
Removes dynamic label parents
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
parents | parents |
NXOpen::GeometricUtilities::DisplayResolutionBuilder* NXOpen::GeometricAnalysis::DraftAnalysisBuilder::Resolution | ( | ) |
Returns the display resolution
Created in NX8.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ReverseAllNormals | ( | ) |
Reverses all normals
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
NXOpen::SelectDisplayableObject* NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ReverseIndividual | ( | ) |
Returns the individual face normal
Created in NX8.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ReverseNormal | ( | NXOpen::DisplayableObject * | face | ) |
Reverses individual face normal
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
face | face |
NXOpen::SelectDisplayableObjectList* NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectObject | ( | ) |
Returns the faces or facet bodies
Created in NX8.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetColorInsideNegative | ( | const std::vector< double > & | colorInsideNeg | ) |
Sets the negative inside color
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
colorInsideNeg | Array of 3 RGB values, each between 0 and 1 |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetColorInsidePositive | ( | const std::vector< double > & | colorInsidePos | ) |
Sets the positive inside color
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
colorInsidePos | Array of 3 RGB values, each between 0 and 1 |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetColorOutsideNegative | ( | const std::vector< double > & | colorOutsideNeg | ) |
Sets the negative outside color
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
colorOutsideNeg | Array of 3 RGB values, each between 0 and 1 |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetColorOutsidePositive | ( | const std::vector< double > & | colorOutsidePos | ) |
Sets the positive outside color
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
colorOutsidePos | Array of 3 RGB values, each between 0 and 1 |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetCoupleLimit | ( | bool | coupleLimit | ) |
Sets the coupling limit
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
coupleLimit | couplelimit |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetCreateCSYS | ( | bool | createCSYS | ) |
Sets the datum CSYS creation
Created in NX8.0.1.
License requirements : studio_analyze ("STUDIO ANALYZE")
createCSYS | createcsys |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawOption | ( | NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection | drawOption | ) |
Sets the draw option
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
drawOption | drawoption |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawOrientation | ( | const NXOpen::Matrix3x3 & | drawOrientation | ) |
Sets the draw orientation
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
drawOrientation | draworientation |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawOrigin | ( | const NXOpen::Point3d & | drawOrigin | ) |
Sets the draw origin
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
drawOrigin | draworigin |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawVector | ( | NXOpen::Direction * | drawVector | ) |
Sets the draw vector
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
drawVector | drawvector |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDynamicNormal | ( | int | index, |
const NXOpen::Vector3d & | normal | ||
) |
Sets dynamic normal
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
index | index |
normal | normal |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDynamicParent | ( | int | index, |
NXOpen::DisplayableObject * | parent | ||
) |
Sets dynamic parent
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
index | index |
parent | parent |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetJoinIsocline | ( | bool | joinIsocline | ) |
Sets the joining isocline
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
joinIsocline | joinisocline |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetLimitAngleNegative | ( | double | limitAngleNeg | ) |
Sets the negative limit angle
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
limitAngleNeg | limitangleneg |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetLimitAnglePositive | ( | double | limitAnglePos | ) |
Sets the positive limit angle
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
limitAnglePos | limitanglepos |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetOutputOption | ( | NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput | outputOption | ) |
Sets the output option
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
outputOption | outputoption |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowIsoclineNegative | ( | bool | showIsoclineNeg | ) |
Sets the negative isocline
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
showIsoclineNeg | showisoclineneg |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowIsoclinePositive | ( | bool | showIsoclinePos | ) |
Sets the positive isocline
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
showIsoclinePos | showisoclinepos |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowPartingLine | ( | bool | showPartingLine | ) |
Sets the show parting line
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
showPartingLine | showpartingline |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTotalDynamicNormals | ( | int | total | ) |
Sets number of dynamic normals
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
total | total |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyInsideNegative | ( | int | translucencyInsideNeg | ) |
Sets the negative inside translucency
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
translucencyInsideNeg | translucencyinsideneg |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyInsidePositive | ( | int | translucencyInsidePos | ) |
Sets the positive inside translucency
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
translucencyInsidePos | translucencyinsidepos |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyOutsideNegative | ( | int | translucencyOutsideNeg | ) |
Sets the negative outside tanslucency
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
translucencyOutsideNeg | translucencyoutsideneg |
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyOutsidePositive | ( | int | translucencyOutsidePos | ) |
Sets the positive outside translucenty
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")
translucencyOutsidePos | translucencyoutsidepos |
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ShowIsoclineNegative | ( | ) |
Returns the negative isocline
Created in NX8.0.0.
License requirements : None
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ShowIsoclinePositive | ( | ) |
Returns the positive isocline
Created in NX8.0.0.
License requirements : None
bool NXOpen::GeometricAnalysis::DraftAnalysisBuilder::ShowPartingLine | ( | ) |
Returns the show parting line
Created in NX8.0.0.
License requirements : None
int NXOpen::GeometricAnalysis::DraftAnalysisBuilder::TranslucencyInsideNegative | ( | ) |
Returns the negative inside translucency
Created in NX8.0.0.
License requirements : None
int NXOpen::GeometricAnalysis::DraftAnalysisBuilder::TranslucencyInsidePositive | ( | ) |
Returns the positive inside translucency
Created in NX8.0.0.
License requirements : None
int NXOpen::GeometricAnalysis::DraftAnalysisBuilder::TranslucencyOutsideNegative | ( | ) |
Returns the negative outside tanslucency
Created in NX8.0.0.
License requirements : None
int NXOpen::GeometricAnalysis::DraftAnalysisBuilder::TranslucencyOutsidePositive | ( | ) |
Returns the positive outside translucenty
Created in NX8.0.0.
License requirements : None
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::UpdateReverseMap | ( | ) |
Updates reverse map
Created in NX8.0.0.
License requirements : studio_analyze ("STUDIO ANALYZE")