AlignBeamElementDirectionBuilder Class

class NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilder

Bases: NXOpen.Builder

Represents a NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilder builder used to align the Directions of connected beam elements with a seed beam element.

You can align the directions by executing either Builder.Commit() or NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilder.AlignDirections(). The difference between these two methods is Builder.Commit() aligns the directions and updates direction display, but it does not return the elements that have changed directions. NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilder.AlignDirections() aligns the directions and returns the elements that have changed directions. Both of the methods are only available in fem context.

To create a new instance of this class, use NXOpen.CAE.ModelCheckManager.CreateAlignBeamElementDirectionBuilder()

New in version NX8.5.0.

Properties

Property Description
ElementConnectScope Returns or sets the option to indicate how to define connected elements for checking
ReverseSeedDirection Returns or sets the option indicating whether to reverse element directions so that they are aligned with the seed element
SeedElement Returns or sets the seed element
Tag Returns the Tag for this object.
UserSpecifiedConnectElements Returns the user specified connected elements to be aligned with seed element

Methods

Method Description
AlignDirections Aligns the directions of elements connected to the seed element.
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
DisplayDirections Display element directions for connected elements, which are to be aligned with seed element direction
FindAllVisibleConnectedElements Finds all visible elements connected with the seed element
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

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

Property Detail

ElementConnectScope

AlignBeamElementDirectionBuilder.ElementConnectScope

Returns or sets the option to indicate how to define connected elements for checking

-------------------------------------

Getter Method

Signature ElementConnectScope

Returns:
Return type:NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilderConnectedElementScope

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ElementConnectScope

Parameters:connectScope (NXOpen.CAE.ModelCheck.AlignBeamElementDirectionBuilderConnectedElementScope) –

New in version NX8.5.0.

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

ReverseSeedDirection

AlignBeamElementDirectionBuilder.ReverseSeedDirection

Returns or sets the option indicating whether to reverse element directions so that they are aligned with the seed element

-------------------------------------

Getter Method

Signature ReverseSeedDirection

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReverseSeedDirection

Parameters:seedDirectionToBeReversed (bool) –

New in version NX8.5.0.

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

SeedElement

AlignBeamElementDirectionBuilder.SeedElement

Returns or sets the seed element

-------------------------------------

Getter Method

Signature SeedElement

Returns:
Return type:NXOpen.CAE.FEElement

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SeedElement

Parameters:seedElement (NXOpen.CAE.FEElement) –

New in version NX8.5.0.

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

UserSpecifiedConnectElements

AlignBeamElementDirectionBuilder.UserSpecifiedConnectElements

Returns the user specified connected elements to be aligned with seed element

-------------------------------------

Getter Method

Signature UserSpecifiedConnectElements

Returns:
Return type:NXOpen.CAE.SelectElementsBuilder

New in version NX8.5.0.

License requirements: None.

Method Detail

AlignDirections

AlignBeamElementDirectionBuilder.AlignDirections

Aligns the directions of elements connected to the seed element.

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

Signature AlignDirections()

Returns:
Return type:list of NXOpen.CAE.FEElement

New in version NX8.5.0.

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

DisplayDirections

AlignBeamElementDirectionBuilder.DisplayDirections

Display element directions for connected elements, which are to be aligned with seed element direction

Signature DisplayDirections()

New in version NX8.5.0.

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

FindAllVisibleConnectedElements

AlignBeamElementDirectionBuilder.FindAllVisibleConnectedElements

Finds all visible elements connected with the seed element

Signature FindAllVisibleConnectedElements()

Returns:
Return type:list of NXOpen.CAE.FEElement

New in version NX8.5.0.

License requirements: None.

Validate

AlignBeamElementDirectionBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.