News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Shape shifter

Started by EddieB, October 04, 2022, 06:05:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EddieB

Anyone know if it is possible for a shape to change its appearance based on an environment variable being selected?
i.e. The shape may appear as a square in one environment and a circle in another?

wapperdude

Yes.  This is easily do-able.  All in the shapesheet.  You need two geometry sections.  One for each shape.  Then, using your data properties, you toggle true/false the NoShow attribute, thus toggling the visibility.

This link gives an example.  It uses the action section to choose which geometry section.
http://visguy.com/vgforum/index.php?topic=6897.msg28789
Visio 2019 Pro

EddieB


Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 176 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1052KB.
Tokens: post-login.
Cache hits: 14: 0.00269s for 26,733 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]