The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Object properties based on key-values? (http://forums.omnigroup.com/showthread.php?t=15900)

josh 2010-04-08 06:02 AM

Object properties based on key-values?
 
Hi,

Is there a way to format a shape based on the key-value data of that object?

Example:

If I have a widget with the key values:

fav-color:red
name:joe
age:21
sex:male

Ideally, one would like to apply rules to the shapes- if 'sex' == 'male' -> shape = circle, stuff like that.

Immediately, I'd be really happy if I could just get the label of the object formatted so that I can show the fields that I want in a particular order:

label = 'name' + <p/> + <bold>'sex'+","+'age'+</bold>

If there is no way to do this, it would be really handy if there were.

Thanks,
Josh


All times are GMT -8. The time now is 11:55 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.