I have an assembly model with multiple configurations. I use equations to suppress some parts according to a defined conditions.How can i disable an equation in a certain configuration?

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

In order to clarify my question I attach a simple example. In this example I have an assembly model with two parts (Base, Wall) and two configurations (AllPart, BaseOnly). I have also two additional instances of part (Wall).

In the first configuration (Allpart) I want to control the visibility of the Wall<2> and Wall<3> according to the width of the  base and in the second configuration (BaseOnly) I want to suppress only the Walls, That's all.

Skärmklipp.PNG

 

Skärmklipp1.PNG


Categories: Modeling and Assemblies, Configurations∕Design Tables

Comments
Last comment By: Ayman Alshehabi   Wed, 14 Feb 2018 12:39:20 GMT
Re: How can i disable an suppress equation in a certain configuration?

No, It is not like that. The equation works with all configurations and I want to make it work  with only specified configurations

By: Ayman Alshehabi  Mon, 12 Feb 2018 14:54:44 GMT
Re: How can i disable an suppress equation in a certain configuration?

I browsed through the forums and found this: Configurable equations in Assembly

 

I hope it helps!

The thread has a link to a blog that might help you.

By: Jason Martin  Mon, 12 Feb 2018 15:17:02 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hi Ayman,

 

Ayman Alshehabi wrote:

 

I use equations to suppress some parts according to a defined conditions.

You use something along the line.

"part<1>" = iif (Condition, "suppressed" , "unsuppressed")

Ayman Alshehabi wrote:

 

How can i disable an equation in a certain configuration?

 

You merely suppress or un-suppress. Enabling/disabling a "suppress-state equation" is the same as having an equation control the status in all configurations. Why use two different approaches to do the same thing?

 

Elmar

By: Elmar Klammer  Mon, 12 Feb 2018 15:22:25 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hello Janson,

 

Thank you för the länken. My question is not the same question that is discussed in the forum.  I still did not get the correct answer.

in order to clarify my question I attached a simple example (assembly file).

By: Ayman Alshehabi  Tue, 13 Feb 2018 21:33:28 GMT
How can i disable an suppress equation in a certain configuration?

I have an assembly model with multiple configurations. I use equations to suppress some parts according to a defined conditions.How can i disable an equation in a certain configuration?

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

In order to clarify my question I attach a simple example. In this example I have an assembly model with two parts (Base, Wall) and two configurations (AllPart, BaseOnly). I have also two additional instances of part (Wall).

In the first configuration (Allpart) I want to control the visibility of the Wall<2> and Wall<3> according to the width of the  base and in the second configuration (BaseOnly) I want to suppress only the Walls, That's all.

Skärmklipp.PNG

 

Skärmklipp1.PNG

By: Ayman Alshehabi  Mon, 12 Feb 2018 14:27:53 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hello Elmar,

 

I don't try to do the same thing by two different ways. I attached a simple example to clarify my question.

By: Ayman Alshehabi  Tue, 13 Feb 2018 21:41:02 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hi Ayman,

 

Your question is still not quite clear to me. Your base-only configuration. What condition drives that setting?

In other words when do you want to show the base only.

 

You are aware that you can specify the configuration in which an equation is active? Clicking in the equation cell should give you a configuration flyout?

 

Elmar

By: Elmar Klammer  Wed, 14 Feb 2018 07:48:58 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hi Elmar,

 

The Base only configuration is to be used in a drawing file.

My drawing file has two sheets. The first one linked with the Allpart configuration and the second linked with base only.

 

In the equation manager I tried to apply my equations on only the first configuration but it didn't work and that is the problem I am taking bout.

 

I hope it is clear now

By: Ayman Alshehabi  Wed, 14 Feb 2018 09:15:15 GMT
Re: How can i disable an suppress equation in a certain configuration?

Hi Ayman,

 

This is how I interpret you info.

A) You have an assembly that has various wall options depending on the base plate size

B) You Control the walls layout as per base plate size

C) For a given assembly layout you want to a drawing that shows

     a) The assembly it self on sheet 1 (showing base plate & all walls)

     b) The base plate only on sheet 2 as per the assembly size (say your base plate is 1500 mm wide & has say 3 wall, then you want to           show the 1500mm wide base plate by itself.

 

Is that right?

 

Elmar

By: Elmar Klammer  Wed, 14 Feb 2018 11:14:40 GMT
Re: How can i disable an suppress equation in a certain configuration?

Exactly, this is what I want to do.

By: Ayman Alshehabi  Wed, 14 Feb 2018 11:48:30 GMT
Re: How can i disable an suppress equation in a certain configuration?

One way to do it, add a second variable and use nested iif statement. That is in essence what I explained to do earlier.

Now it doesn't suppress the equations but it does what you want in the scenario described.

 

Activator is 1 in AllParts and 0 in OnlyBase. The WallTest is suppressed when ever Activator is 0.

 

"Activator" = 0

"Wall^Test<2>.Part" = IIF ( "Activator" = 0 , IIF ( "Base_width" < 1000 , "suppressed" , "unsuppressed" ) , "suppressed" )

"Wall^Test<3>.Part" = IIF ( "Activator" = 0 , IIF ( "Base_width" < 1500 , "suppressed" , "unsuppressed" ) , "suppressed" )

 

Elmar

By: Elmar Klammer  Wed, 14 Feb 2018 12:14:05 GMT
Re: How can i disable an suppress equation in a certain configuration?

An excellent idea. It is worked very well.

 

Thank you very much

By: Ayman Alshehabi  Wed, 14 Feb 2018 12:39:20 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.