Jump to content

Recommended Posts

I am currently using motion view to build a model to be used on hyperstudy. I am using the templetes provided by altair for FSAE cars and my goal is to do a optimization on the suspension hardpoints. And I am trying to build some constraits that would avoid the software to test designs that are not feasible.

So I am trying to use the IF function on the General tap of the Expression builder to set the coordinates of one of the suspension points, as shown on the picture below. So the goal is for example to avoid the tierod link to pass though one of the a-arms tubes. So what I wanted is to evaluate the value of the x coordinate as a function of one condition. But the result is always a error evaluating.

So my question is if the output of this function is usable for parametric expression, or this can only be used on solver expressions?  If it can be used on parametric expressions can you give me a example on how to use it. If not do you guys know other alternative that I can try to use to solve my problem. 




Share this post

Link to post
Share on other sites

Hello Pedro,


This IF function is a solver function, hence cannot be used in this case. You can use the following form

(a operator b)?c : d

So, if (a operator b) is true, then the value is c, if it is false it would be d


I don't have an exact model as in your case. Here is an example with a different model





Share this post

Link to post
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.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...