NX Open C++ Reference Guide
|
the builder for Drafting Automation Preferences
To create a new instance of this class, use Drafting::AutomationManager::CreatePreferencesBuilder
Created in NX8.0.0.
More...
Public Member Functions | |
bool | AllowFeetInchFractionForDimensionGreaterThan () |
Returns the determination of the feet inch fraction display for dimension greater than Created in NX8.0.0. | |
bool | AllowInchFractionToNearest () |
Returns the determination of the display for inch fraction to nearest Created in NX8.0.0. | |
bool | AnnotationInsideGeometry () |
Returns the annotation inside geometry Created in NX8.0.0. | |
bool | DisplayRegion () |
Returns the display in non template Created in NX8.0.0. | |
bool | DisplayRegionLabel () |
Returns the display region label Created in NX8.0.0. | |
double | DistanceBetweenAnnotations () |
Returns the distance between annotations Created in NX8.0.0. | |
double | EqualDimensionCompareTolerance () |
Returns the equal dimension compare tolerance Created in NX8.0.0. | |
double | FeetInchFractionForDimensionGreaterThan () |
Returns the feet inch fraction for dimension greater than Created in NX8.0.0. | |
std::vector< NXString > | GetRulesList () |
Get the ordered rules list. | |
bool | HideFeetInchMark () |
Returns the hide feet inch mark Created in NX8.0.0. | |
double | InchFractionToNearest () |
Returns the inch fraction to nearest Created in NX8.0.0. | |
double | MaximumDistanceToGeometry () |
Returns the maximum distance to geometry Created in NX8.0.0. | |
double | MinimumDistanceToGeometry () |
Returns the minimum distance to geometry Created in NX8.0.0. | |
double | ReferenceGeometrySearchDistance () |
Returns the reference geometry search distance Created in NX8.0.0. | |
NXOpen::NXColor * | RegionColor () |
Returns the region color Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::FontType | RegionFont () |
Returns the region font Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::WidthType | RegionWidth () |
Returns the region width Created in NX8.0.0. | |
NXOpen::NXColor * | SecondaryContentHiddenLineColor () |
Returns the secondary content hidden line color Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::FontType | SecondaryContentHiddenLineFont () |
Returns the secondary content hidden line font Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::WidthType | SecondaryContentHiddenLineWidth () |
Returns the secondary content hidden line width Created in NX8.0.0. | |
NXOpen::NXColor * | SecondaryContentVisibleLineColor () |
Returns the secondary content visible line color Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::FontType | SecondaryContentVisibleLineFont () |
Returns the secondary content visible line font Created in NX8.0.0. | |
NXOpen::Preferences::PartDrafting::WidthType | SecondaryContentVisibleLineWidth () |
Returns the secondary content visible line width Created in NX8.0.0. | |
void | SetAllowFeetInchFractionForDimensionGreaterThan (bool allowFeetInchFractionForDimensionGreaterThan) |
Sets the determination of the feet inch fraction display for dimension greater than Created in NX8.0.0. | |
void | SetAllowInchFractionToNearest (bool allowInchFractionToNearest) |
Sets the determination of the display for inch fraction to nearest Created in NX8.0.0. | |
void | SetAnnotationInsideGeometry (bool annotationInsideGeometry) |
Sets the annotation inside geometry Created in NX8.0.0. | |
void | SetDisplayRegion (bool displayRegion) |
Sets the display in non template Created in NX8.0.0. | |
void | SetDisplayRegionLabel (bool displayRegionLabel) |
Sets the display region label Created in NX8.0.0. | |
void | SetDistanceBetweenAnnotations (double distanceBetweenAnnotations) |
Sets the distance between annotations Created in NX8.0.0. | |
void | SetEqualDimensionCompareTolerance (double equalDimensionCompareTolerance) |
Sets the equal dimension compare tolerance Created in NX8.0.0. | |
void | SetFeetInchFractionForDimensionGreaterThan (double feetInchFractionForDimensionGreaterThan) |
Sets the feet inch fraction for dimension greater than Created in NX8.0.0. | |
void | SetHideFeetInchMark (bool hideFeetInchMark) |
Sets the hide feet inch mark Created in NX8.0.0. | |
void | SetInchFractionToNearest (double inchFractionToNearest) |
Sets the inch fraction to nearest Created in NX8.0.0. | |
void | SetMaximumDistanceToGeometry (double maximumDistanceToGeometry) |
Sets the maximum distance to geometry Created in NX8.0.0. | |
void | SetMinimumDistanceToGeometry (double minimumDistanceToGeometry) |
Sets the minimum distance to geometry Created in NX8.0.0. | |
void | SetReferenceGeometrySearchDistance (double referenceGeometrySearchDistance) |
Sets the reference geometry search distance Created in NX8.0.0. | |
void | SetRegionColor (NXOpen::NXColor *regionColor) |
Sets the region color Created in NX8.0.0. | |
void | SetRegionFont (NXOpen::Preferences::PartDrafting::FontType regionFont) |
Sets the region font Created in NX8.0.0. | |
void | SetRegionWidth (NXOpen::Preferences::PartDrafting::WidthType regionWidth) |
Sets the region width Created in NX8.0.0. | |
void | SetRulesList (std::vector< NXString > &rules) |
Set the ordered rules list | |
void | SetSecondaryContentHiddenLineColor (NXOpen::NXColor *secondaryContentHiddenLineColor) |
Sets the secondary content hidden line color Created in NX8.0.0. | |
void | SetSecondaryContentHiddenLineFont (NXOpen::Preferences::PartDrafting::FontType secondaryContentHiddenLineFont) |
Sets the secondary content hidden line font Created in NX8.0.0. | |
void | SetSecondaryContentHiddenLineWidth (NXOpen::Preferences::PartDrafting::WidthType secondaryContentHiddenLineWidth) |
Sets the secondary content hidden line width Created in NX8.0.0. | |
void | SetSecondaryContentVisibleLineColor (NXOpen::NXColor *secondaryContentVisibleLineColor) |
Sets the secondary content visible line color Created in NX8.0.0. | |
void | SetSecondaryContentVisibleLineFont (NXOpen::Preferences::PartDrafting::FontType secondaryContentVisibleLineFont) |
Sets the secondary content visible line font Created in NX8.0.0. | |
void | SetSecondaryContentVisibleLineWidth (NXOpen::Preferences::PartDrafting::WidthType secondaryContentVisibleLineWidth) |
Sets the secondary content visible line width 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. | |
the builder for Drafting Automation Preferences
To create a new instance of this class, use Drafting::AutomationManager::CreatePreferencesBuilder
Created in NX8.0.0.
bool NXOpen::Drafting::AutomationPreferencesBuilder::AllowFeetInchFractionForDimensionGreaterThan | ( | ) |
Returns the determination of the feet inch fraction display for dimension greater than
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drafting::AutomationPreferencesBuilder::AllowInchFractionToNearest | ( | ) |
Returns the determination of the display for inch fraction to nearest
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drafting::AutomationPreferencesBuilder::AnnotationInsideGeometry | ( | ) |
Returns the annotation inside geometry
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drafting::AutomationPreferencesBuilder::DisplayRegion | ( | ) |
Returns the display in non template
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drafting::AutomationPreferencesBuilder::DisplayRegionLabel | ( | ) |
Returns the display region label
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::DistanceBetweenAnnotations | ( | ) |
Returns the distance between annotations
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::EqualDimensionCompareTolerance | ( | ) |
Returns the equal dimension compare tolerance
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::FeetInchFractionForDimensionGreaterThan | ( | ) |
Returns the feet inch fraction for dimension greater than
Created in NX8.0.0.
License requirements : None
std::vector<NXString> NXOpen::Drafting::AutomationPreferencesBuilder::GetRulesList | ( | ) |
Get the ordered rules list.
bool NXOpen::Drafting::AutomationPreferencesBuilder::HideFeetInchMark | ( | ) |
Returns the hide feet inch mark
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::InchFractionToNearest | ( | ) |
Returns the inch fraction to nearest
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::MaximumDistanceToGeometry | ( | ) |
Returns the maximum distance to geometry
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::MinimumDistanceToGeometry | ( | ) |
Returns the minimum distance to geometry
Created in NX8.0.0.
License requirements : None
double NXOpen::Drafting::AutomationPreferencesBuilder::ReferenceGeometrySearchDistance | ( | ) |
Returns the reference geometry search distance
Created in NX8.0.0.
License requirements : None
NXOpen::NXColor* NXOpen::Drafting::AutomationPreferencesBuilder::RegionColor | ( | ) |
Returns the region color
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::FontType NXOpen::Drafting::AutomationPreferencesBuilder::RegionFont | ( | ) |
Returns the region font
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::WidthType NXOpen::Drafting::AutomationPreferencesBuilder::RegionWidth | ( | ) |
Returns the region width
Created in NX8.0.0.
License requirements : None
NXOpen::NXColor* NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentHiddenLineColor | ( | ) |
Returns the secondary content hidden line color
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::FontType NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentHiddenLineFont | ( | ) |
Returns the secondary content hidden line font
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::WidthType NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentHiddenLineWidth | ( | ) |
Returns the secondary content hidden line width
Created in NX8.0.0.
License requirements : None
NXOpen::NXColor* NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentVisibleLineColor | ( | ) |
Returns the secondary content visible line color
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::FontType NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentVisibleLineFont | ( | ) |
Returns the secondary content visible line font
Created in NX8.0.0.
License requirements : None
NXOpen::Preferences::PartDrafting::WidthType NXOpen::Drafting::AutomationPreferencesBuilder::SecondaryContentVisibleLineWidth | ( | ) |
Returns the secondary content visible line width
Created in NX8.0.0.
License requirements : None
void NXOpen::Drafting::AutomationPreferencesBuilder::SetAllowFeetInchFractionForDimensionGreaterThan | ( | bool | allowFeetInchFractionForDimensionGreaterThan | ) |
Sets the determination of the feet inch fraction display for dimension greater than
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
allowFeetInchFractionForDimensionGreaterThan | allowfeetinchfractionfordimensiongreaterthan |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetAllowInchFractionToNearest | ( | bool | allowInchFractionToNearest | ) |
Sets the determination of the display for inch fraction to nearest
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
allowInchFractionToNearest | allowinchfractiontonearest |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetAnnotationInsideGeometry | ( | bool | annotationInsideGeometry | ) |
Sets the annotation inside geometry
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
annotationInsideGeometry | annotationinsidegeometry |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetDisplayRegion | ( | bool | displayRegion | ) |
Sets the display in non template
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
displayRegion | displayregion |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetDisplayRegionLabel | ( | bool | displayRegionLabel | ) |
Sets the display region label
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
displayRegionLabel | displayregionlabel |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetDistanceBetweenAnnotations | ( | double | distanceBetweenAnnotations | ) |
Sets the distance between annotations
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
distanceBetweenAnnotations | distancebetweenannotations |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetEqualDimensionCompareTolerance | ( | double | equalDimensionCompareTolerance | ) |
Sets the equal dimension compare tolerance
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
equalDimensionCompareTolerance | equaldimensioncomparetolerance |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetFeetInchFractionForDimensionGreaterThan | ( | double | feetInchFractionForDimensionGreaterThan | ) |
Sets the feet inch fraction for dimension greater than
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
feetInchFractionForDimensionGreaterThan | feetinchfractionfordimensiongreaterthan |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetHideFeetInchMark | ( | bool | hideFeetInchMark | ) |
Sets the hide feet inch mark
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
hideFeetInchMark | hidefeetinchmark |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetInchFractionToNearest | ( | double | inchFractionToNearest | ) |
Sets the inch fraction to nearest
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
inchFractionToNearest | inchfractiontonearest |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetMaximumDistanceToGeometry | ( | double | maximumDistanceToGeometry | ) |
Sets the maximum distance to geometry
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
maximumDistanceToGeometry | maximumdistancetogeometry |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetMinimumDistanceToGeometry | ( | double | minimumDistanceToGeometry | ) |
Sets the minimum distance to geometry
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
minimumDistanceToGeometry | minimumdistancetogeometry |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetReferenceGeometrySearchDistance | ( | double | referenceGeometrySearchDistance | ) |
Sets the reference geometry search distance
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
referenceGeometrySearchDistance | referencegeometrysearchdistance |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetRegionColor | ( | NXOpen::NXColor * | regionColor | ) |
Sets the region color
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
regionColor | regioncolor |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetRegionFont | ( | NXOpen::Preferences::PartDrafting::FontType | regionFont | ) |
Sets the region font
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
regionFont | regionfont |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetRegionWidth | ( | NXOpen::Preferences::PartDrafting::WidthType | regionWidth | ) |
Sets the region width
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
regionWidth | regionwidth |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetRulesList | ( | std::vector< NXString > & | rules | ) |
Set the ordered rules list
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
rules | Rules list |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentHiddenLineColor | ( | NXOpen::NXColor * | secondaryContentHiddenLineColor | ) |
Sets the secondary content hidden line color
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentHiddenLineColor | secondarycontenthiddenlinecolor |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentHiddenLineFont | ( | NXOpen::Preferences::PartDrafting::FontType | secondaryContentHiddenLineFont | ) |
Sets the secondary content hidden line font
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentHiddenLineFont | secondarycontenthiddenlinefont |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentHiddenLineWidth | ( | NXOpen::Preferences::PartDrafting::WidthType | secondaryContentHiddenLineWidth | ) |
Sets the secondary content hidden line width
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentHiddenLineWidth | secondarycontenthiddenlinewidth |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentVisibleLineColor | ( | NXOpen::NXColor * | secondaryContentVisibleLineColor | ) |
Sets the secondary content visible line color
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentVisibleLineColor | secondarycontentvisiblelinecolor |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentVisibleLineFont | ( | NXOpen::Preferences::PartDrafting::FontType | secondaryContentVisibleLineFont | ) |
Sets the secondary content visible line font
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentVisibleLineFont | secondarycontentvisiblelinefont |
void NXOpen::Drafting::AutomationPreferencesBuilder::SetSecondaryContentVisibleLineWidth | ( | NXOpen::Preferences::PartDrafting::WidthType | secondaryContentVisibleLineWidth | ) |
Sets the secondary content visible line width
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
secondaryContentVisibleLineWidth | secondarycontentvisiblelinewidth |