NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::GeometricAnalysis::DraftAnalysisBuilder Class Reference

Represents a Draft Analysis builder
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder
Default values. More...

Inheritance diagram for NXOpen::GeometricAnalysis::DraftAnalysisBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
bool CoupleLimit ()
 Returns the coupling limit
Created in NX8.0.0. More...
 
bool CreateCSYS ()
 Returns the datum CSYS creation
Created in NX8.0.1. More...
 
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. More...
 
void DeselectFaces (const std::vector< NXOpen::DisplayableObject * > &faces)
 Deselects faces
Created in NX8.0.0. More...
 
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection DrawOption ()
 Returns the draw option
Created in NX8.0.0. More...
 
NXOpen::Matrix3x3 DrawOrientation ()
 Returns the draw orientation
Created in NX8.0.0. More...
 
NXOpen::Point3d DrawOrigin ()
 Returns the draw origin
Created in NX8.0.0. More...
 
NXOpen::DirectionDrawVector ()
 Returns the draw vector
Created in NX8.0.0. More...
 
NXOpen::Features::GeometricConstraintDataManagerDynamicLabel ()
 Returns the constraint manager
Created in NX8.0.0. More...
 
std::vector< double > GetColorInsideNegative ()
 Returns the negative inside color. More...
 
std::vector< double > GetColorInsidePositive ()
 Returns the positive inside color. More...
 
std::vector< double > GetColorOutsideNegative ()
 Returns the negative outside color. More...
 
std::vector< double > GetColorOutsidePositive ()
 Returns the positive outside color. More...
 
bool JoinIsocline ()
 Returns the joining isocline
Created in NX8.0.0. More...
 
double LimitAngleNegative ()
 Returns the negative limit angle
Created in NX8.0.0. More...
 
double LimitAnglePositive ()
 Returns the positive limit angle
Created in NX8.0.0. More...
 
NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput OutputOption ()
 Returns the output option
Created in NX8.0.0. More...
 
void RemoveLabelParents (const std::vector< NXOpen::DisplayableObject * > &parents)
 Removes dynamic label parents
Created in NX8.0.0. More...
 
NXOpen::GeometricUtilities::DisplayResolutionBuilderResolution ()
 Returns the display resolution
Created in NX8.0.0. More...
 
void ReverseAllNormals ()
 Reverses all normals
Created in NX8.0.0. More...
 
NXOpen::SelectDisplayableObjectReverseIndividual ()
 Returns the individual face normal
Created in NX8.0.0. More...
 
void ReverseNormal (NXOpen::DisplayableObject *face)
 Reverses individual face normal
Created in NX8.0.0. More...
 
NXOpen::SelectDisplayableObjectListSelectObject ()
 Returns the faces or facet bodies
Created in NX8.0.0. More...
 
void SetColorInsideNegative (const std::vector< double > &colorInsideNeg)
 Sets the negative inside color
Created in NX8.0.0. More...
 
void SetColorInsidePositive (const std::vector< double > &colorInsidePos)
 Sets the positive inside color
Created in NX8.0.0. More...
 
void SetColorOutsideNegative (const std::vector< double > &colorOutsideNeg)
 Sets the negative outside color
Created in NX8.0.0. More...
 
void SetColorOutsidePositive (const std::vector< double > &colorOutsidePos)
 Sets the positive outside color
Created in NX8.0.0. More...
 
void SetCoupleLimit (bool coupleLimit)
 Sets the coupling limit
Created in NX8.0.0. More...
 
void SetCreateCSYS (bool createCSYS)
 Sets the datum CSYS creation
Created in NX8.0.1. More...
 
void SetDrawOption (NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DrawDirection drawOption)
 Sets the draw option
Created in NX8.0.0. More...
 
void SetDrawOrientation (const NXOpen::Matrix3x3 &drawOrientation)
 Sets the draw orientation
Created in NX8.0.0. More...
 
void SetDrawOrigin (const NXOpen::Point3d &drawOrigin)
 Sets the draw origin
Created in NX8.0.0. More...
 
void SetDrawVector (NXOpen::Direction *drawVector)
 Sets the draw vector
Created in NX8.0.0. More...
 
void SetDynamicNormal (int index, const NXOpen::Vector3d &normal)
 Sets dynamic normal
Created in NX8.0.0. More...
 
void SetDynamicParent (int index, NXOpen::DisplayableObject *parent)
 Sets dynamic parent
Created in NX8.0.0. More...
 
void SetJoinIsocline (bool joinIsocline)
 Sets the joining isocline
Created in NX8.0.0. More...
 
void SetLimitAngleNegative (double limitAngleNeg)
 Sets the negative limit angle
Created in NX8.0.0. More...
 
void SetLimitAnglePositive (double limitAnglePos)
 Sets the positive limit angle
Created in NX8.0.0. More...
 
void SetOutputOption (NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SelectOutput outputOption)
 Sets the output option
Created in NX8.0.0. More...
 
void SetShowIsoclineNegative (bool showIsoclineNeg)
 Sets the negative isocline
Created in NX8.0.0. More...
 
void SetShowIsoclinePositive (bool showIsoclinePos)
 Sets the positive isocline
Created in NX8.0.0. More...
 
void SetShowPartingLine (bool showPartingLine)
 Sets the show parting line
Created in NX8.0.0. More...
 
void SetTotalDynamicNormals (int total)
 Sets number of dynamic normals
Created in NX8.0.0. More...
 
