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

Represents a NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder builder used to align the normals of connected shell elements with a seed shell element. More...

Inheritance diagram for NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  ConnectedElementScope { ConnectedElementScopeSeedMesh, ConnectedElementScopeAllVisible, ConnectedElementScopeUserSpecified }
 the options to define the connection scope to the seed element for model checking More...
 

Public Member Functions

std::vector
< NXOpen::CAE::FEElement * > 
AlignNormals ()
 Aligns the normals of elements connected to the seed element. More...
 
void DisplayNormals ()
 Display element normals for connected elements, which are to be aligned with seed element normal
Created in NX8.5.0. More...
 
NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ConnectedElementScope ElementConnectScope ()
 Returns the option to indicate how to define connected elements for checking
Created in NX8.5.0. More...
 
std::vector
< NXOpen::CAE::FEElement * > 
FindAllVisibleConnectedElements ()
 Finds all visible elements connected with the seed element. More...
 
bool ReverseSeedNormal ()
 Returns the option indicating whether to reverse element normals so that they are aligned with the seed element
Created in NX8.5.0. More...
 
NXOpen::CAE::FEElementSeedElement ()
 Returns the seed element
Created in NX8.5.0. More...
 
void SetElementConnectScope (NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ConnectedElementScope connectScope)
 Sets the option to indicate how to define connected elements for checking
Created in NX8.5.0. More...
 
void SetReverseSeedNormal (bool seedNormalToBeReversed)
 Sets the option indicating whether to reverse element normals so that they are aligned with the seed element
Created in NX8.5.0. More...
 
void SetSeedElement (NXOpen::CAE::FEElement *seedElement)
 Sets the seed element
Created in NX8.5.0. More...
 
NXOpen::CAE::SelectElementsBuilderUserSpecifiedConnectElements ()
 Returns the user specified connected elements to be aligned with seed element
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

Represents a NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder builder used to align the normals of connected shell elements with a seed shell element.

You can align the normals by executing either Builder::Commit or NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::AlignNormals . The difference between these two methods is Builder::Commit aligns the normals and updates normal display, but it does not return the elements that have changed normals. NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::AlignNormals aligns the normals and returns the elements that have changed normals. Both of the methods are only available in fem context.
To create a new instance of this class, use NXOpen::CAE::ModelCheckManager::CreateAlignShellElementNormalBuilder

Created in NX8.5.0.

Member Enumeration Documentation

the options to define the connection scope to the seed element for model checking

Enumerator
ConnectedElementScopeSeedMesh 

Limits check to only those shell elements in the mesh that contains the Seed Element.

ConnectedElementScopeAllVisible 

Limits check to only those shell elements which are connected to the Seed Element and are currently visible.

ConnectedElementScopeUserSpecified 

Limits check to only those shell elements specified in NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::UserSpecifiedConnectElements.

Member Function Documentation

std::vector<NXOpen::CAE::FEElement *> NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::AlignNormals ( )

Aligns the normals of elements connected to the seed element.

Returns the elements that have had the normals successfully reversed. This method will only reverse the normals for shell elements in the current work fem part.

Returns

Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::DisplayNormals ( )

Display element normals for connected elements, which are to be aligned with seed element normal
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ConnectedElementScope NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ElementConnectScope ( )

Returns the option to indicate how to define connected elements for checking
Created in NX8.5.0.



License requirements : None

std::vector<NXOpen::CAE::FEElement *> NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::FindAllVisibleConnectedElements ( )

Finds all visible elements connected with the seed element.

Returns

Created in NX8.5.0.

License requirements : None
bool NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ReverseSeedNormal ( )

Returns the option indicating whether to reverse element normals so that they are aligned with the seed element
Created in NX8.5.0.



License requirements : None

NXOpen::CAE::FEElement* NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::SeedElement ( )

Returns the seed element
Created in NX8.5.0.



License requirements : None

void NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::SetElementConnectScope ( NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::ConnectedElementScope  connectScope)

Sets the option to indicate how to define connected elements for checking
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
connectScopeconnectscope
void NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::SetReverseSeedNormal ( bool  seedNormalToBeReversed)

Sets the option indicating whether to reverse element normals so that they are aligned with the seed element
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
seedNormalToBeReversedseednormaltobereversed
void NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::SetSeedElement ( NXOpen::CAE::FEElement seedElement)

Sets the seed element
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
seedElementseedelement
NXOpen::CAE::SelectElementsBuilder* NXOpen::CAE::ModelCheck::AlignShellElementNormalBuilder::UserSpecifiedConnectElements ( )

Returns the user specified connected elements to be aligned with seed element
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.