FindCriteria Class¶
-
class
NXOpen.PDM.
FindCriteria
¶ Bases:
NXOpen.TransientObject
Represents find criteria objects
New in version NX11.0.0.
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetCriteria | This API returns the search query name, entries, and values. |
SetCriteria | This API sets the search query name, entries, and values. |
Method Detail¶
Dispose¶
-
FindCriteria.
Dispose
¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX11.0.0.
License requirements: None.
GetCriteria¶
-
FindCriteria.
GetCriteria
¶ This API returns the search query name, entries, and values.
Signature
GetCriteria()
Returns: a tuple Return type: A tuple consisting of (queryName, entries, values). queryName is a str. Search query name entries is a list of str. Search criteria entries values is a list of str. Search criteria values New in version NX11.0.0.
License requirements: None.
SetCriteria¶
-
FindCriteria.
SetCriteria
¶ This API sets the search query name, entries, and values.
Signature
SetCriteria(queryName, entries, values)
Parameters: - queryName (str) – Search query name
- entries (list of str) – Search criteria entries
- values (list of str) – Search criteria values
New in version NX11.0.0.
License requirements: None.