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.
Rajesh Varatharajan said:Kindly let me know where the best practices/ rules defined for this forum.
They are pinned to be visible for everybody:
Plus, there are also more general best practices available, defined for the whole web, covering more aspects.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan Šlegr said:If I remember right, technically is enable/disable behvior defined as EnableExpression in command specification.
To understand how ribbon is defined and how the definition is transformed into what is displayed in MicroStation GUI, to study Ribbon chapter in MicroStation API documentation, is recommended.
Thanks Jan,
Will check
Rajesh
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.
Regards, Jon Summers LA Solutions
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: