Pb equation!

Hello

Is it possible to remove a function of a part in an assembly by an equation?

See attached documents.

 

 


pb_equation_2.jpg

Hello;

I'm not a specialist in equations, which is why I'll rather direct you to a "family of parts" to control the states of your functions.

Note: equations are always possible (since they are Excel tables)

3 Likes

Yes, just put

 

Material removal:  = if extractor diameter = 21, suppressed,unsuppressed

 

View image

 

 


equation.png
3 Likes

When I select enlev.mat.-Extru.1 to edit my equation, it doesn't want to. He puts the name of the piece directly.

The = does not work in the paranthesis.

I'm on solidwoks 2011.


pb_equation_3.jpg
For the equal sign, you should use NOT and the upper and lower signs. I think that this type of equation doesn't work, it's better to turn to the families of parts.
1 Like

At home it works,

 

I go to equation, in the first column I click on an empty box and then on the functino in my tree. Then in the formula I enter what I put in the image and it works!

 

Put yourself in the "functions" section, it's made for that.

In an assembly, it doesn't work.

If I edit the part and if I create an equation in the part, then I can click on the function and it goes into the equation. In assembly, you can't edit an equation  and put functions specific to a part. In any case, not in my case or in solidworks 2011 where maybe I'm doing things wrong, I don't know...

There have been changes in the equations starting with SolidWorks 2014. That may be one of the improvements.

It is quite possible.

 

If I create a part family, do I have to create it in the assembly or in the room under a new window?

 

I have never used family room. :-(

There is an SPR (SolidWorks Enhancement Request) for this issue (number 740290): 

Assembly features propagated to parts that are suppressed by an equation won't get suppressed in the part level.

See this link after logging in to your SolidWroks account:

https://customerportal.solidworks.com/eservice_enu/start.swe?BusComp=Product+Defect&Id=1-252TUB3&SRN=

 

 

If it is in an assembly you have to add in front of the function @nomdelapièce and on the side of the same diameter.

 

After that, I didn't do the trial, so Lucas is probably right.

See this video tutorial for room families:

The SolidWorks Family of Parts - January 2011 - Web Lunch: https://youtu.be/aGZTv99R4hE

I tried several handwriting like "@063.02.01Enlev. mat.-Extru.1"=iif("Housing extracteur@Esquisse5@063.03.01.Part">20,  "suppressed" , "unsuppressed"  )

It's not working.

1 Like

For your information, the parts families are configurations driven by an Excel table. I'm not sure that the 2011 version handles equations in families...