Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Register Log in

formula

amnon

New member
Hey,,

I have something like that:

PartBody
PartBody1
PartBody2

and I'd like to hide PartBody1 or PartBody2 by means of driving parameter (boolean)


if driving parameter ==true {PartBody1=hidden}
else {PartBody2=hidden}

but it does not work :(


Best regards
Amnon
 

MrCATIA

Super Moderator
It didn't work for me either. Instead of deactivating the PartBody, it deactivated sketches within the PartBody which lead to update errors.

I did make it work by Boolean Adding the PartBodies together and applying the formula to the Add operation.

My tree looks like this:

PartBody
-Add.1
---Body.1
-Add.2
---Body.2

I did this manually. Are you writing a program or script to do this?
 
Last edited:

Sponsor

Top