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

Represents a NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder used to check the material orientation for shell and solid elements. More...

Inheritance diagram for NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder:
NXOpen::Builder NXOpen::CAE::ModelCheck::ISelectionBuilder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  MaterialOrientationType { MaterialOrientationTypeShell, MaterialOrientationTypeSolidFirstDirection, MaterialOrientationTypeSolidSecondDirection, MaterialOrientationTypeSolidThirdDirection }
 the material orientation type More...
 

Public Member Functions

virtual
NXOpen::CAE::ModelCheck::CheckScope 
CheckScopeOption ()
 Returns the check scope setting
Created in NX11.0.1. More...
 
std::vector< NXOpen::Vector3dDoCheck (std::vector< NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType > &orientationType, std::vector< NXOpen::CAE::FEElement * > &elements)
 Calculates material orientation vector for input elements and returns the orientation vector result. More...
 
bool GetCheckOrientation (NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType orientationType)
 Gets option value which indicates whether to check for the specified material orientation type. More...
 
NXOpen::NXColorGetOrientationColor (NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType orientationType)
 Gets display color of a specified material orientation type. More...
 
NXOpen::SelectTaggedObjectListSelectionList ()
 Returns the selected objects to be checked. More...
 
void SetCheckOrientation (NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType orientationType, bool checkOrientation)
 Sets option value which indicates whether to check for the specified material orientation type
Created in NX8.5.0. More...
 
virtual void SetCheckScopeOption (NXOpen::CAE::ModelCheck::CheckScope scope)
 Sets the check scope setting
Created in NX11.0.1. More...
 
void SetOrientationColor (NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType orientationType, NXOpen::NXColor *color)
 Sets display color of a specified material orientation type
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::ElementMaterialOrientationCheckBuilder used to check the material orientation for shell and solid elements.

Use Builder::Commit to calculate material orientation and to display an orientation vector for each input element. Use NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::DoCheck to calculate the material orientation for each input element and return the orientation vector result. If an element fails when calculating it's material orientation, the element will be displayed in red and outputed to listing information window.
To create a new instance of this class, use NXOpen::CAE::ModelCheckManager::CreateElementMaterialOrientationCheckBuilder

Created in NX8.5.0.

Member Enumeration Documentation

the material orientation type

Enumerator
MaterialOrientationTypeShell 

the material orientation of shell element

MaterialOrientationTypeSolidFirstDirection 

the first direction of solid element material orientation

MaterialOrientationTypeSolidSecondDirection 

the second direction of solid element material orientation

MaterialOrientationTypeSolidThirdDirection 

the third direction of solid element material orientation

Member Function Documentation

virtual NXOpen::CAE::ModelCheck::CheckScope NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::CheckScopeOption ( )
virtual

Returns the check scope setting
Created in NX11.0.1.



License requirements : None

Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.

std::vector<NXOpen::Vector3d> NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::DoCheck ( std::vector< NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType > &  orientationType,
std::vector< NXOpen::CAE::FEElement * > &  elements 
)

Calculates material orientation vector for input elements and returns the orientation vector result.

Returns
material orientation vector
Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
orientationTypeorientationtype
elementsthe elements associated with the orientation vectors
bool NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::GetCheckOrientation ( NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType  orientationType)

Gets option value which indicates whether to check for the specified material orientation type.

Returns

Created in NX8.5.0.

License requirements : None
Parameters
orientationTypeorientationtype
NXOpen::NXColor* NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::GetOrientationColor ( NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType  orientationType)

Gets display color of a specified material orientation type.

Returns

Created in NX8.5.0.

License requirements : None
Parameters
orientationTypeorientationtype
NXOpen::SelectTaggedObjectList* NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::SelectionList ( )

Returns the selected objects to be checked.

The objects must be NXOpen::CAE::Mesh or NXOpen::CAE::FEElement
Created in NX8.5.0.

License requirements : None

void NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::SetCheckOrientation ( NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType  orientationType,
bool  checkOrientation 
)

Sets option value which indicates whether to check for the specified material orientation type
Created in NX8.5.0.



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

Parameters
orientationTypeorientationtype
checkOrientationcheckorientation
virtual void NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::SetCheckScopeOption ( NXOpen::CAE::ModelCheck::CheckScope  scope)
virtual

Sets the check scope setting
Created in NX11.0.1.



License requirements : None

Parameters
scopescope

Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.

void NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::SetOrientationColor ( NXOpen::CAE::ModelCheck::ElementMaterialOrientationCheckBuilder::MaterialOrientationType  orientationType,
NXOpen::NXColor color 
)

Sets display color of a specified material orientation type
Created in NX8.5.0.



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

Parameters
orientationTypeorientationtype
colorcolor

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