Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DIESEL expression - If Statement in a Field

0 REPLIES 0
Reply
Message 1 of 1
Julio_Soto
102 Views, 0 Replies

DIESEL expression - If Statement in a Field

I'm trying to create a field in an attribute that will take the value of a Rotation Parameter and subtract 180 from it, multiplying it by (-1) if the value is greater than 180. This way I can get negative angle values.

 

I thought this might work

 

$(if, $(>, Angle1,180), ((Angle1-180)*-1)),Angle1)

 

but no luck. Is this possible?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta