Author Topic: How to select by the content of -3 group code  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

2e4lite

  • Guest
How to select by the content of -3 group code
« on: May 25, 2014, 06:54:50 AM »
Below are two different contents:
 1.(-3 (my_tag (1000 . NAME) (1000 . 1 genBLPS   3.200   0.000  0.1000 ..   0.00 )))
 2.(-3 (my_tag (1000 . NAME) (1000 . 1 gen1USER   3.200   0.000  0.0000    0.00 )))
How to select them with a individual distinction? I used ssget,but couldn't success.(That is to say, I want to select objects by  the same contents of -3 group codes of template objects)
« Last Edit: May 25, 2014, 07:21:51 AM by 2e4lite »

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: How to select by the content of -3
« Reply #1 on: May 25, 2014, 07:03:55 AM »
ssget can only filter by the xdata Application ID - you would need to iterate over the selection, test the xdata of each entity, and remove those items which do not meet your criteria.

See: Filtering for Extended Data