If P5=0 then it should show up which it does, if P5=1 or P5=3 it shouldn't show up, but I can only get it to work in one instance. It only works when P5=1, it will hide, but will not hide with =3, same for P6, P7, P8.
What in the formula can I change so that P5 will hide when either =1 or =3 is true?
Thanks
It an inp file spit out from a 3d modeling program. You can make custom parts in the 3d model then you can make them 'smart' by adding attributes that change the shape, size, thickness, etc. that show up in the model as an edit screen. You can only do so much in the model, then you have to go into the .inp file it creates to furhter edit it so you can make the edit screen that shows up in the model look like you want it to, so that other users can use it in the model.
Anyway, I did get it to work, just had to change that 2nd line to this.
"toggle_field:!P5=1,3;!P6=1,3;!P7=0,3;!P8=0,3")
Maybe it's not C++ but I was just assuming it was due to all the equations, etc, that I had to use, like:
1 2
=if P2==0 || P2==3 then 0 else 1 endif
=if P2==1 || P2==3 then 0 else 1 endif