• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

[part condition variable suppression]

  • Thread starter Thread starter cacciatorino
  • Start date Start date

cacciatorino

Guest
I have associated with a certain feature a suppression variable, which as known activates or suppresses a feature depending on whether its value is 0 or 1.
all right here, only now I would like this abolition variable to be dependent on another variable, and precisely assume the value 1 if the variable "l" is above a certain entity, or 0 if it is below, example:

if l > 80
then var_sopp=1
else var_sopp = 0

I threw out the guide, but I didn't find a way to do that if I didn't associate an excel sheet with the model or using visualbasic, things that are both out of my chances, though for different reasons.

advice?
 
they answered me on the American forum:

putting in the table variable the expression:

var_sopp = abs(dia>80)

automatically the soft respects the requested condition.
 
in some discussion I had made several examples on how to create conditions in variables. in practice the value returned from abs is 1 if the result of the formula within brackets is true and 0 if it is false. said this by combining different variables you can get interesting results.

If I find the discussion in which I'm going to send you the link.

Hi.
 
in some discussion I had made several examples on how to create conditions in variables. in practice the value returned from abs is 1 if the result of the formula within brackets is true and 0 if it is false. said this by combining different variables you can get interesting results.

If I find the discussion in which I'm going to send you the link.

Hi.
Now that you tell me I actually remember that you had uploaded these examples, but now looking with abs as a keyword does not come out anything, maybe it was before the big crash.
 
in some discussion I had made several examples on how to create conditions in variables. in practice the value returned from abs is 1 if the result of the formula within brackets is true and 0 if it is false. said this by combining different variables you can get interesting results.

If I find the discussion in which I'm going to send you the link.

Hi.
Good morning, guys, I try to make my contribution, let's see if it is useful: I was also reminded of the enlightening example provided by be_on_edge, I have sought and emerged this discussion about suppression variables, I try to seek better and repeat others.http://www.cad3d.it/forum1/showthread.php?t=12397&highlight=variabileSalued!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top