NXOpen .NET Reference
12.0.0
|
This class is used to iterate over the user attributes of an object, with options to restrict or extend such searches More...
Public Member Functions | |
unsafe void | SetIncludeOnlyType (NXOpen.NXObject.AttributeType type) |
Restrict searches to attributes with the given type. More... | |
unsafe void | SetIncludeOnlyCategory (string category) |
Restrict searches to attributes with the given category. More... | |
unsafe void | SetIncludeAllCategories () |
Do not restrict searches to attributes with a previously given category. More... | |
unsafe void | SetIncludeOnlyTitle (string title) |
Restrict searches to attributes with the given title. More... | |
unsafe void | SetIncludeAlsoUnset (bool includeAlsoUnset) |
Widen (or cancel the widening of) searches to attributes that have not been set, but for which the object has associated templates. More... | |
unsafe void | SetIncludeOnlyUnset (bool includeOnlyUnset) |
Restricts (or cancel the restriction of) searches to attributes that have not been set, but for which the object has associated templates. More... | |
unsafe void | SetIncludeOnlyArrays (bool includeOnlyArrays) |
Restricts searches to array attributes. More... | |
unsafe void | Rewind () |
Rewind the iterator. More... | |
unsafe void | Reset () |
Rewind the iterator and return all its constraints to their default values. More... | |
Protected Member Functions | |
override void | FreeResource () |
Delete the iterator More... | |
This class is used to iterate over the user attributes of an object, with options to restrict or extend such searches
Created in NX11.0.0
|
protected |
Delete the iterator
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.AttributeIterator.Reset | ( | ) |
Rewind the iterator and return all its constraints to their default values.
This allows the iterator to be safely reused.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.AttributeIterator.Rewind | ( | ) |
Rewind the iterator.
This allows the iterator to be reused with the same constraints.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.AttributeIterator.SetIncludeAllCategories | ( | ) |
Do not restrict searches to attributes with a previously given category.
Note: If this function will allow the iterator to return attributes with any or no category. It can be use to cancel a previous restriction to, for example, attributes with no category.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.AttributeIterator.SetIncludeAlsoUnset | ( | bool | includeAlsoUnset | ) |
Widen (or cancel the widening of) searches to attributes that have not been set, but for which the object has associated templates.
Default: Unset attributes (not being there) are not included. Note: 'unset' attributes are really attribute templates that the object has access to, but the object has no corresponding attributes.
Created in NX11.0.0
License requirements: None.
includeAlsoUnset |
unsafe void NXOpen.AttributeIterator.SetIncludeOnlyArrays | ( | bool | includeOnlyArrays | ) |
Restricts searches to array attributes.
NOTE: Array attributes with no or just one element are included unless otherwise excluded. . Default: no constraint.
Created in NX11.0.0
License requirements: None.
includeOnlyArrays |
unsafe void NXOpen.AttributeIterator.SetIncludeOnlyCategory | ( | string | category | ) |
Restrict searches to attributes with the given category.
Note: If this function is called with a NULL or empty category, then the search is restricted to attributes that have no assigned category To cancel this restriction, use SetIncludeAllCategories. . Default: no constraint.
Created in NX11.0.0
License requirements: None.
category | The desired category of the returned attributes |
unsafe void NXOpen.AttributeIterator.SetIncludeOnlyTitle | ( | string | title | ) |
Restrict searches to attributes with the given title.
Note: If this function is called with a NULL or empty title, then iterator will no longer be restricted to a given title. . Default: no constraint.
Created in NX11.0.0
License requirements: None.
title | The desired title of the returned attributes |
unsafe void NXOpen.AttributeIterator.SetIncludeOnlyType | ( | NXOpen.NXObject.AttributeType | type | ) |
Restrict searches to attributes with the given type.
Default: no constraint.
Created in NX11.0.0
License requirements: None.
type | The desired type of the returned attributes (if not NXOpen.NXObject.AttributeType.Any ) |
unsafe void NXOpen.AttributeIterator.SetIncludeOnlyUnset | ( | bool | includeOnlyUnset | ) |
Restricts (or cancel the restriction of) searches to attributes that have not been set, but for which the object has associated templates.
Default: no constraint.
Created in NX11.0.0
License requirements: None.
includeOnlyUnset |