NX Open C++ Reference Guide
|
Represents search query
Created in NX6.0.0.
More...
Public Member Functions | |
NXOpen::PDM::SearchResult * | Advanced (std::vector< NXString > &entries, std::vector< NXString > &values) |
This API performs advanced search in the teamcenter and returns the result vector .Advanced search takes in detailed inputs to perform the search. | |
NXOpen::PDM::SearchResult * | Simple (const NXString &searchCriteria) |
Perform simple search in the teamcenter and returns the result vector. | |
NXOpen::PDM::SearchResult * | Simple (const char *searchCriteria) |
Perform simple search in the teamcenter and returns the result vector. | |
virtual | ~PdmSearch () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents search query
Created in NX6.0.0.
|
virtual |
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.
Created in NX6.0.0.
License requirements : None
NXOpen::PDM::SearchResult* NXOpen::PDM::PdmSearch::Advanced | ( | std::vector< NXString > & | entries, |
std::vector< NXString > & | values | ||
) |
This API performs advanced search in the teamcenter and returns the result vector .Advanced search takes in detailed inputs to perform the search.
The parameters "entries" and "values" are the internal property names and their values to be searched. The attribute/value pairs are combined logically using AND so that only objects matching ALL of the specified criteria are returned. The method can only be used to search for matches on Teamcenter properties that are string valued. It does not work for properties which are Object/LOV valued. For example "owning_user" is TC Object valued so the search does not find any matches when attempting to search on it. Please note, this functionality is available starting in Teamcenter 2007.1 MP2. To see how to spell the "real" attribute names rather than the displayed attribute (column) names, use Edit-> Options...-> General-> UI-> Sys Admin-> Real Property Name in the Rich Client.
entries | search criteria entries NOTE: The full Unicode character set is not supported for this parameter. |
values | search criteria values NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PDM::SearchResult* NXOpen::PDM::PdmSearch::Simple | ( | const NXString & | searchCriteria | ) |
Perform simple search in the teamcenter and returns the result vector.
<b> Please note, this functionality is available starting in Teamcenter 2007.1 MP2. </b> @return search result
Created in NX6.0.0.
License requirements : None
searchCriteria | search criteria as string NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PDM::SearchResult* NXOpen::PDM::PdmSearch::Simple | ( | const char * | searchCriteria | ) |
Perform simple search in the teamcenter and returns the result vector.
<b> Please note, this functionality is available starting in Teamcenter 2007.1 MP2. </b> @return search result
Created in NX6.0.0.
License requirements : None
searchCriteria | search criteria as string NOTE: The full Unicode character set is not supported for this parameter. |