Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] ECQuery::SetPropertyValuePreFilter

$
0
0

I would like to fetch instances of my Item that match a particular property value.  I would like to add a property filter to my ECQuery.  Method  query->SetPropertyValuePreFilter() looks like it should do the job.

However, it takes a IECPropertyValueFilter argument, and I don't see how to populate that struct.  Do I use IECPropertyValueFilter.Accept (ecPropertyValue)?

The only way to make an ECPropertyValuePtr is ECPropertyValue::GetPropertyValue (IECInstanceCR instance, WCharCP propertyAccessor).  But that seems somewhat circular, because it's instances that I'm wanting to find using my ECQuery.


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>