NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Classes | Public Types | Public Member Functions | Properties | List of all members
NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder Class Reference

Represents a NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder to check for duplicate elements within the candidate elements. More...

Inheritance diagram for NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder:
NXOpen.Builder NXOpen.CAE.ModelCheck.ISelectionBuilder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Classes

struct  _DisplaySettings
 Represents the display settings of duplicated elements detected
 
struct  DisplaySettings
 Represents the display settings of duplicated elements detected More...
 

Public Types

enum  DeletePreference { KeepHighLabel, KeepLowLabel, KeepSelected, RemoveSelected }
 Represents the duplicate elements deleting preference More...
 

Public Member Functions

unsafe void DeleteDuplicateElements ()
 Deletes the duplicate elements and clear all cached duplicate elements in this builder. More...
 
unsafe NXOpen.CAE.FEElement[] GetDuplicateElements (int groupIndex)
 Returns the duplicate elements of specified group index More...
 
unsafe void IdentifyDuplicateElements ()
 Calculates to find the duplicate elements and display them in the NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DisplaySettings . More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe
NXOpen.CAE.ModelCheck.CheckScope 
CheckScopeOption [get, set]
 Returns or sets the check scope setting More...
 
unsafe
NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DisplaySettings 
DisplaySettingsData [get, set]
 Returns or sets the display settings for duplicate elements More...
 
unsafe int DuplicateElementGroupsCount [get]
 Returns the duplicate elements group count, each group contains elements that are duplicates of each other and each group contains at least two duplicate elements More...
 
unsafe
NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DeletePreference 
Preference [get, set]
 Returns or sets the duplicate elements deleting preference More...
 
unsafe
NXOpen.CAE.SelectElementsBuilder 
PreferenceElements [get]
 Returns the preference elements for keep selected and remove selected options More...
 
unsafe
NXOpen.SelectTaggedObjectList 
SelectionList [get]
 Returns the selected objects to be checked. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 
- Properties inherited from NXOpen.CAE.ModelCheck.ISelectionBuilder
NXOpen.CAE.ModelCheck.CheckScope CheckScopeOption [get, set]
 Returns or sets the check scope setting More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder to check for duplicate elements within the candidate elements.

Duplicate elements are elements which share the same corner nodes,but do not include the middle nodes.

The general workflow is:

  1. Set the candidate elements
  2. Set the display settings data
  3. Identify the duplicate elements
  4. Set the preference option
  5. Delete the duplicate elements

You can delete duplicate elements through Builder.Commit or NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DeleteDuplicateElements . Commits the builder to delete duplicate elements.

To create a new instance of this class, use NXOpen.CAE.ModelCheckManager.CreateDuplicateElementsCheckBuilder

Created in NX8.5.0

Member Enumeration Documentation

Represents the duplicate elements deleting preference

Enumerator
KeepHighLabel 

Keep the elements with higher labels

KeepLowLabel 

Keep the elements with lower labels

KeepSelected 

Keep the elements specified in the element list NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.PreferenceElements

RemoveSelected 

Delete the elements specified in the element list NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.PreferenceElements

Member Function Documentation

unsafe void NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DeleteDuplicateElements ( )
inline

Deletes the duplicate elements and clear all cached duplicate elements in this builder.

The method Builder.Commit will also do the same thing. Duplicate elements can only be deleted when the context part of this builder is a NXOpen.CAE.BaseFemPart

Created in NX8.5.0

License requirements: nx_masterfem ("Finite Element Modeling")

unsafe NXOpen.CAE.FEElement [] NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.GetDuplicateElements ( int  groupIndex)
inline

Returns the duplicate elements of specified group index

Created in NX8.5.0

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

Parameters
groupIndex
Returns
unsafe void NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.IdentifyDuplicateElements ( )
inline

Calculates to find the duplicate elements and display them in the NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DisplaySettings .

The detected duplicate elements are cached, to access the cached calculation result, you could use NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DuplicateElementGroupsCount and NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.GetDuplicateElements . The previous cached data will be cleaned automatically when you start a new identification.

Created in NX8.5.0

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

Property Documentation

unsafe NXOpen.CAE.ModelCheck.CheckScope NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.CheckScopeOption
getset

Returns or sets the check scope setting

Created in NX11.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DisplaySettings NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DisplaySettingsData
getset

Returns or sets the display settings for duplicate elements

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

unsafe int NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DuplicateElementGroupsCount
get

Returns the duplicate elements group count, each group contains elements that are duplicates of each other and each group contains at least two duplicate elements

Created in NX8.5.0

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

unsafe NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.DeletePreference NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.Preference
getset

Returns or sets the duplicate elements deleting preference

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: nx_masterfem ("Finite Element Modeling")

unsafe NXOpen.CAE.SelectElementsBuilder NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.PreferenceElements
get

Returns the preference elements for keep selected and remove selected options

Created in NX8.5.0

License requirements: nx_masterfem ("Finite Element Modeling")

unsafe NXOpen.SelectTaggedObjectList NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilder.SelectionList
get

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.


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