NX Open C++ Reference Guide
|
Represents a CAE::ManualMorphBuilder
To create a new instance of this class, use CAE::NodeElementManager::CreateManualMorphBuilder
Created in NX9.0.0.
More...
Public Types | |
enum | MapMethod { MapMethodNearestPoint, MapMethodAlongVector, MapMethodUniformAcrossEdge, MapMethodKeepSourceBias, MapMethodBasedOnEdgeNodeMovement, MapMethodAlongElementNormal } |
Represents the chosen type to apply node mapping on selected geometry. More... | |
enum | MapType { MapTypeStationary, MapTypeNodeToPoint, MapTypeNodeToEdge, MapTypeNodeToFace } |
Represents the type of Manual Mapping. More... | |
Public Member Functions | |
void | CheckNodesForContinuity (const std::vector< NXOpen::CAE::FENode * > &pNodeTags, const std::vector< NXOpen::CAE::FENode * > &pVertexNodeTags) |
Checks continuity of nodes for uniform distribution along selected edges Created in NX9.0.0. | |
void | ClearGeometryOfMap (NXOpen::TaggedObject *mapDataTag) |
Removes all the selected geometry from the manual map Created in NX9.0.0. | |
void | ClearNodesOfMap (NXOpen::TaggedObject *mapDataTag) |
Removes all the selected nodes from the manual map Created in NX9.0.0. | |
NXOpen::TaggedObject * | CreateMapData () |
Creates the object for user defined manual maps. | |
NXOpen::CAE::SelectElementsBuilder * | ElementSelection () |
Returns the selected elements, which will take part in mapping Created in NX9.0.0. | |
void | EmptyMapList () |
Removes all the elements from manual map tag array and makes it empty Created in NX9.0.0. | |
std::vector < NXOpen::TaggedObject * > | GetManualMapList () |
Returns the list of tags of manual map objects created by user. | |
NXOpen::TaggedObject * | GetMapByName (const std::vector< NXOpen::TaggedObject * > &pMapTags, const NXString &mapName) |
Returns the tag of user map object by its name. | |
NXOpen::TaggedObject * | GetMapByName (const std::vector< NXOpen::TaggedObject * > &pMapTags, const char *mapName) |
Returns the tag of user map object by its name. | |
bool | MapSequence () |
Returns the the flag which decides whether mapping is to be done sequentially (one-by-one) or in one go Created in NX9.0.0. | |
void | RemoveMapData (NXOpen::TaggedObject *mapTag) |
Removes specified manual map object from map tag array Created in NX9.0.0. | |
void | SetGeometrySelection (NXOpen::TaggedObject *mapDataTag, const std::vector< NXOpen::TaggedObject * > &pGeomTags) |
Sets the the geometry selected for manual map Created in NX9.0.0. | |
void | SetMapData (NXOpen::TaggedObject *mapTag) |
Sets the new manual map object tag to map tag array Created in NX9.0.0. | |
void | SetMapDirection (NXOpen::TaggedObject *mapDataTag, const std::vector< double > &direction) |
Sets the direction along which nodes will be mapped on to selected geometry Created in NX9.0.0. | |
void | SetMapDirectionMethod (NXOpen::TaggedObject *mapDataTag, int vecMethod) |
Sets the vector creation method used to define direction of manual map Created in NX9.0.0. | |
void | SetMapDirectionPoint (NXOpen::TaggedObject *mapDataTag, const std::vector< double > &pointCoords) |
Sets the start point of vector chosen to define direction of manual map Created in NX9.0.0. | |
void | SetMapMethod (NXOpen::TaggedObject *mapDataTag, NXOpen::CAE::ManualMorphBuilder::MapMethod mapMethod) |
Sets the method chosen to apply node mapping on selected geometry Created in NX9.0.0. | |
void | SetMapName (NXOpen::TaggedObject *mapDataTag, const NXString &mapName) |
Sets the name of manual mapping Created in NX9.0.0. | |
void | SetMapName (NXOpen::TaggedObject *mapDataTag, const char *mapName) |
Sets the name of manual mapping Created in NX9.0.0. | |
void | SetMapSequence (bool isSeq) |
Sets the the flag which decides whether mapping is to be done sequentially (one-by-one) or in one go Created in NX9.0.0. | |
void | SetMapType (NXOpen::TaggedObject *mapDataTag, NXOpen::CAE::ManualMorphBuilder::MapType mapType) |
Sets the manual map type - Stationary, Node-to-Edge, Node-to-Face Created in NX9.0.0. | |
void | SetNodeSelection (NXOpen::TaggedObject *mapDataTag, const std::vector< NXOpen::CAE::FENode * > &pNodeTags) |
Sets the node selected for manual map Created in NX9.0.0. | |
void | SetNodeToCurveEndPointMap (NXOpen::TaggedObject *mapDataTag, const std::vector< NXOpen::CAE::FENode * > &pVertexNodeTags) |
Sets the node-to-CurveEndPoint map for node-to-edge mapping type Created in NX9.0.0. | |
void | SetNodeToVertexMap (NXOpen::TaggedObject *mapDataTag, const std::vector< NXOpen::CAE::FENode * > &pVertexNodeTags) |
Sets the node-to-vetex map for node-to-edge mapping type Created in NX9.0.0. | |
void | SetVertexNode (NXOpen::TaggedObject *mapDataTag, bool isVertexNode) |
Sets the flag for node-to-vertex map for node-to-edge mapping type Created in NX9.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::ManualMorphBuilder
To create a new instance of this class, use CAE::NodeElementManager::CreateManualMorphBuilder
Created in NX9.0.0.
Represents the chosen type to apply node mapping on selected geometry.
For example the nearest point or along specifed vector.
void NXOpen::CAE::ManualMorphBuilder::CheckNodesForContinuity | ( | const std::vector< NXOpen::CAE::FENode * > & | pNodeTags, |
const std::vector< NXOpen::CAE::FENode * > & | pVertexNodeTags | ||
) |
Checks continuity of nodes for uniform distribution along selected edges
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
pNodeTags | pnodetags |
pVertexNodeTags | pvertexnodetags |
void NXOpen::CAE::ManualMorphBuilder::ClearGeometryOfMap | ( | NXOpen::TaggedObject * | mapDataTag | ) |
Removes all the selected geometry from the manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
void NXOpen::CAE::ManualMorphBuilder::ClearNodesOfMap | ( | NXOpen::TaggedObject * | mapDataTag | ) |
Removes all the selected nodes from the manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
NXOpen::TaggedObject* NXOpen::CAE::ManualMorphBuilder::CreateMapData | ( | ) |
Creates the object for user defined manual maps.
NXOpen::CAE::SelectElementsBuilder* NXOpen::CAE::ManualMorphBuilder::ElementSelection | ( | ) |
Returns the selected elements, which will take part in mapping
Created in NX9.0.0.
License requirements : None
void NXOpen::CAE::ManualMorphBuilder::EmptyMapList | ( | ) |
Removes all the elements from manual map tag array and makes it empty
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
std::vector<NXOpen::TaggedObject *> NXOpen::CAE::ManualMorphBuilder::GetManualMapList | ( | ) |
Returns the list of tags of manual map objects created by user.
NXOpen::TaggedObject* NXOpen::CAE::ManualMorphBuilder::GetMapByName | ( | const std::vector< NXOpen::TaggedObject * > & | pMapTags, |
const NXString & | mapName | ||
) |
Returns the tag of user map object by its name.
pMapTags | pmaptags |
mapName | NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::TaggedObject* NXOpen::CAE::ManualMorphBuilder::GetMapByName | ( | const std::vector< NXOpen::TaggedObject * > & | pMapTags, |
const char * | mapName | ||
) |
Returns the tag of user map object by its name.
pMapTags | pmaptags |
mapName | NOTE: The full Unicode character set is not supported for this parameter. |
bool NXOpen::CAE::ManualMorphBuilder::MapSequence | ( | ) |
Returns the the flag which decides whether mapping is to be done sequentially (one-by-one) or in one go
Created in NX9.0.0.
License requirements : None
void NXOpen::CAE::ManualMorphBuilder::RemoveMapData | ( | NXOpen::TaggedObject * | mapTag | ) |
Removes specified manual map object from map tag array
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapTag | maptag |
void NXOpen::CAE::ManualMorphBuilder::SetGeometrySelection | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< NXOpen::TaggedObject * > & | pGeomTags | ||
) |
Sets the the geometry selected for manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
pGeomTags | pgeomtags |
void NXOpen::CAE::ManualMorphBuilder::SetMapData | ( | NXOpen::TaggedObject * | mapTag | ) |
Sets the new manual map object tag to map tag array
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapTag | maptag |
void NXOpen::CAE::ManualMorphBuilder::SetMapDirection | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< double > & | direction | ||
) |
Sets the direction along which nodes will be mapped on to selected geometry
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
direction | direction |
void NXOpen::CAE::ManualMorphBuilder::SetMapDirectionMethod | ( | NXOpen::TaggedObject * | mapDataTag, |
int | vecMethod | ||
) |
Sets the vector creation method used to define direction of manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
vecMethod | vecmethod |
void NXOpen::CAE::ManualMorphBuilder::SetMapDirectionPoint | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< double > & | pointCoords | ||
) |
Sets the start point of vector chosen to define direction of manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
pointCoords | pointcoords |
void NXOpen::CAE::ManualMorphBuilder::SetMapMethod | ( | NXOpen::TaggedObject * | mapDataTag, |
NXOpen::CAE::ManualMorphBuilder::MapMethod | mapMethod | ||
) |
Sets the method chosen to apply node mapping on selected geometry
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
mapMethod | mapmethod |
void NXOpen::CAE::ManualMorphBuilder::SetMapName | ( | NXOpen::TaggedObject * | mapDataTag, |
const NXString & | mapName | ||
) |
Sets the name of manual mapping
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
mapName | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::ManualMorphBuilder::SetMapName | ( | NXOpen::TaggedObject * | mapDataTag, |
const char * | mapName | ||
) |
Sets the name of manual mapping
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
mapName | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::ManualMorphBuilder::SetMapSequence | ( | bool | isSeq | ) |
Sets the the flag which decides whether mapping is to be done sequentially (one-by-one) or in one go
Created in NX9.0.0.
License requirements : None
isSeq | isseq |
void NXOpen::CAE::ManualMorphBuilder::SetMapType | ( | NXOpen::TaggedObject * | mapDataTag, |
NXOpen::CAE::ManualMorphBuilder::MapType | mapType | ||
) |
Sets the manual map type - Stationary, Node-to-Edge, Node-to-Face
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
mapType | maptype |
void NXOpen::CAE::ManualMorphBuilder::SetNodeSelection | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< NXOpen::CAE::FENode * > & | pNodeTags | ||
) |
Sets the node selected for manual map
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
pNodeTags | pnodetags |
void NXOpen::CAE::ManualMorphBuilder::SetNodeToCurveEndPointMap | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< NXOpen::CAE::FENode * > & | pVertexNodeTags | ||
) |
Sets the node-to-CurveEndPoint map for node-to-edge mapping type
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
pVertexNodeTags | pvertexnodetags |
void NXOpen::CAE::ManualMorphBuilder::SetNodeToVertexMap | ( | NXOpen::TaggedObject * | mapDataTag, |
const std::vector< NXOpen::CAE::FENode * > & | pVertexNodeTags | ||
) |
Sets the node-to-vetex map for node-to-edge mapping type
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
pVertexNodeTags | pvertexnodetags |
void NXOpen::CAE::ManualMorphBuilder::SetVertexNode | ( | NXOpen::TaggedObject * | mapDataTag, |
bool | isVertexNode | ||
) |
Sets the flag for node-to-vertex map for node-to-edge mapping type
Created in NX9.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
mapDataTag | mapdatatag |
isVertexNode | isvertexnode |