NX Open C++ Reference Guide
|
Represents a @link Features::Scale Features::Scale@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateScaleBuilder Features::FeatureCollection::CreateScaleBuilder @endlink <br>
Default values. More...
Public Types | |
enum | Types { TypesUniform, TypesAxisymmetric, TypesGeneral } |
Scale type. More... | |
Public Member Functions | |
NXOpen::SelectBodyList * | BodyToScale () |
Returns the bodyToScale Created in NX5.0.0. | |
NXOpen::CoordinateSystem * | Csys () |
Returns the csys as CoordinateSystem Created in NX5.0.0. | |
NXOpen::Point * | Point () |
Returns the point as Point Created in NX5.0.0. | |
NXOpen::Expression * | ScaleAlongAxis () |
Returns the scale along axis Created in NX5.0.0. | |
NXOpen::Expression * | ScaleOtherDirection () |
Returns the scale other direction Created in NX5.0.0. | |
NXOpen::Expression * | ScaleXdirection () |
Returns the scale xdirection Created in NX5.0.0. | |
NXOpen::Expression * | ScaleYdirection () |
Returns the scale ydirection Created in NX5.0.0. | |
NXOpen::Expression * | ScaleZdirection () |
Returns the scale zdirection Created in NX5.0.0. | |
void | SetCsys (NXOpen::CoordinateSystem *csys) |
Sets the csys as CoordinateSystem Created in NX5.0.0. | |
void | SetPoint (NXOpen::Point *point) |
Sets the point as Point Created in NX5.0.0. | |
void | SetType (NXOpen::Features::ScaleBuilder::Types type) |
Sets the scale type Features::ScaleBuilder::Types Created in NX5.0.0. | |
void | SetVector (NXOpen::Direction *vector) |
Sets the vector as Direction Created in NX5.0.0. | |
NXOpen::Features::ScaleBuilder::Types | Type () |
Returns the scale type Features::ScaleBuilder::Types Created in NX5.0.0. | |
NXOpen::Expression * | UniformFactor () |
Returns the uniform factor Created in NX5.0.0. | |
NXOpen::Direction * | Vector () |
Returns the vector as Direction Created in NX5.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::Scale Features::Scale@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateScaleBuilder Features::FeatureCollection::CreateScaleBuilder @endlink <br>
Default values.
Property | Value |
---|---|
ScaleAlongAxis.Value |
1.0 |
ScaleOtherDirection.Value |
1.0 |
ScaleXdirection.Value |
1.0 |
ScaleYdirection.Value |
1.0 |
ScaleZdirection.Value |
1.0 |
UniformFactor.Value |
1.0 |
Created in NX5.0.0.
Scale type.
NXOpen::SelectBodyList* NXOpen::Features::ScaleBuilder::BodyToScale | ( | ) |
Returns the bodyToScale
Created in NX5.0.0.
License requirements : None
NXOpen::CoordinateSystem* NXOpen::Features::ScaleBuilder::Csys | ( | ) |
Returns the csys as CoordinateSystem
Created in NX5.0.0.
License requirements : None
NXOpen::Point* NXOpen::Features::ScaleBuilder::Point | ( | ) |
Returns the point as Point
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::ScaleAlongAxis | ( | ) |
Returns the scale along axis
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::ScaleOtherDirection | ( | ) |
Returns the scale other direction
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::ScaleXdirection | ( | ) |
Returns the scale xdirection
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::ScaleYdirection | ( | ) |
Returns the scale ydirection
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::ScaleZdirection | ( | ) |
Returns the scale zdirection
Created in NX5.0.0.
License requirements : None
void NXOpen::Features::ScaleBuilder::SetCsys | ( | NXOpen::CoordinateSystem * | csys | ) |
Sets the csys as CoordinateSystem
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
csys | Set the reference Co-ordinate system from which scaling has to be done |
void NXOpen::Features::ScaleBuilder::SetPoint | ( | NXOpen::Point * | point | ) |
Sets the point as Point
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
point | Set the referance point from which scaling has to be done |
void NXOpen::Features::ScaleBuilder::SetType | ( | NXOpen::Features::ScaleBuilder::Types | type | ) |
Sets the scale type Features::ScaleBuilder::Types
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | Gets the type of the scale method |
void NXOpen::Features::ScaleBuilder::SetVector | ( | NXOpen::Direction * | vector | ) |
NXOpen::Features::ScaleBuilder::Types NXOpen::Features::ScaleBuilder::Type | ( | ) |
Returns the scale type Features::ScaleBuilder::Types
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ScaleBuilder::UniformFactor | ( | ) |
Returns the uniform factor
Created in NX5.0.0.
License requirements : None
NXOpen::Direction* NXOpen::Features::ScaleBuilder::Vector | ( | ) |
Returns the vector as Direction
Created in NX5.0.0.
License requirements : None