Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

component suppression by expression

Status
Not open for further replies.

MitchNHTC

Aerospace
Jul 26, 2018
4
I have an assembly with 20 different vise stops all set to suppress by expression with "1's" and "0's". I need to have only one of them at a time in my ass'y with the rest suppressed.
In the top level file I have an expression that is "input_stop_number" which is linked to the sub-ass'y with an interpart expression. This all works fine except I don't want to have to turn on and off 20 different items every time I need a different ass'y.
How do I create a conditional expression to control all 20 at once?

Thank you.
 
Replies continue below

Recommended for you

n = 1
IF n ==1, then a=1 else 0
IF n ==2, then b=1 else 0
IF n ==3, then c=1 else 0
IF n ==4, then d=1 else 0
etc
etc

where a,b,c,d etc is the suppression expression for the components.


Dos this do the trick ?

Regards,
Tomas

 
Hi, I work with Mitch and couldn't login earlier so he asked the question for me. I have attached a copy of my expression list and as you can see I had to create the conditional as a boolean instead of number which returns a value of true or false. What is wrong with my "stop_results" ?
Thank you for your help.
 
 https://files.engineering.com/getfile.aspx?folder=70f045a5-ec27-4c1a-afa4-852790bbd690&file=Capture.pdf
Tomas,
As you can see I tried to make it work with just one stop_1 to start with, if I can make that work I'm thinking I can apply it to the rest of them with what you showed so far.
Thank you.
 
Tomas,

I have uploaded the actual excel spreadsheet that has all the expressions in it in case you needed to see the rest that the pdf doesn't show. You'll notice that I've toggled on stop_4 manually to test the suppression.
Thanks again
 
 https://files.engineering.com/getfile.aspx?folder=4d314d52-5bb5-4a6e-a4c9-d8d330ff005d&file=Worksheet_in_Expression_-_KSX_125-432253_FO_COP_90_L.xlsx
Status
Not open for further replies.

Part and Inventory Search

Sponsor