NX Open C++ Reference Guide
|
Represents a Base Centerline Builder for all types of centerlines
This is an abstract class, and cannot be instantiated.
More...
Public Member Functions | |
void | AddEndExtensions (double start, double end) |
Adds extensions only at ends Created in NX6.0.0. | |
void | AddExtension (int index, double defaultValue) |
Adds extension based on select object index Created in NX6.0.0. | |
std::vector< double > | GetAllExtensions () |
Returns all extensions. | |
std::vector< double > | GetAllIndividualExtensions () |
Returns individual extensions. | |
std::vector< double > | GetEndExtensions () |
Returns end extensions only. | |
void | RemoveEndExtensions () |
Removes extensions only at ends Created in NX6.0.0. | |
void | RemoveExtension (int index) |
Removes extension based on select object index Created in NX6.0.0. | |
void | ResetAllExtensions (double defaultValue) |
Reset all extensions by the supplied defaultValue Created in NX6.0.1. | |
void | SetAllIndividualExtensions (const std::vector< double > &extensionValues) |
Sets all individual extensions Created in NX8.0.1. | |
void | SetEndExtensions (double start, double end) |
Modifies end extensions only Created in NX6.0.0. | |
void | SetIndividualExtensions (int index, double value1, double value2) |
Modifies extensions based on select object index Created in NX6.0.0. | |
Represents a Base Centerline Builder for all types of centerlines
This is an abstract class, and cannot be instantiated.
Created in NX6.0.0.
void NXOpen::Annotations::CenterlineBuilder::AddEndExtensions | ( | double | start, |
double | end | ||
) |
Adds extensions only at ends
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
start | Default start extension value |
end | Default end extension value |
void NXOpen::Annotations::CenterlineBuilder::AddExtension | ( | int | index, |
double | defaultValue | ||
) |
Adds extension based on select object index
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
index | Index of the selected object |
defaultValue | Default extension value |
std::vector<double> NXOpen::Annotations::CenterlineBuilder::GetAllExtensions | ( | ) |
Returns all extensions.
If the builder is a @link Annotations::BoltCircleCenterlineBuilder Annotations::BoltCircleCenterlineBuilder@endlink or @link Annotations::CircularCenterlineBuilder Annotations::CircularCenterlineBuilder@endlink and @link Annotations::CircleCenterlineSettingsBuilder::IndividualDistance Annotations::CircleCenterlineSettingsBuilder::IndividualDistance@endlink is false, this will method will return no extensions. @return Extension values as output
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
std::vector<double> NXOpen::Annotations::CenterlineBuilder::GetAllIndividualExtensions | ( | ) |
Returns individual extensions.
This method is applicable only for Annotations::CenterMark and Annotations::CircleCenterline .
If the builder is a @link Annotations::BoltCircleCenterlineBuilder Annotations::BoltCircleCenterlineBuilder@endlink or @link Annotations::CircularCenterlineBuilder Annotations::CircularCenterlineBuilder@endlink and @link Annotations::CircleCenterlineSettingsBuilder::IndividualDistance Annotations::CircleCenterlineSettingsBuilder::IndividualDistance@endlink is false, this will method will return no extensions. @return Extension values as output
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
std::vector<double> NXOpen::Annotations::CenterlineBuilder::GetEndExtensions | ( | ) |
Returns end extensions only.
The first and the last extension of the centerline.
If the builder is a @link Annotations::BoltCircleCenterlineBuilder Annotations::BoltCircleCenterlineBuilder@endlink or @link Annotations::CircularCenterlineBuilder Annotations::CircularCenterlineBuilder@endlink and @link Annotations::CircleCenterlineSettingsBuilder::IndividualDistance Annotations::CircleCenterlineSettingsBuilder::IndividualDistance@endlink is false, this will method will return no extensions. @return Extension values as output
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
void NXOpen::Annotations::CenterlineBuilder::RemoveEndExtensions | ( | ) |
Removes extensions only at ends
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
void NXOpen::Annotations::CenterlineBuilder::RemoveExtension | ( | int | index | ) |
Removes extension based on select object index
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
index | Index of the selected object |
void NXOpen::Annotations::CenterlineBuilder::ResetAllExtensions | ( | double | defaultValue | ) |
Reset all extensions by the supplied defaultValue
Created in NX6.0.1.
License requirements : drafting ("DRAFTING")
defaultValue | New extension value |
void NXOpen::Annotations::CenterlineBuilder::SetAllIndividualExtensions | ( | const std::vector< double > & | extensionValues | ) |
Sets all individual extensions
Created in NX8.0.1.
License requirements : drafting ("DRAFTING")
extensionValues | Extension values as input |
void NXOpen::Annotations::CenterlineBuilder::SetEndExtensions | ( | double | start, |
double | end | ||
) |
Modifies end extensions only
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
start | New extension value at one end |
end | New extension value at one end |
void NXOpen::Annotations::CenterlineBuilder::SetIndividualExtensions | ( | int | index, |
double | value1, | ||
double | value2 | ||
) |
Modifies extensions based on select object index
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
index | Index of the selected object |
value1 | New extension value at one end |
value2 | New extension value at other end |