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.
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
Thanks Rod,
Will try this and revert back if i have any doubts.
Regrads,
Rajesh
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
Rajesh Varatharajan said: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".
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".
Yours isn't a programming question. A better place to post it would be the Administration Forum or the MicroStation Forum.
Named Expressions are discussed in MicroStation Help.
You can use named expressions with the Customize utility to:
Regards, Jon Summers LA Solutions
Rajesh Varatharajan said:let me know where the best practices/ rules defined for this forum
It's the third or fourth post at the top of the Forum.