NXOpen .NET Reference
12.0.0
|
Represents the collection object for all component patterns. More...
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... | |
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
|
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.
journalIdentifier | Name of the component pattern to be found |
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.
componentPatterns |
NXOpen.Assemblies.ComponentPattern [] NXOpen.Assemblies.ComponentPatternCollection.ToArray | ( | ) |
Returns an array of NXOpen.Assemblies.ComponentPattern objects.
|
get |
Returns the tag of this object.