GetObjectDetailsByIDefAndCriteria Method - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

Version of GetObjectDetailsByIDef except that you can specify additional query criteria by passing in a list of XFRAttributes.

Inputs

  • InterfaceDef

  • Name – with wildcard criteria (% not *)

  • QueryAttributes – way of adding additional criteria to the query.

    • Relationship support by specifying a pathdefn and the OBID, UID or Name of related item

  • -SPFPrimaryClassification, EC_DEV_Equipment_1

    • Property support by specifying a property def and value (including uom)

  • DEVWeight, 4~kg

  • Description, value

    • Interface filtering support by specifying a interfacedef

  • ISPFPrgDesignItem

  • IncludeHistorical – returns terminated items

  • MaxNumber – If the user knows there are only 3 then just return them this is used to instruct the RDBMS to only return that many rows making the query much faster.

Outputs

Transfer object using the full data transfer.