Jump to content

using "IF" statment with Parameter Manager


Gatekeeper101

Recommended Posts

I want to know if it is possible to use an if statement with the constraints. I know you can use other expressions. (Right clicking in the expression field and selecting one)

I've tried just formatting it like a standard statement would read out but it is not working.

Example of what I'm doing:

I have a linear constraint (D2) and a aligned constraint (DEPTH), they share a point creating an acute angle of 30 Deg. I want the user to enter in the length of the aligned constraint. Once the value is entered I would like to have the linear constraint do the following:

"IF cos(30)*DEPTH>.875, .875, cos(30)*DEPTH"

It will not accept the equation. If I just do "cos(30)*DEPTH" or enter a number it works fine.

Please Help and Thanks in advanced :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...