Hello
I am trying to automatically control the display of a room via an equation. Is it possible to write an equation in such a way that if the if condition is met it shows me the part, otherwise it hides it from me? (on the same principle as "delete"/"undo deletion")
1 Like
Lynk
August 9, 2021, 8:52am
2
Hello
I notice that the equation tool doesn't offer this function, but I have a lead
It is possible to hide/show the component via a macro. It is possible to automatically recall this macro via the equation tool, (being a novice in macro, I can only wish you good luck).
1 Like
That's what I thought, thank you anyway!
Hello
I use equations to activate or not functions, but it's in part and multibody file (sheet metal/welded construction).
You should try in an assembly if it can work with a part.
2021-11-15_13_20_52-solidworks_2021_sp5.1_-_table-adossee-pied35x35.sldprt__.jpg
1 Like
Hello again,
As I don't like to remain without knowing, I tried...
And it works!
2021-11-15_13_30_14-equations_variables_globales_et_cotes.png
1 Like
@a.eriaud the request is to hide/show a room not deleted/de-deleted. ;-)
2 Likes
OBI_WAN
November 16, 2021, 3:11pm
7
Hello
I confirm I work a lot this way and it's perfect.
one-condition iff or two-condition iff.
May the force be with you.
obi_wan.jpg