solidworks VB If statement in Equations
I am trying to suppress a part in an assembly using equations in solidworks 2012. I have only been working with 2012 for a whole two days and the equation area seems to be completely overhauled. I have found an area in solidworks help covering this but cannot seem to get the syntax right to make it work (Visual Basic If Function) is what solidworks help is calling it. Here is what i am needing to do
If "Ring 3 Height" = 0 then suppress "Panel_03"
"Ring 3 Height" is a Global Variable that I am setting using a .txt file
"Panel_03" is the part in the assembly that i am trying to suppress
I have never written any kind of if statement in an equation, i have always used a macro to do this sort of work for me.
I should also note that i am trying to do this under Features in the equations area.
![](http://i1291.photobucket.com/albums/b559/allercheap/apis.jpg)
![](http://i1291.photobucket.com/albums/b559/allercheap/29.jpg)
In this video tutorial i will show you the trick about solidworks
没有评论:
发表评论