void SetTranslucencyInsideNegative (int translucencyInsideNeg)
 Sets the negative inside translucency
Created in NX8.0.0. More...
 
void SetTranslucencyInsidePositive (int translucencyInsidePos)
 Sets the positive inside translucency
Created in NX8.0.0. More...
 
void SetTranslucencyOutsideNegative (int translucencyOutsideNeg)
 Sets the negative outside tanslucency
Created in NX8.0.0. More...
 
void SetTranslucencyOutsidePositive (int translucencyOutsidePos)
 Sets the positive outside translucenty
Created in NX8.0.0. More...
 
bool ShowIsoclineNegative ()
 Returns the negative isocline
Created in NX8.0.0. More...
 
bool ShowIsoclinePositive ()
 Returns the positive isocline
Created in NX8.0.0. More...
 
bool ShowPartingLine ()
 Returns the show parting line
Created in NX8.0.0. More...
 
int TranslucencyInsideNegative ()
 Returns the negative inside translucency
Created in NX8.0.0. More...
 
int TranslucencyInsidePositive ()
 Returns the positive inside translucency
Created in NX8.0.0. More...
 
int TranslucencyOutsideNegative ()
 Returns the negative outside tanslucency
Created in NX8.0.0. More...
 
int TranslucencyOutsidePositive ()
 Returns the positive outside translucenty
Created in NX8.0.0. More...
 
void UpdateReverseMap ()
 Updates reverse map
Created in NX8.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Draft Analysis builder
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisObjectCollection::CreateDraftAnalysisBuilder
Default values.

Property Value

CoupleLimit

1

CreateCSYS

0

DrawOption

Orientation

JoinIsocline

0

LimitAngleNegative

-5

LimitAnglePositive

5

OutputOption

AnalysisObject

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.

Member Enumeration Documentation

define draw direction items

Enumerator
DrawDirectionVector 

vector;

DrawDirectionOrientation 

orientation;

define output options

Enumerator
SelectOutputAnalysisObject 

analysis object;

SelectOutputIsoclines 

isoclines;

SelectOutputBoth 

analysis object and isoclines;

Member Function Documentation

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")

Parameters
deletedLabelsdeletedlabels
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::DeselectFaces ( const std::vector< NXOpen::DisplayableObject * > &  faces)

Deselects faces
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
facesfaces
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.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX8.0.0.

License requirements : None
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorInsidePositive ( )

Returns the positive inside color.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX8.0.0.

License requirements : None
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorOutsideNegative ( )

Returns the negative outside color.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX8.0.0.

License requirements : None
std::vector<double> NXOpen::GeometricAnalysis::DraftAnalysisBuilder::GetColorOutsidePositive ( )

Returns the positive outside color.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX8.0.0.

License requirements : None
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")

Parameters
parentsparents
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")

Parameters
faceface
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")

Parameters
colorInsideNegArray 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")

Parameters
colorInsidePosArray 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")

Parameters
colorOutsideNegArray 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")

Parameters
colorOutsidePosArray 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")

Parameters
coupleLimitcouplelimit
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetCreateCSYS ( bool  createCSYS)

Sets the datum CSYS creation
Created in NX8.0.1.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
createCSYScreatecsys
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")

Parameters
drawOptiondrawoption
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawOrientation ( const NXOpen::Matrix3x3 drawOrientation)

Sets the draw orientation
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
drawOrientationdraworientation
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawOrigin ( const NXOpen::Point3d drawOrigin)

Sets the draw origin
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
drawOrigindraworigin
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDrawVector ( NXOpen::Direction drawVector)

Sets the draw vector
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
drawVectordrawvector
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")

Parameters
indexindex
normalnormal
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetDynamicParent ( int  index,
NXOpen::DisplayableObject parent 
)

Sets dynamic parent
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
indexindex
parentparent
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetJoinIsocline ( bool  joinIsocline)

Sets the joining isocline
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
joinIsoclinejoinisocline
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetLimitAngleNegative ( double  limitAngleNeg)

Sets the negative limit angle
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
limitAngleNeglimitangleneg
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetLimitAnglePositive ( double  limitAnglePos)

Sets the positive limit angle
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
limitAnglePoslimitanglepos
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")

Parameters
outputOptionoutputoption
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowIsoclineNegative ( bool  showIsoclineNeg)

Sets the negative isocline
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
showIsoclineNegshowisoclineneg
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowIsoclinePositive ( bool  showIsoclinePos)

Sets the positive isocline
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
showIsoclinePosshowisoclinepos
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetShowPartingLine ( bool  showPartingLine)

Sets the show parting line
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
showPartingLineshowpartingline
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTotalDynamicNormals ( int  total)

Sets number of dynamic normals
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
totaltotal
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyInsideNegative ( int  translucencyInsideNeg)

Sets the negative inside translucency
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
translucencyInsideNegtranslucencyinsideneg
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyInsidePositive ( int  translucencyInsidePos)

Sets the positive inside translucency
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
translucencyInsidePostranslucencyinsidepos
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyOutsideNegative ( int  translucencyOutsideNeg)

Sets the negative outside tanslucency
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
translucencyOutsideNegtranslucencyoutsideneg
void NXOpen::GeometricAnalysis::DraftAnalysisBuilder::SetTranslucencyOutsidePositive ( int  translucencyOutsidePos)

Sets the positive outside translucenty
Created in NX8.0.0.



License requirements : studio_analyze ("STUDIO ANALYZE")

Parameters
translucencyOutsidePostranslucencyoutsidepos
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")


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