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 NOTE: The full Unicode character set is not supported for this parameter.
  • attrName (str) – search attribute name NOTE: The full Unicode character set is not supported for this parameter.
  • defaultValue (str) – default value NOTE: The full Unicode character set is not supported for this parameter.
  • logicalOperation (str) – logical operation for search criteria NOTE: The full Unicode character set is not supported for this parameter.
  • mathOperation (str) – math operation for search criteria NOTE: The full Unicode character set is not supported for this parameter.
  • 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.