GRMSearch Class¶
-
class
NXOpen.CAE.
GRMSearch
¶ Bases:
NXOpen.TransientObject
Contains methods for searching Teamcenter for CAE objects, as well as a cache of already found items.
New in version NX8.0.0.
Methods¶
Method | Description |
---|---|
ClearCache | Clear the cache of searched CAE objects such that a subsequent call to FindCachedReferencers will return nothing. |
Dispose | Free resources associated with the instance. |
FindCachedReferencers | Find CAE Objects as above, only from the cache of already searched items. |
FindReferencers | Find CAE Objects. |
Method Detail¶
ClearCache¶
-
GRMSearch.
ClearCache
¶ Clear the cache of searched CAE objects such that a subsequent call to “FindCachedReferencers” will return nothing.
Signature
ClearCache()
New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Dispose¶
-
GRMSearch.
Dispose
¶ Free resources associated with the instance.
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 NX8.0.0.
License requirements: None.
FindCachedReferencers¶
-
GRMSearch.
FindCachedReferencers
¶ Find CAE Objects as above, only from the cache of already searched items.
This method will not access the TC server for data.
Signature
FindCachedReferencers(fileSpec)
Parameters: fileSpec (str) – Returns: Return type: list of str New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
FindReferencers¶
-
GRMSearch.
FindReferencers
¶ Find CAE Objects.
Given a CAD object, this method will find FEMs and Ideals. Given a FEM, it will find Sims, etc.
Signature
FindReferencers(fileSpec, useCache)
Parameters: - fileSpec (str) –
- useCache (bool) –
Returns: Return type: list of str
New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)