Using Environment Variables in PBS

Hi,

I know this should be simple enough, but I can't seem to find the solution.  This is my scenario, I have a connection to our Oracle server and the has features that are being edited in different batches.  I want to show the data in my batch differently to the other batches, so I can see what is part of my batch.  I have an environment variable defined which has the batch number I am currently working on (and I use this as a default value when I create new features).

So what I would like to do is use this environment variable as the value to check against as part of my property based symbology.

So how do I define a rule to do this?

I did think that something like 'COMPARE("[MAINT_SUFI]",envvar(NCC_MAINT_SUFI),"")' or maybe 'COMPARE("[MAINT_SUFI]",ActiveWorkspace.ConfigurationVariableValue("NCC_MAINT_SUFI"),"")' might work (and I will try it), but I can't find any documentation to confirm this.

Any ideas??

I also tried '0!=strcmp("[MAINT_SUFI]",envvar("NCC_MAINT_SUFI"))' and this didn't work either.

Regards, Ian

Parents
  • Where I have seen this done in the past, one of the attributes of the features contain the value associated with a phase, or run of the data. Then the user can use the PBS or the thematic resymbolization in the Map Manager to differeniate the feature instances.

     

  • Hi Jerry,

    I am trying to set this as a criteria in the GSA (for Bentley Water).  But I am struggling to workout the correct syntax.  Ideally I would like ro re-symbolise all the features which are not part of my batch.  

    One of the issues I think I am having is getting the symbolisation in the correct order.  I have addition symbology changes based on the status of attributes (e.g. we show features that the user has finished editing differently, and we also show features for deletion differently.

Reply
  • Hi Jerry,

    I am trying to set this as a criteria in the GSA (for Bentley Water).  But I am struggling to workout the correct syntax.  Ideally I would like ro re-symbolise all the features which are not part of my batch.  

    One of the issues I think I am having is getting the symbolisation in the correct order.  I have addition symbology changes based on the status of attributes (e.g. we show features that the user has finished editing differently, and we also show features for deletion differently.

Children