NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::CAE::ProjectNodesToCadGeometryBuilder Class Reference

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...

Inheritance diagram for NXOpen::CAE::ProjectNodesToCadGeometryBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  ListingOption { ListingOptionNone = -1, ListingOptionSummaryOnly, ListingOptionAll }
 Listing Options. More...
 
enum  Operation { OperationShow, OperationAdjust }
 Operations. More...
 

Public Member Functions

NXOpen::NXColorAdjustedNodeLocationColor ()
 Returns the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry. More...
 
void AdjustProximityNodes ()
 Adjusts the proximity nodes identified to the new location to meet the given tolerance with underlying CAD geometries. More...
 
NXOpen::SelectDisplayableObjectListCheckedObjectsList ()
 Returns the selected objects for checking. More...
 
std::vector< NXOpen::Point3dGetNodes (std::vector< NXOpen::CAE::FENode * > &nodes, std::vector< NXOpen::NXObject * > &cadGeometries)
 Returns the cached nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyCadGeometry . More...
 
std::vector< NXOpen::Point3dGetProximityNodes (std::vector< NXOpen::CAE::FENode * > &proximityNodes)
 Returns the cached proximity nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyProximityNodes . More...
 
void IdentifyCadGeometry ()
 Identifies the relationship between CAD geometry and the nodes, The identified result will be cached, you could access the cached results by calling CAE::ProjectNodesToCadGeometryBuilder::GetNodes . More...
 
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 . More...
 
bool IncludeMidnodes ()
 Returns a value indicating whether to include element midnodes in the operation. More...
 
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption ListingOptionState ()
 Returns the listing option
Created in NX6.0.4. More...
 
NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation OperationState ()
 Returns the operation to be performed. More...
 
NXOpen::NXColorOriginalNodeLocationColor ()
 Returns the display color of proximity nodes' original location. More...
 
double ProximityTolerance ()
 Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
More...
 
NXOpen::CAE::SelectMeshListSelectionList ()
 Returns the selected meshes
More...
 
void SetAdjustedNodeLocationColor (NXOpen::NXColor *locationColor)
 Sets the display color of proximity node new location which will meet the given tolerance with undelying CAD geometry. More...
 
void SetIncludeMidnodes (bool bIncludeMidnodes)
 Sets a value indicating whether to include element midnodes in the operation. More...
 
void SetListingOptionState (NXOpen::CAE::ProjectNodesToCadGeometryBuilder::ListingOption option)
 Sets the listing option
Created in NX6.0.4. More...
 
void SetOperationState (NXOpen::CAE::ProjectNodesToCadGeometryBuilder::Operation operation)
 Sets the operation to be performed. More...
 
void SetOriginalNodeLocationColor (NXOpen::NXColor *locationColor)
 Sets the display color of proximity nodes' original location. More...
 
void SetProximityTolerance (double dProximityTolerance)
 Sets the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
More...
 
void SetShowNodeLabels (bool showLabels)
 Sets a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry. More...
 
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. More...
 
bool ShowNodeLabels ()
 Returns a value indicating whether to show the labels for proximity nodes are off underlying CAD geometry. More...
 
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. More...
 
NXOpen::ExpressionTolerance ()
 Returns the proximity tolerance used to determine if nodes on close enough to be considered on the CAD geometry
Created in NX8.5.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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.


To create a new instance of this class, use NXOpen::CAE::MeshManager::CreateProjectNodesToCadGeometryBuilder

Created in NX6.0.4.

Member Enumeration Documentation

Listing Options.

Enumerator
ListingOptionNone 

List nothing.

ListingOptionSummaryOnly 

List only Summary information.

ListingOptionAll 

List All information on nodes that are off the CAD geometry by more than the input tolerance.

Operations.

Enumerator
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.

Member Function Documentation

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::GetNodes ( std::vector< NXOpen::CAE::FENode * > &  nodes,
std::vector< NXOpen::NXObject * > &  cadGeometries 
)

Returns the cached nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyCadGeometry .

Returns

Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")
Parameters
nodesnodes
cadGeometriescadgeometries
std::vector<NXOpen::Point3d> NXOpen::CAE::ProjectNodesToCadGeometryBuilder::GetProximityNodes ( std::vector< NXOpen::CAE::FENode * > &  proximityNodes)

Returns the cached proximity nodes calculated by CAE::ProjectNodesToCadGeometryBuilder::IdentifyProximityNodes .

Returns

Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling")
Parameters
proximityNodesproximity nodes
void NXOpen::CAE::ProjectNodesToCadGeometryBuilder::IdentifyCadGeometry ( )

Identifies the relationship between CAD geometry and the nodes, The identified result will be cached, you could access the cached results by calling CAE::ProjectNodesToCadGeometryBuilder::GetNodes .

Old cached results are automatically cleaned up when the new identify process is running.
Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

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

Deprecated:
Deprecated in NX8.5.0.

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

Deprecated:
Deprecated in NX8.5.0.

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")

Parameters
locationColorlocationcolor
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")

Parameters
bIncludeMidnodesbincludemidnodes
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")

Parameters
optionoption
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")

Parameters
operationoperation
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")

Parameters
locationColorlocationcolor
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

Deprecated:
Deprecated in NX8.5.0.

Use CAE::ProjectNodesToCadGeometryBuilder::Tolerance instead.


Created in NX6.0.4.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
dProximityTolerancedproximitytolerance
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")

Parameters
showLabelsshowlabels
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 CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor and CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor . The adjusted node location will be displayed in color CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor and CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor .
Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
showLocationsshowlocations
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 CAE::ProjectNodesToCadGeometryBuilder::OriginalNodeLocationColor and CAE::ProjectNodesToCadGeometryBuilder::SetOriginalNodeLocationColor . The adjusted node location will be displayed in color CAE::ProjectNodesToCadGeometryBuilder::AdjustedNodeLocationColor and CAE::ProjectNodesToCadGeometryBuilder::SetAdjustedNodeLocationColor .
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


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.