SoaQuery Class

class NXOpen.PDM.SoaQuery

Bases: NXOpen.TransientObject

Represents search soa query to perform Teamcenter search

New in version NX6.0.0.

Methods

Method Description
AddFieldDescription Add the field description to create an SOA query
Dispose Frees the object from memory.

Method Detail

AddFieldDescription

SoaQuery.AddFieldDescription

Add the field description to create an SOA query

Signature AddFieldDescription(searchVar, type, name, attrName, defaultValue, logicalOperation, mathOperation, lov)

Parameters:
  • searchVar (NXOpen.PDM.PdmSearch) – pdm search structure
  • type (NXOpen.PDM.PdmSoaqueryNxmgrfielddatatype) – search field data type
  • name (str) – name of search
  • attrName (str) – search attribute name
  • defaultValue (str) – default value
  • logicalOperation (str) – logical operation for search criteria
  • mathOperation (str) – math operation for search criteria
  • lov (NXOpen.PDM.ListOfValues) – List of values

New in version NX6.0.0.

Deprecated since version NX8.0.0: It’s not needed in any context of search based on queries.

License requirements: None.

Dispose

SoaQuery.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 NX6.0.0.

License requirements: None.