NX Open C++ Reference Guide
|
Represents a Annotations::HoleCalloutSettingsBuilder , this builder contains list(s) of parameter(s) for feature(s). More...
Public Member Functions | |
void | DeleteLineBreak (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If the nth hole feature parameter of feature type is a line break and it can be deleted, deletes it. | |
NXOpen::Annotations::HoleCalloutSettingsBuilder::LeaderAttachment | GetLeaderAttachment () |
Gets the leader attachment, which decides where the leader is attached to the call out. | |
double | GetLineSpaceFactor () |
Gets the line space factor, which defines the vertical space between parameters. | |
std::vector < NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype > | GetListOfFeatures () |
Gets the list of features. | |
std::vector < NXOpen::Annotations::HoleCalloutSettingsBuilder::Parametertype > | GetListOfParameters (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType) |
Gets the list of parameters for feature type. | |
bool | GetNthParameterDisplay (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
Gets the display status of the nth hole feature parameter of feature type. | |
std::vector< NXString > | GetNthParameterPrefix (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If the nth hole feature parameter of feature type can have prefix, gets its prefix. | |
NXOpen::Annotations::StyleBuilder * | GetNthParameterStyle (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
Gets the parameter style of the nth hole feature parameter of feature type. | |
std::vector< NXString > | GetNthParameterSuffix (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If the nth hole feature parameter of feature type can have suffix, gets its suffix. | |
NXString | GetNthParameterValue (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
Gets the parameter expression of the nth hole feature parameter of feature type. | |
double | GetParameterSpaceFactor () |
Gets the parameter space factor, which defines the horizontal space between parameters. | |
void | InsertLineBreak (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If a line break can be inserted immediately after the nth hole feature parameter of feature type, inserts a line break at that position. | |
void | ResetFromFeature (NXOpen::Features::Feature *feature, NXOpen::Assemblies::Component *partOccurrence, NXOpen::View *view, const NXOpen::Point3d &pickPoint) |
Reset the builder data based on a feature if the feature is a hole feature. | |
void | SetLeaderAttachment (NXOpen::Annotations::HoleCalloutSettingsBuilder::LeaderAttachment leaderAttachment) |
Sets the leader attachment, which decides where the leader is attached to the call out. | |
void | SetLineSpaceFactor (double lineSpaceFactor) |
Sets the line space factor, which defines the vertical space between parameters. | |
void | SetNthParameterDisplay (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth, bool parameterDisplay) |
Sets the display status of the nth hole feature parameter of feature type. | |
void | SetNthParameterPrefix (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth, std::vector< NXString > &lines) |
If the prefix of the nth hole feature parameter of feature type can be edited, sets its prefix. | |
void | SetNthParameterSuffix (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth, std::vector< NXString > &lines) |
If the suffix of the nth hole feature parameter of feature type can be edited, sets its suffix. | |
void | SetNthParameterValue (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth, const NXString &value) |
Sets the parameter expression of the nth hole feature parameter of feature type. | |
void | SetNthParameterValue (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth, const char *value) |
Sets the parameter expression of the nth hole feature parameter of feature type. | |
void | SetParameterSpaceFactor (double parameterSpaceFactor) |
Sets the parameter space factor, which defines the horizontal space between parameters. | |
void | ShiftDown (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If the position of the nth hole feature parameter of feature type can be shifted down, shifts it down by one. | |
void | ShiftUp (NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype featureType, int nth) |
If the position of the nth hole feature parameter of feature type can be shifted up, shifts it up by one. | |
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 Annotations::HoleCalloutSettingsBuilder , this builder contains list(s) of parameter(s) for feature(s).
Each feature is categorized under a feature type, indicated by Annotations::HoleCalloutSettingsBuilder::Featuretype . For each feature, parameter(s) are arranged in an array, with a starting index of zero.
This is a sub-builder class and cannot be directly instantiated
Created in NX9.0.0.
This reprensent the option that indicates a type of hole features.
This reprensent the option that indicates a type of hole feature parameters.
void NXOpen::Annotations::HoleCalloutSettingsBuilder::DeleteLineBreak | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If the nth hole feature parameter of feature type is a line break and it can be deleted, deletes it.
To delete the second parameter of feature type @link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , for instance, use the API: @link Annotations::HoleCalloutSettingsBuilder::DeleteLineBreak Annotations::HoleCalloutSettingsBuilder::DeleteLineBreak@endlink (@link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , 1)
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
NXOpen::Annotations::HoleCalloutSettingsBuilder::LeaderAttachment NXOpen::Annotations::HoleCalloutSettingsBuilder::GetLeaderAttachment | ( | ) |
Gets the leader attachment, which decides where the leader is attached to the call out.
double NXOpen::Annotations::HoleCalloutSettingsBuilder::GetLineSpaceFactor | ( | ) |
Gets the line space factor, which defines the vertical space between parameters.
std::vector<NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype> NXOpen::Annotations::HoleCalloutSettingsBuilder::GetListOfFeatures | ( | ) |
Gets the list of features.
std::vector<NXOpen::Annotations::HoleCalloutSettingsBuilder::Parametertype> NXOpen::Annotations::HoleCalloutSettingsBuilder::GetListOfParameters | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType | ) |
Gets the list of parameters for feature type.
featureType | featuretype |
bool NXOpen::Annotations::HoleCalloutSettingsBuilder::GetNthParameterDisplay | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
Gets the display status of the nth hole feature parameter of feature type.
featureType | featuretype |
nth | nth |
std::vector<NXString> NXOpen::Annotations::HoleCalloutSettingsBuilder::GetNthParameterPrefix | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If the nth hole feature parameter of feature type can have prefix, gets its prefix.
featureType | featuretype |
nth | nth |
NXOpen::Annotations::StyleBuilder* NXOpen::Annotations::HoleCalloutSettingsBuilder::GetNthParameterStyle | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
Gets the parameter style of the nth hole feature parameter of feature type.
featureType | featuretype |
nth | nth |
std::vector<NXString> NXOpen::Annotations::HoleCalloutSettingsBuilder::GetNthParameterSuffix | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If the nth hole feature parameter of feature type can have suffix, gets its suffix.
featureType | featuretype |
nth | nth |
NXString NXOpen::Annotations::HoleCalloutSettingsBuilder::GetNthParameterValue | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
Gets the parameter expression of the nth hole feature parameter of feature type.
featureType | featuretype |
nth | nth |
double NXOpen::Annotations::HoleCalloutSettingsBuilder::GetParameterSpaceFactor | ( | ) |
Gets the parameter space factor, which defines the horizontal space between parameters.
void NXOpen::Annotations::HoleCalloutSettingsBuilder::InsertLineBreak | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If a line break can be inserted immediately after the nth hole feature parameter of feature type, inserts a line break at that position.
To insert a line break after the fourth parameter of feature type @link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , for instance, use the API: @link Annotations::HoleCalloutSettingsBuilder::InsertLineBreak Annotations::HoleCalloutSettingsBuilder::InsertLineBreak@endlink (@link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , 3)
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::ResetFromFeature | ( | NXOpen::Features::Feature * | feature, |
NXOpen::Assemblies::Component * | partOccurrence, | ||
NXOpen::View * | view, | ||
const NXOpen::Point3d & | pickPoint | ||
) |
Reset the builder data based on a feature if the feature is a hole feature.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
feature | feature |
partOccurrence | partoccurrence |
view | view |
pickPoint | selected object point |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetLeaderAttachment | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::LeaderAttachment | leaderAttachment | ) |
Sets the leader attachment, which decides where the leader is attached to the call out.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
leaderAttachment | leaderattachment |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetLineSpaceFactor | ( | double | lineSpaceFactor | ) |
Sets the line space factor, which defines the vertical space between parameters.
The line space factor cannot be less than zero.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
lineSpaceFactor | linespacefactor |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetNthParameterDisplay | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth, | ||
bool | parameterDisplay | ||
) |
Sets the display status of the nth hole feature parameter of feature type.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
parameterDisplay | parameterdisplay |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetNthParameterPrefix | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth, | ||
std::vector< NXString > & | lines | ||
) |
If the prefix of the nth hole feature parameter of feature type can be edited, sets its prefix.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
lines | List of new lines |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetNthParameterSuffix | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth, | ||
std::vector< NXString > & | lines | ||
) |
If the suffix of the nth hole feature parameter of feature type can be edited, sets its suffix.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
lines | List of new lines |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetNthParameterValue | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth, | ||
const NXString & | value | ||
) |
Sets the parameter expression of the nth hole feature parameter of feature type.
Created in NX9.0.0.
License requirements : None
featureType | featuretype |
nth | nth |
value | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetNthParameterValue | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth, | ||
const char * | value | ||
) |
Sets the parameter expression of the nth hole feature parameter of feature type.
Created in NX9.0.0.
License requirements : None
featureType | featuretype |
nth | nth |
value | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::SetParameterSpaceFactor | ( | double | parameterSpaceFactor | ) |
Sets the parameter space factor, which defines the horizontal space between parameters.
The parameter space factor cannot be less than zero.
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
parameterSpaceFactor | parameterspacefactor |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::ShiftDown | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If the position of the nth hole feature parameter of feature type can be shifted down, shifts it down by one.
To shift down the first parameter of feature type @link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , for instance, use the API: @link Annotations::HoleCalloutSettingsBuilder::ShiftDown Annotations::HoleCalloutSettingsBuilder::ShiftDown@endlink (@link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , 0)
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
void NXOpen::Annotations::HoleCalloutSettingsBuilder::ShiftUp | ( | NXOpen::Annotations::HoleCalloutSettingsBuilder::Featuretype | featureType, |
int | nth | ||
) |
If the position of the nth hole feature parameter of feature type can be shifted up, shifts it up by one.
To shift up the third parameter of feature type @link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , for instance, use the API: @link Annotations::HoleCalloutSettingsBuilder::ShiftUp Annotations::HoleCalloutSettingsBuilder::ShiftUp@endlink (@link Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole Annotations::HoleCalloutSettingsBuilder::FeaturetypeGeneralHole@endlink , 2)
Created in NX9.0.0.
License requirements : drafting ("DRAFTING")
featureType | featuretype |
nth | nth |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.