NX Open C++ Reference Guide
|
Represents a @link Features::Extension Features::Extension@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateExtensionBuilder Features::FeatureCollection::CreateExtensionBuilder @endlink <br>
Default values. More...
Public Types | |
enum | Distance { DistanceByLength, DistanceByPercentage } |
The distance type. More... | |
enum | Extension { ExtensionTangential, ExtensionCircular } |
The extension method. More... | |
enum | Types { TypesEdge, TypesCorner } |
The part of the face to extend. More... | |
Public Member Functions | |
NXOpen::Features::ExtensionBuilder::Distance | DistanceType () |
Returns the distance type Created in NX8.0.0. | |
NXOpen::Features::ExtensionBuilder::Extension | ExtendType () |
Returns the extend type Created in NX8.0.0. | |
NXOpen::Expression * | Length () |
Returns the length Created in NX8.0.0. | |
NXOpen::Expression * | Percent () |
Returns the percent Created in NX8.0.0. | |
NXOpen::Expression * | PercentU () |
Returns the percent u Created in NX8.0.0. | |
NXOpen::Expression * | PercentV () |
Returns the percent v Created in NX8.0.0. | |
NXOpen::SelectNXObject * | Selection () |
Returns the selection Created in NX8.0.0. | |
void | SetDistanceType (NXOpen::Features::ExtensionBuilder::Distance distanceType) |
Sets the distance type Created in NX8.0.0. | |
void | SetExtendType (NXOpen::Features::ExtensionBuilder::Extension extendType) |
Sets the extend type Created in NX8.0.0. | |
void | SetTolerance (double tolerance) |
Sets the tolerance Created in NX8.0.0. | |
void | SetType (NXOpen::Features::ExtensionBuilder::Types type) |
Sets the type Created in NX8.0.0. | |
double | Tolerance () |
Returns the tolerance Created in NX8.0.0. | |
NXOpen::Features::ExtensionBuilder::Types | Type () |
Returns the type Created in NX8.0.0. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.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. | |
Represents a @link Features::Extension Features::Extension@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateExtensionBuilder Features::FeatureCollection::CreateExtensionBuilder @endlink <br>
Default values.
Property | Value |
---|---|
DistanceType |
ByLength |
ExtendType |
Tangential |
Length.Value |
10 (millimeters part), 1 (inches part) |
Percent.Value |
10 (millimeters part), 1 (inches part) |
PercentU.Value |
10 (millimeters part), 1 (inches part) |
PercentV.Value |
10 (millimeters part), 1 (inches part) |
Created in NX8.0.0.
NXOpen::Features::ExtensionBuilder::Distance NXOpen::Features::ExtensionBuilder::DistanceType | ( | ) |
Returns the distance type
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ExtensionBuilder::Extension NXOpen::Features::ExtensionBuilder::ExtendType | ( | ) |
Returns the extend type
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ExtensionBuilder::Length | ( | ) |
Returns the length
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ExtensionBuilder::Percent | ( | ) |
Returns the percent
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ExtensionBuilder::PercentU | ( | ) |
Returns the percent u
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ExtensionBuilder::PercentV | ( | ) |
Returns the percent v
Created in NX8.0.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::Features::ExtensionBuilder::Selection | ( | ) |
Returns the selection
Created in NX8.0.0.
License requirements : None
void NXOpen::Features::ExtensionBuilder::SetDistanceType | ( | NXOpen::Features::ExtensionBuilder::Distance | distanceType | ) |
Sets the distance type
Created in NX8.0.0.
License requirements : nx_freeform_2 ("advanced freeform modeling")
distanceType | distancetype |
void NXOpen::Features::ExtensionBuilder::SetExtendType | ( | NXOpen::Features::ExtensionBuilder::Extension | extendType | ) |
Sets the extend type
Created in NX8.0.0.
License requirements : nx_freeform_2 ("advanced freeform modeling")
extendType | extendtype |
void NXOpen::Features::ExtensionBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance
Created in NX8.0.0.
License requirements : nx_freeform_2 ("advanced freeform modeling")
tolerance | tolerance |
void NXOpen::Features::ExtensionBuilder::SetType | ( | NXOpen::Features::ExtensionBuilder::Types | type | ) |
Sets the type
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR free_form_modeling ("FREE-FORM MODELING")
type | type |
double NXOpen::Features::ExtensionBuilder::Tolerance | ( | ) |
Returns the tolerance
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ExtensionBuilder::Types NXOpen::Features::ExtensionBuilder::Type | ( | ) |
Returns the type
Created in NX8.0.0.
License requirements : None