Hi Experts,
I am not good in programming so creating a macro that would set my View Window to refresh every 15 minutes programmatically is not possible for me. Your kindness would appreciated to achieved this undertaking.
Thank you in advance.
Jun
Hi Jun,
at first, please read and follow Programming Forum best practices. Do you expect you will receive an answer if there is no single information like what product and version do you use?
It's not clear what do you want to achieve and what do you mean by "view refresh". If talking about MicroStation-based products (Bentley Map etc.), view is updated automatically when displayed content changed. Can you provide better description how it should work?
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hello Jun,
there is no timer function/object in MicroStation VBA.
May be you can use the Windows API (SetTimer / KillTimer)
Martin
Unknown said:In order to achieve this goal, I need to have to refresh my view automatically every 15 minutes so that their data changes will also be viewed every 15 minutes in my created thematic map (symbology)
In my opinion this idea is wrong. In MicroStation a view is updated automatically if a model content is changed. I am not sure but I guess if thematic symbology definition is used in Bentley Map, it would work the same way. And even if not, this is not the main topic in your request.
Unknown said:...but it doesn't really answers my target goal.
For you the main goal is to "update view regularly". But what does it mean and what actions / workflow are required in terms of Bentley Map features and tools?
Are you able to simulate the refresh of modified spatial data manually? If not, I see no reason to discuss it how to repeate using own application.
Another question is are only attribute data updated in Oracle database or also spatial elements are updated?
I guess there are two steps:
Can you provide explanation what is your workflow now in Bentley Map and how data modified and stored in Oracle are synchronized to Bentley Map?