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

Changing rotation with shape data

Started by Michelle, August 06, 2008, 01:25:52 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.


I am working with a shape that (I hope) will automatically create itself depending on the user's choices in the Shape Data box.  I am having trouble getting a sub-shape to rotate based on one of these choices. 

I'd like my sub shape to change from 0 to 90 degrees based on a choice made.  I can get it to sit at 0deg or 90deg, but not to rotate per the option.  I tried putting "IF(Sheet.5!Prop.PanelDirection=("B"),90 deg,0 deg)" in the Angle cell for the sub shape's shape sheet... 

I wanted to attach a drawing, but I couldn't get it below 250KB  :'(
Any ideas what I am doing wrong?



angle = guard(if(strsame(variable, "B"), 90 deg, 0 deg))


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: 166 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1051KB.
Tokens: post-login.
Cache hits: 13: 0.00206s for 26,763 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]