AnsweredAssumed Answered

setting layer definition query issue

Question asked by mtharol on Jan 25, 2019
Latest reply on Jan 28, 2019 by mtharol

trying to set a definition query I typically do something like:

lyr.SetDefinitionQuery("ProjNum = 'S100075'");


Now however we seem to have a collection.  When I set the query like above it seems to work although the definition query is empty.  Is there another method in the SDK to create a "New definition query" to handle this? I would imagine each definition query would have a name property, definition property, an is active property. 


I look forward to your response as my code a lot of these calls.