NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.CutViewCollection Class Reference

Represents a collection of NXOpen.CutView objects. More...

Inheritance diagram for NXOpen.CutViewCollection:

Public Member Functions

NXOpen.CutView[] ToArray ()
 Returns an array of NXOpen.CutView objects. More...
 
unsafe NXOpen.CutView FindObject (string journalIdentifier)
 Finds the NXOpen.CutView with the given identifier as recorded in a journal. More...
 
unsafe void UpdateCutView (NXOpen.CutView view)
 Update the Master Cut feature associated with a cut view. More...
 
unsafe void DeleteCutView (NXOpen.CutView view)
 Delete the Master Cut feature associated with a cut view. More...
 
unsafe NXOpen.ModelingView CreateLinkedSectionView (NXOpen.CutView view)
 Create a linked section view. More...
 
unsafe bool IsCutBody (NXOpen.Body body)
 Return a "true" if the body is a cut body. More...
 
unsafe bool IsCutBodyOfView (NXOpen.Body body, NXOpen.CutView view, out NXOpen.Body uncutBody)
 Return a "true" if the body is a cut body in the view. More...
 
unsafe bool IsUncutBodyOfView (NXOpen.Body body, NXOpen.CutView view, out NXOpen.Body cutBody)
 Return a "true" if the body is an uncut body in the view. More...
 
unsafe bool IsToolBody (NXOpen.Body body)
 Return a "true" if the body is a tool body. More...
 
unsafe NXOpen.DisplayableObject[] GetCutViewsOfObject (NXOpen.Body body)
 Find the cut views of an object. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.CutView objects.

To obtain an instance of this class, refer to NXOpen.Part

Created in NX4.0.0

Member Function Documentation

unsafe NXOpen.ModelingView NXOpen.CutViewCollection.CreateLinkedSectionView ( NXOpen.CutView  view)

Create a linked section view.

Created in NX5.0.0

License requirements: None.

Parameters
viewCut view
Returns
unsafe void NXOpen.CutViewCollection.DeleteCutView ( NXOpen.CutView  view)

Delete the Master Cut feature associated with a cut view.

Created in NX4.0.0

License requirements: None.

Parameters
viewCut view
override int NXOpen.CutViewCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.CutView NXOpen.CutViewCollection.FindObject ( string  journalIdentifier)

Finds the NXOpen.CutView with the given identifier as recorded in a journal.

An object may not return the same value as its JournalIdentifier in different versions of the software. However, newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

An exception will be thrown if no object can be found with the given journal identifier.

Created in NX4.0.0

License requirements: None.

Parameters
journalIdentifierIdentifier of the cut view to be found
Returns
View with this identifier
unsafe NXOpen.DisplayableObject [] NXOpen.CutViewCollection.GetCutViewsOfObject ( NXOpen.Body  body)

Find the cut views of an object.

Created in NX5.0.0

License requirements: None.

Parameters
body
Returns
unsafe bool NXOpen.CutViewCollection.IsCutBody ( NXOpen.Body  body)

Return a "true" if the body is a cut body.

Created in NX5.0.0

License requirements: None.

Parameters
body
Returns
unsafe bool NXOpen.CutViewCollection.IsCutBodyOfView ( NXOpen.Body  body,
NXOpen.CutView  view,
out NXOpen.Body  uncutBody 
)

Return a "true" if the body is a cut body in the view.

Created in NX5.0.0

License requirements: None.

Parameters
body
viewCut view
uncutBodyCorresponding Uncut body
Returns
unsafe bool NXOpen.CutViewCollection.IsToolBody ( NXOpen.Body  body)

Return a "true" if the body is a tool body.

Created in NX5.0.0

License requirements: None.

Parameters
body
Returns
unsafe bool NXOpen.CutViewCollection.IsUncutBodyOfView ( NXOpen.Body  body,
NXOpen.CutView  view,
out NXOpen.Body  cutBody 
)

Return a "true" if the body is an uncut body in the view.

Created in NX5.0.0

License requirements: None.

Parameters
body
viewCut view
cutBodyCorresponding Cut body
Returns
NXOpen.CutView [] NXOpen.CutViewCollection.ToArray ( )

Returns an array of NXOpen.CutView objects.

unsafe void NXOpen.CutViewCollection.UpdateCutView ( NXOpen.CutView  view)

Update the Master Cut feature associated with a cut view.

Created in NX4.0.0

License requirements: None.

Parameters
viewCut view

Property Documentation

Tag NXOpen.CutViewCollection.Tag
get

Returns the tag of this object.


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