Hi,
I am working in MicroStation CE Update15. I need to enable /disable ribbon menu buttons based on a variable value.
When i searched in community, many suggestions was can be done through "Named Expressions".
Please provide me an simple example using Named Expressions to achieve this.
If you want an example of how this is done, download our freeware macros from here.https://envisioncad.com/freeware/microstation-resources/
After following the install instructions you will have an EnvisionCAD_gui.dgnlib file that contains custom toolboxes, ribbons, and associated Named Expressions.
If you open the dgnlib file and open the Named Expressions dialog you will see these custom assignments.
In the Customize dialog if you open the associated toolbox button you will see how the Named Expression is utilized.
Finally, if you open the EnvisionCAD_Freeware_CONNECT.cfg file in Notepad you will see the variable assignments.
Toggling those variable values between 0 and 1 will turn off/on the display of the toolbox and ribbon buttons.
Rod WingSenior Systems Analyst
Thanks Rod,
Will try this and revert back if i have any doubts.
Regrads,
Rajesh
Jan, Jon and Rod (others) are the best, aren't they? Correct you for forum etiquette, yet you still get the help you need. Too bad Bentley doesn't roll this way. I remember when they did.
Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley