NX Open C++ Reference Guide
|
Allows you to query the mesh nodes that are off the underlying Cad geometry by a given tolerance, and if requested this builder can adjust the node locations to put them back on to the underlying Cad geometry. More...
Public Types | |
enum | ListingOption { ListingOptionNone = -1, ListingOptionSummaryOnly, ListingOptionAll } |
Listing Options. More... | |
enum | Operation { OperationShow, OperationAdjust } |
Operations. More... | |
Public Member Functions | |
NXOpen::NXColor * | AdjustedNodeLocationColor () |
Returns the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry. | |
void | AdjustProximityNodes () |
Adjusts the proximity nodes identified to the new location to meet the given tolerance with underlying CAD geometries. | |
NXOpen::SelectDisplayableObjectList * | CheckedObjectsList () |
Returns the selected objects for checking. | |
std::vector< NXOpen::Point3d > | GetProximityNodes (std::vector< NXOpen::CAE::FENode * > &proximityNodes) |
Returns the cached proximity nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyProximityNodes . | |
void | IdentifyProximityNodes () |
Identifies the proximity nodes which are off the underlying CAD geometry according to CAE::ProjectNodesToCadGeometryBuilder::ProximityTolerance and CAE::ProjectNodesToCadGeometryBuilder::SetProximityTolerance and CAE::ProjectNodesToCadGeometryBuilder::IncludeMidnodes and CAE::ProjectNodesToCadGeometryBuilder::SetIncludeMidnodes . | |
bool | IncludeMidnodes () |
Returns a value indicating whether to include element midnodes in the operation. | |
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption | ListingOptionState () |
Returns the listing option Created in NX6.0.4. | |
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation | OperationState () |
Returns the operation to be performed. | |
NXOpen::NXColor * | OriginalNodeLocationColor () |
Returns the display color of proximity nodes' original location. | |
double | ProximityTolerance () |
Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry | |
NXOpen::CAE::SelectMeshList * | SelectionList () |
Returns the selected meshes | |
void | SetAdjustedNodeLocationColor (NXOpen::NXColor *locationColor) |
Sets the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry. | |
void | SetIncludeMidnodes (bool bIncludeMidnodes) |
Sets a value indicating whether to include element midnodes in the operation. | |
void | SetListingOptionState (NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption option) |
Sets the listing option Created in NX6.0.4. | |
void | SetOperationState (NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation operation) |
Sets the operation to be performed. | |
void | SetOriginalNodeLocationColor (NXOpen::NXColor *locationColor) |
Sets the display color of proximity nodes' original location. | |
void | SetProximityTolerance (double dProximityTolerance) |
Sets the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry | |
void | SetShowNodeLabels (bool showLabels) |
Sets a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry. | |
void | SetShowNodeLocations (bool showLocations) |
Sets a value indicating whether to show original location and adjusted location for the proximity nodes that are off the underlying CAD geometry by a given tolerance. | |
bool | ShowNodeLabels () |
Returns a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry. | |
bool | ShowNodeLocations () |
Returns a value indicating whether to show original location and adjusted location for the proximity nodes that are off the underlying CAD geometry by a given tolerance. | |
NXOpen::Expression * | Tolerance () |
Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry Created in NX8.5.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. | |
Allows you to query the mesh nodes that are off the underlying Cad geometry by a given tolerance, and if requested this builder can adjust the node locations to put them back on to the underlying Cad geometry.
<br> To create a new instance of this class, use @link CAE::MeshManager::CreateProjectNodesToCadGeometryBuilder CAE::MeshManager::CreateProjectNodesToCadGeometryBuilder @endlink <br>
Created in NX6.0.4.
Listing Options.
Operations.
OperationShow |
Display information on nodes that are off the CAD geometry by more than the input tolerance. |
OperationAdjust |
Adjust nodes that are off the geometry by more than the input tolerance by projecting them on to the CAD geometry. |
NXOpen::NXColor* NXOpen::CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor | ( | ) |
Returns the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry.
Created in NX8.5.0.
License requirements : None
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::AdjustProximityNodes | ( | ) |
Adjusts the proximity nodes identified to the new location to meet the given tolerance with underlying CAD geometries.
The cached identified result will be clean when the adjust work is completed. The method Builder::Commit will do the same thing. The adjust work is only available when the context part of this builder is a CAE::FemPart .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
NXOpen::SelectDisplayableObjectList* NXOpen::CAE::ProjectNodesToCadGeometryBuilder::CheckedObjectsList | ( | ) |
Returns the selected objects for checking.
The objects must be CAE::Mesh , CAE::CAEBody or CAE::CAEFace
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
std::vector<NXOpen::Point3d> NXOpen::CAE::ProjectNodesToCadGeometryBuilder::GetProximityNodes | ( | std::vector< NXOpen::CAE::FENode * > & | proximityNodes | ) |
Returns the cached proximity nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyProximityNodes .
proximityNodes | proximity nodes |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::IdentifyProximityNodes | ( | ) |
Identifies the proximity nodes which are off the underlying CAD geometry according to CAE::ProjectNodesToCadGeometryBuilder::ProximityTolerance and CAE::ProjectNodesToCadGeometryBuilder::SetProximityTolerance and CAE::ProjectNodesToCadGeometryBuilder::IncludeMidnodes and CAE::ProjectNodesToCadGeometryBuilder::SetIncludeMidnodes .
If showing nodes is true, the identified node location will be displayed. The identified result will be cached, you could access the cached identified nodes by CAE::ProjectNodesToCadGeometryBuilder::GetProximityNodes . Each time, the old cached result will be clean up when the new identify process is running.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
bool NXOpen::CAE::ProjectNodesToCadGeometryBuilder::IncludeMidnodes | ( | ) |
Returns a value indicating whether to include element midnodes in the operation.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOptionState | ( | ) |
Returns the listing option
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation NXOpen::CAE::ProjectNodesToCadGeometryBuilder::OperationState | ( | ) |
Returns the operation to be performed.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
NXOpen::NXColor* NXOpen::CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor | ( | ) |
Returns the display color of proximity nodes' original location.
Created in NX8.5.0.
License requirements : None
double NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ProximityTolerance | ( | ) |
Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
Use CAE::ProjectNodesToCadGeometryBuilder::Tolerance instead.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
NXOpen::CAE::SelectMeshList* NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SelectionList | ( | ) |
Returns the selected meshes
Use CAE::ProjectNodesToCadGeometryBuilder::CheckedObjectsList instead.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor | ( | NXOpen::NXColor * | locationColor | ) |
Sets the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
locationColor | locationcolor |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetIncludeMidnodes | ( | bool | bIncludeMidnodes | ) |
Sets a value indicating whether to include element midnodes in the operation.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
bIncludeMidnodes | bincludemidnodes |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetListingOptionState | ( | NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption | option | ) |
Sets the listing option
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
option | option |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetOperationState | ( | NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation | operation | ) |
Sets the operation to be performed.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
operation | operation |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor | ( | NXOpen::NXColor * | locationColor | ) |
Sets the display color of proximity nodes' original location.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
locationColor | locationcolor |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetProximityTolerance | ( | double | dProximityTolerance | ) |
Sets the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
Use CAE::ProjectNodesToCadGeometryBuilder::Tolerance instead.
Created in NX6.0.4.
License requirements : nx_masterfem ("Finite Element Modeling")
dProximityTolerance | dproximitytolerance |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetShowNodeLabels | ( | bool | showLabels | ) |
Sets a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
showLabels | showlabels |
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::SetShowNodeLocations | ( | bool | showLocations | ) |
Sets a value indicating whether to show original location and adjusted location for the proximity nodes that are off the underlying CAD geometry by a given tolerance.
The original node location will be displayed in color @link CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor @endlink and @link CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor @endlink . The adjusted node location will be displayed in color @link CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor @endlink and @link CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor @endlink .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling")
showLocations | showlocations |
bool NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ShowNodeLabels | ( | ) |
Returns a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry.
Created in NX8.5.0.
License requirements : None
bool NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ShowNodeLocations | ( | ) |
Returns a value indicating whether to show original location and adjusted location for the proximity nodes that are off the underlying CAD geometry by a given tolerance.
The original node location will be displayed in color @link CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor @endlink and @link CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor @endlink . The adjusted node location will be displayed in color @link CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor @endlink and @link CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor @endlink .
Created in NX8.5.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Tolerance | ( | ) |
Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
Created in NX8.5.0.
License requirements : None