Book a Demo

Author Topic: InvokeConstructPicker (string ElementFilter)  (Read 6580 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
InvokeConstructPicker (string ElementFilter)
« on: December 10, 2020, 07:49:57 pm »
Hi,

Found an issue with InvokeConstructPicker (string ElementFilter). I understand the route cause now, as i put a trace on our db. Turns out that if you specify a StereoType (note case) as part of your ElementFilter - Sparx sends a seperate SQL request to t_xref for every element with the specified IncludesTypes. We have 8000+ elements with the specified type. The picker was taking 30 seconds to open. Drop the Stereotype filter and it loads in under a second.

I've raised a support ticket/bug with Sparx on the grounds that its stupid :-). I'll let you know what the feedback it.