NX Open C++ Reference Guide
|
Builder for creating 3D Centerline. More...
Public Types | |
enum | Offset { OffsetNone, OffsetDistanceMethod, OffsetObjectMethod } |
the valid types of 3D Centerline offset method More... | |
Public Member Functions | |
bool | AlignedCenterlines () |
Returns the aligned centerlines, applicable only for creation Created in NX6.0.0. | |
NXOpen::SelectNXObject * | Inherit () |
Returns the inherit object Created in NX6.0.0. | |
double | OffsetDistance () |
Returns the offset distance, it is used only when aligned centerlines toggle is off Created in NX6.0.0. | |
NXOpen::Annotations::Centerline3dBuilder::Offset | OffsetMethod () |
Returns the offset method , it is used only when aligned centerlines toggle is off Created in NX6.0.0. | |
NXOpen::SelectNXObject * | OffsetObject () |
Returns the offset object, it is used only when aligned centerlines toggle is off Created in NX6.0.0. | |
void | SetAlignedCenterlines (bool alignedCenterlines) |
Sets the aligned centerlines, applicable only for creation Created in NX6.0.0. | |
void | SetOffsetDistance (double offsetDistance) |
Sets the offset distance, it is used only when aligned centerlines toggle is off Created in NX6.0.0. | |
void | SetOffsetMethod (NXOpen::Annotations::Centerline3dBuilder::Offset offsetMethod) |
Sets the offset method , it is used only when aligned centerlines toggle is off Created in NX6.0.0. | |
![]() | |
NXOpen::SelectNXObjectList * | Face () |
Returns the face Created in NX6.0.0. | |
int | ReferenceIndex () |
Returns the reference index Created in NX6.0.0. | |
void | SetReferenceIndex (int referenceIndex) |
Sets the reference index Created in NX6.0.0. | |
NXOpen::Annotations::Centerline3dSettingsBuilder * | Settings () |
Returns the settings builder Created in NX6.0.0. | |
![]() | |
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. | |
Builder for creating 3D Centerline.
It creates or edits 3D Centerlines
To create a new instance of this class, use Annotations::CenterlineCollection::CreateCenterline3dBuilder
Default values.
Property | Value |
---|---|
AlignedCenterlines |
false |
OffsetDistance |
0 |
OffsetMethod |
None |
Created in NX6.0.0.
the valid types of 3D Centerline offset method
bool NXOpen::Annotations::Centerline3dBuilder::AlignedCenterlines | ( | ) |
Returns the aligned centerlines, applicable only for creation
Created in NX6.0.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::Annotations::Centerline3dBuilder::Inherit | ( | ) |
Returns the inherit object
Created in NX6.0.0.
License requirements : None
double NXOpen::Annotations::Centerline3dBuilder::OffsetDistance | ( | ) |
Returns the offset distance, it is used only when aligned centerlines toggle is off
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::Centerline3dBuilder::Offset NXOpen::Annotations::Centerline3dBuilder::OffsetMethod | ( | ) |
Returns the offset method , it is used only when aligned centerlines toggle is off
Created in NX6.0.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::Annotations::Centerline3dBuilder::OffsetObject | ( | ) |
Returns the offset object, it is used only when aligned centerlines toggle is off
Created in NX6.0.0.
License requirements : None
void NXOpen::Annotations::Centerline3dBuilder::SetAlignedCenterlines | ( | bool | alignedCenterlines | ) |
Sets the aligned centerlines, applicable only for creation
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
alignedCenterlines | alignedcenterlines |
void NXOpen::Annotations::Centerline3dBuilder::SetOffsetDistance | ( | double | offsetDistance | ) |
Sets the offset distance, it is used only when aligned centerlines toggle is off
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
offsetDistance | offsetdistance |
void NXOpen::Annotations::Centerline3dBuilder::SetOffsetMethod | ( | NXOpen::Annotations::Centerline3dBuilder::Offset | offsetMethod | ) |
Sets the offset method , it is used only when aligned centerlines toggle is off
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
offsetMethod | offsetmethod |