NX Open C++ Reference Guide
|
Represents a CAE::ElementTranslateBuilder
To create a new instance of this class, use CAE::NodeElementManager::CreateElementTranslateBuilder
Created in NX5.0.0.
More...
Public Types | |
enum | DistanceType { DistanceTypePerCopy, DistanceTypeTotal } |
Distance - specify whether the translation distance is per copy or total. More... | |
enum | ElemDimensionType { ElemDimensionTypeAny, ElemDimensionTypeBeam, ElemDimensionTypeShell, ElemDimensionTypeSolid } |
Dimension of the elements to be created. More... | |
enum | LabelType { LabelTypeLabel, LabelTypeOffset } |
Option to use label/increment or offset. More... | |
enum | MethodType { MethodTypeComponent, MethodTypeDirection, MethodTypeElemNormal } |
Translation method. More... | |
enum | NewMeshType { NewMeshTypeCreate, NewMeshTypeExisting } |
Option to create a new mesh or add the new elements to an existing mesh. More... | |
Public Member Functions | |
NXOpen::CoordinateSystem * | Csys () |
Returns the coordinate system to be used for translating the selected elements Created in NX5.0.0. | |
NXOpen::Expression * | Distance () |
Returns the total distance for translation along a vector Created in NX5.0.0. | |
NXOpen::CAE::ElementTranslateBuilder::DistanceType | DistanceOption () |
Returns the distance option Created in NX5.0.0. | |
NXOpen::CAE::ElementTranslateBuilder::ElemDimensionType | ElementDimension () |
Returns the dimension of the elements to be translated Created in NX5.0.0. | |
NXOpen::CAE::SelectElementsBuilder * | ElementSelection () |
Returns the selected elements Created in NX5.0.0. | |
NXOpen::CAE::ElementTypeBuilder * | ElementType () |
Returns the element type builder. | |
int | FlipState () |
Returns the flip state from the builder Created in NX8.0.0. | |
int | Increment () |
Returns the increment in label for each new element Created in NX5.0.0. | |
int | Label () |
Returns the start label for the new elements Created in NX5.0.0. | |
NXOpen::CAE::ElementTranslateBuilder::LabelType | LabelOption () |
Returns the option to specify the start label and increment for the new elements OR specify an offset from the existing element labels Created in NX5.0.0. | |
NXString | MeshCollectorName () |
Returns the name of the mesh collector which will hold the new elements Created in NX5.0.0. | |
NXString | MeshName () |
Returns the name of the mesh that will hold the new elements Created in NX5.0.0. | |
NXOpen::CAE::ElementTranslateBuilder::MethodType | Method () |
Returns the method to be used for translating the selected elements Created in NX5.0.0. | |
NXString | NeutralName () |
Returns the neutral name of the elements to be created Created in NX5.0.0. | |
NXOpen::CAE::ElementTranslateBuilder::NewMeshType | NewMeshOption () |
Returns the option to create a new mesh or add the new elements to an existing mesh Created in NX5.0.0. | |
int | NumCopy () |
Returns the number of copies to be created for each selected element Created in NX5.0.0. | |
int | Offset () |
Returns the offset to be used to generate new element labels Created in NX5.0.0. | |
NXOpen::Expression * | PAngle () |
Returns the phi angle for translation in a spherical coordinate system Created in NX5.0.0. | |
NXOpen::Expression * | RDistance () |
Returns the radial component of distance for translation in a cylindrical/spherical coordinate system Created in NX5.0.0. | |
void | SetCsys (NXOpen::CoordinateSystem *csys) |
Sets the coordinate system to be used for translating the selected elements Created in NX5.0.0. | |
void | SetDistanceOption (NXOpen::CAE::ElementTranslateBuilder::DistanceType distanceOption) |
Sets the distance option Created in NX5.0.0. | |
void | SetElementDimension (NXOpen::CAE::ElementTranslateBuilder::ElemDimensionType elementDimension) |
Sets the dimension of the elements to be translated Created in NX5.0.0. | |
void | SetFlipState (int flipstate) |
Sets the flip state from the builder Created in NX8.0.0. | |
void | SetIncrement (int increment) |
Sets the increment in label for each new element Created in NX5.0.0. | |
void | SetLabel (int label) |
Sets the start label for the new elements Created in NX5.0.0. | |
void | SetLabelOption (NXOpen::CAE::ElementTranslateBuilder::LabelType labelOption) |
Sets the option to specify the start label and increment for the new elements OR specify an offset from the existing element labels Created in NX5.0.0. | |
void | SetMeshCollectorName (const NXString &meshCollectorName) |
Sets the name of the mesh collector which will hold the new elements Created in NX5.0.0. | |
void | SetMeshCollectorName (const char *meshCollectorName) |
Sets the name of the mesh collector which will hold the new elements Created in NX5.0.0. | |
void | SetMeshName (const NXString &meshName) |
Sets the name of the mesh that will hold the new elements Created in NX5.0.0. | |
void | SetMeshName (const char *meshName) |
Sets the name of the mesh that will hold the new elements Created in NX5.0.0. | |
void | SetMethod (NXOpen::CAE::ElementTranslateBuilder::MethodType method) |
Sets the method to be used for translating the selected elements Created in NX5.0.0. | |
void | SetNeutralName (const NXString &neutralName) |
Sets the neutral name of the elements to be created Created in NX5.0.0. | |
void | SetNeutralName (const char *neutralName) |
Sets the neutral name of the elements to be created Created in NX5.0.0. | |
void | SetNewMeshOption (NXOpen::CAE::ElementTranslateBuilder::NewMeshType newMeshOption) |
Sets the option to create a new mesh or add the new elements to an existing mesh Created in NX5.0.0. | |
void | SetNumCopy (int numCopy) |
Sets the number of copies to be created for each selected element Created in NX5.0.0. | |
void | SetOffset (int offset) |
Sets the offset to be used to generate new element labels Created in NX5.0.0. | |
void | SetVector (NXOpen::Direction *vector) |
Sets the vector along which the selected elements should be translated Created in NX5.0.0. | |
NXOpen::Expression * | TAngle () |
Returns the theta angle for translation in a cylindrical/spherical coordinate system Created in NX5.0.0. | |
NXOpen::Direction * | Vector () |
Returns the vector along which the selected elements should be translated Created in NX5.0.0. | |
NXOpen::Expression * | XDistance () |
Returns the x component of distance for translation in a cartesian coordinate system Created in NX5.0.0. | |
NXOpen::Expression * | YDistance () |
Returns the y component of distance for translation in a cartesian coordinate system Created in NX5.0.0. | |
NXOpen::Expression * | ZDistance () |
Returns the z component of distance for translation in a cartesian/cylindrical coordinate system Created in NX5.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 CAE::ElementTranslateBuilder
To create a new instance of this class, use CAE::NodeElementManager::CreateElementTranslateBuilder
Created in NX5.0.0.
NXOpen::CoordinateSystem* NXOpen::CAE::ElementTranslateBuilder::Csys | ( | ) |
Returns the coordinate system to be used for translating the selected elements
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::Distance | ( | ) |
Returns the total distance for translation along a vector
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTranslateBuilder::DistanceType NXOpen::CAE::ElementTranslateBuilder::DistanceOption | ( | ) |
Returns the distance option
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTranslateBuilder::ElemDimensionType NXOpen::CAE::ElementTranslateBuilder::ElementDimension | ( | ) |
Returns the dimension of the elements to be translated
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::SelectElementsBuilder* NXOpen::CAE::ElementTranslateBuilder::ElementSelection | ( | ) |
Returns the selected elements
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTypeBuilder* NXOpen::CAE::ElementTranslateBuilder::ElementType | ( | ) |
Returns the element type builder.
Created in NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
int NXOpen::CAE::ElementTranslateBuilder::FlipState | ( | ) |
Returns the flip state from the builder
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
int NXOpen::CAE::ElementTranslateBuilder::Increment | ( | ) |
Returns the increment in label for each new element
Created in NX5.0.0.
License requirements : None
int NXOpen::CAE::ElementTranslateBuilder::Label | ( | ) |
Returns the start label for the new elements
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTranslateBuilder::LabelType NXOpen::CAE::ElementTranslateBuilder::LabelOption | ( | ) |
Returns the option to specify the start label and increment for the new elements OR specify an offset from the existing element labels
Created in NX5.0.0.
License requirements : None
NXString NXOpen::CAE::ElementTranslateBuilder::MeshCollectorName | ( | ) |
Returns the name of the mesh collector which will hold the new elements
Created in NX5.0.0.
License requirements : None
NXString NXOpen::CAE::ElementTranslateBuilder::MeshName | ( | ) |
Returns the name of the mesh that will hold the new elements
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTranslateBuilder::MethodType NXOpen::CAE::ElementTranslateBuilder::Method | ( | ) |
Returns the method to be used for translating the selected elements
Created in NX5.0.0.
License requirements : None
NXString NXOpen::CAE::ElementTranslateBuilder::NeutralName | ( | ) |
Returns the neutral name of the elements to be created
Created in NX5.0.0.
License requirements : None
NXOpen::CAE::ElementTranslateBuilder::NewMeshType NXOpen::CAE::ElementTranslateBuilder::NewMeshOption | ( | ) |
Returns the option to create a new mesh or add the new elements to an existing mesh
Created in NX5.0.0.
License requirements : None
int NXOpen::CAE::ElementTranslateBuilder::NumCopy | ( | ) |
Returns the number of copies to be created for each selected element
Created in NX5.0.0.
License requirements : None
int NXOpen::CAE::ElementTranslateBuilder::Offset | ( | ) |
Returns the offset to be used to generate new element labels
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::PAngle | ( | ) |
Returns the phi angle for translation in a spherical coordinate system
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::RDistance | ( | ) |
Returns the radial component of distance for translation in a cylindrical/spherical coordinate system
Created in NX5.0.0.
License requirements : None
void NXOpen::CAE::ElementTranslateBuilder::SetCsys | ( | NXOpen::CoordinateSystem * | csys | ) |
Sets the coordinate system to be used for translating the selected elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
csys | csys |
void NXOpen::CAE::ElementTranslateBuilder::SetDistanceOption | ( | NXOpen::CAE::ElementTranslateBuilder::DistanceType | distanceOption | ) |
Sets the distance option
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
distanceOption | distance option |
void NXOpen::CAE::ElementTranslateBuilder::SetElementDimension | ( | NXOpen::CAE::ElementTranslateBuilder::ElemDimensionType | elementDimension | ) |
Sets the dimension of the elements to be translated
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
elementDimension | element dimension |
void NXOpen::CAE::ElementTranslateBuilder::SetFlipState | ( | int | flipstate | ) |
Sets the flip state from the builder
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
flipstate | flipstate |
void NXOpen::CAE::ElementTranslateBuilder::SetIncrement | ( | int | increment | ) |
Sets the increment in label for each new element
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
increment | increment |
void NXOpen::CAE::ElementTranslateBuilder::SetLabel | ( | int | label | ) |
Sets the start label for the new elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
label | label |
void NXOpen::CAE::ElementTranslateBuilder::SetLabelOption | ( | NXOpen::CAE::ElementTranslateBuilder::LabelType | labelOption | ) |
Sets the option to specify the start label and increment for the new elements OR specify an offset from the existing element labels
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
labelOption | label option |
void NXOpen::CAE::ElementTranslateBuilder::SetMeshCollectorName | ( | const NXString & | meshCollectorName | ) |
Sets the name of the mesh collector which will hold the new elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
meshCollectorName | mesh collector name |
void NXOpen::CAE::ElementTranslateBuilder::SetMeshCollectorName | ( | const char * | meshCollectorName | ) |
Sets the name of the mesh collector which will hold the new elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
meshCollectorName | mesh collector name |
void NXOpen::CAE::ElementTranslateBuilder::SetMeshName | ( | const NXString & | meshName | ) |
Sets the name of the mesh that will hold the new elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
meshName | mesh name |
void NXOpen::CAE::ElementTranslateBuilder::SetMeshName | ( | const char * | meshName | ) |
Sets the name of the mesh that will hold the new elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
meshName | mesh name |
void NXOpen::CAE::ElementTranslateBuilder::SetMethod | ( | NXOpen::CAE::ElementTranslateBuilder::MethodType | method | ) |
Sets the method to be used for translating the selected elements
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
method | method |
void NXOpen::CAE::ElementTranslateBuilder::SetNeutralName | ( | const NXString & | neutralName | ) |
Sets the neutral name of the elements to be created
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
neutralName | neutral name |
void NXOpen::CAE::ElementTranslateBuilder::SetNeutralName | ( | const char * | neutralName | ) |
Sets the neutral name of the elements to be created
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
neutralName | neutral name |
void NXOpen::CAE::ElementTranslateBuilder::SetNewMeshOption | ( | NXOpen::CAE::ElementTranslateBuilder::NewMeshType | newMeshOption | ) |
Sets the option to create a new mesh or add the new elements to an existing mesh
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
newMeshOption | new mesh option |
void NXOpen::CAE::ElementTranslateBuilder::SetNumCopy | ( | int | numCopy | ) |
Sets the number of copies to be created for each selected element
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
numCopy | num copy |
void NXOpen::CAE::ElementTranslateBuilder::SetOffset | ( | int | offset | ) |
Sets the offset to be used to generate new element labels
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
offset | offset |
void NXOpen::CAE::ElementTranslateBuilder::SetVector | ( | NXOpen::Direction * | vector | ) |
Sets the vector along which the selected elements should be translated
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
vector | vector |
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::TAngle | ( | ) |
Returns the theta angle for translation in a cylindrical/spherical coordinate system
Created in NX5.0.0.
License requirements : None
NXOpen::Direction* NXOpen::CAE::ElementTranslateBuilder::Vector | ( | ) |
Returns the vector along which the selected elements should be translated
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::XDistance | ( | ) |
Returns the x component of distance for translation in a cartesian coordinate system
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::YDistance | ( | ) |
Returns the y component of distance for translation in a cartesian coordinate system
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ElementTranslateBuilder::ZDistance | ( | ) |
Returns the z component of distance for translation in a cartesian/cylindrical coordinate system
Created in NX5.0.0.
License requirements : None