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

Represents the Simple Interference object. More...

Inheritance diagram for NXOpen.GeometricAnalysis.SimpleInterference:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  FaceInterferenceMethod { FirstPairOnly, AllPairs }
 Specifies to "find only first pair of interfering faces" or "all pairs of interfering faces" between the input boides. More...
 
enum  InterferenceMethod { InterferingFaces, InterferenceSolid }
 Specifies interference method, i. More...
 
enum  Result { NoInterference, OnlyEdgesOrFacesInterfere, InterferenceExists, CanNotPerformCheck }
 Specifies the result of a simple interference check More...
 

Public Member Functions

unsafe NXOpen.NXObject[] GetInterferenceResults ()
 Returns the pair(s) of interfering faces or solid(s) of interference between the input bodies. More...
 
unsafe bool HighlightNextPair ()
 Highlights the pairs of interfering faces after a NXOpen.GeometricAnalysis.SimpleInterference.PerformCheck . More...
 
unsafe
NXOpen.GeometricAnalysis.SimpleInterference.Result 
PerformCheck ()
 Perform Interference Check. More...
 
unsafe void Reset ()
 Frees up resources/results associated with NXOpen.GeometricAnalysis.SimpleInterference object after a call to NXOpen.GeometricAnalysis.SimpleInterference.PerformCheck . 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.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod 
FaceInterferenceType [get, set]
 Returns or sets the FaceInterferenceType. More...
 
unsafe NXOpen.SelectObject FirstBody [get]
 Returns the First Body More...
 
unsafe
NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod 
InterferenceType [get, set]
 Returns or sets the InterferenceType. More...
 
unsafe NXOpen.SelectObject SecondBody [get]
 Returns the Second Body 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...
 

Additional Inherited Members

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

Detailed Description

Represents the Simple Interference object.

A NXOpen.GeometricAnalysis.SimpleInterference object takes two solid bodies as inputs and the type of interference results to be produced. It can report the first pair of interfering faces between two solids or all pairs of interfering faces. It can also create the interference solid(s) between two bodies.

To create a new instance of this class, use NXOpen.GeometricAnalysis.AnalysisManager.CreateSimpleInterferenceObject

Created in NX5.0.0

Member Enumeration Documentation

Specifies to "find only first pair of interfering faces" or "all pairs of interfering faces" between the input boides.

Enumerator
FirstPairOnly 

Find first pair of interfering faces

AllPairs 

Find all pairs of interfering faces.

Specifies interference method, i.

e., to highlight interfering faces or create interference solid

Enumerator
InterferingFaces 

Find interfering faces.

InterferenceSolid 

Create interference solid.

Specifies the result of a simple interference check

Enumerator
NoInterference 

No interference exists between the input bodies.

OnlyEdgesOrFacesInterfere 

Only faces or edges interfere and no solid interference exists between the input bodies.

InterferenceExists 

Interference exists between the input bodies.

Use NXOpen.GeometricAnalysis.SimpleInterference.GetInterferenceResults to obtain the pairs of faces interfering or interference solid(s) created between the input bodies.

CanNotPerformCheck 

An unknown error has occured while performing the interference check.

Check could not be performed between the input bodies.

Member Function Documentation

unsafe NXOpen.NXObject [] NXOpen.GeometricAnalysis.SimpleInterference.GetInterferenceResults ( )
inline

Returns the pair(s) of interfering faces or solid(s) of interference between the input bodies.

nObjects will be 0 if there is no face or solid interference between the input bodies. If the NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType is NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod.InterferingFaces , pair(s) of interfering faces are returned. The first two objects represent the first pair of interfering faces, and next two objects represent the second pair of interering faces and so on. If the NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType is NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod.FirstPairOnly , only the first pair of interfering faces are returned.

Created in NX6.0.2

License requirements: None.

Returns
Results of Simple Interference
unsafe bool NXOpen.GeometricAnalysis.SimpleInterference.HighlightNextPair ( )
inline

Highlights the pairs of interfering faces after a NXOpen.GeometricAnalysis.SimpleInterference.PerformCheck .

This method is applicable only when NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType is set to NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod.InterferingFaces and NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType is set to NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod.AllPairs . When highlighting the next pair, current pair of faces is unhighlighted. Return value is set to true if there are more pairs of faces to be highlighted. If the last pair is reached (i.e., the pair being highlighted in this call is the last pair of faces), return value is set to false.

Created in NX5.0.0

License requirements: None.

Returns
Indicates if there are any more pairs left .
unsafe NXOpen.GeometricAnalysis.SimpleInterference.Result NXOpen.GeometricAnalysis.SimpleInterference.PerformCheck ( )
inline

Perform Interference Check.

NXOpen.GeometricAnalysis.SimpleInterference.PerformCheck should be called after specifiying input bodies to be checked, i.e., NXOpen.GeometricAnalysis.SimpleInterference.FirstBody and NXOpen.GeometricAnalysis.SimpleInterference.SecondBody . The return value NXOpen.GeometricAnalysis.SimpleInterference.Result specifies the type of interference existing between the input bodies. Use NXOpen.GeometricAnalysis.SimpleInterference.GetInterferenceResults to obtain the interfering faces or solid(s) of interference between the input bodis.

Created in NX5.0.0

License requirements: None.

Returns
Indicates the type of interference existing between the input bodies.
unsafe void NXOpen.GeometricAnalysis.SimpleInterference.Reset ( )
inline

Property Documentation

unsafe NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType
getset

Returns or sets the FaceInterferenceType.

NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType is used when NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType is set to NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod.InterferingFaces , i.e., create pair(s) of interfering faces between two solids. A value of NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod.FirstPairOnly for NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType reports only the first pair of interfering faces and value of NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceMethod.AllPairs reports all pairs of interfering faces between two bodies.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectObject NXOpen.GeometricAnalysis.SimpleInterference.FirstBody
get

Returns the First Body

Created in NX5.0.0

License requirements: None.

unsafe NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType
getset

Returns or sets the InterferenceType.

A value of NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod.InterferingFaces for NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType reports the pairs of interfering faces between two solids. You can also further specify to report only the first pair of interfering faces or all pairs of interfering faces by NXOpen.GeometricAnalysis.SimpleInterference.FaceInterferenceType . A value of NXOpen.GeometricAnalysis.SimpleInterference.InterferenceMethod.InterferenceSolid for NXOpen.GeometricAnalysis.SimpleInterference.InterferenceType creates the interference solid(s) between the two input bodies.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectObject NXOpen.GeometricAnalysis.SimpleInterference.SecondBody
get

Returns the Second Body

Created in NX5.0.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.