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

Represents the collection object for all component patterns. More...

Inheritance diagram for NXOpen.Assemblies.ComponentPatternCollection:

Public Member Functions

NXOpen.Assemblies.ComponentPattern[] ToArray ()
 Returns an array of NXOpen.Assemblies.ComponentPattern objects. More...
 
unsafe
NXOpen.Assemblies.ComponentPattern 
FindObject (string journalIdentifier)
 Finds the NXOpen.Assemblies.ComponentPattern with the given identifier as recorded in a journal. More...
 
unsafe void GetAllComponentPatterns (out NXOpen.Assemblies.ComponentPattern[] componentPatterns)
 Returns all the component patterns in an assembly. 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 the collection object for all component patterns.

An instance of this class can be obtained from the NXOpen.Assemblies.ComponentAssembly .

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

Created in NX9.0.0

Member Function Documentation

override int NXOpen.Assemblies.ComponentPatternCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.Assemblies.ComponentPattern NXOpen.Assemblies.ComponentPatternCollection.FindObject ( string  journalIdentifier)

Finds the NXOpen.Assemblies.ComponentPattern 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 NX9.0.0

License requirements: None.

Parameters
journalIdentifierName of the component pattern to be found
Returns
Component pattern with this identifier, or a null reference (Nothing in Visual Basic) if no such pattern exists
unsafe void NXOpen.Assemblies.ComponentPatternCollection.GetAllComponentPatterns ( out NXOpen.Assemblies.ComponentPattern[]  componentPatterns)

Returns all the component patterns in an assembly.

Created in NX9.0.0

License requirements: None.

Parameters
componentPatterns
NXOpen.Assemblies.ComponentPattern [] NXOpen.Assemblies.ComponentPatternCollection.ToArray ( )

Returns an array of NXOpen.Assemblies.ComponentPattern objects.

Property Documentation

Tag NXOpen.Assemblies.ComponentPatternCollection.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.