WilliUSF
Mechanical
- Feb 6, 2002
- 8
Can anyone tell me the syntax for getting dimension values from a SW part and assigning these values to variables in VBA?
When I run a certain macro on a certain part I want the macro to find specific dimensions in the part and assign the dimension values to variables within the macro. I've been able to get my macro to change dimension values in the part but I don't know the proper syntax for grabbing an existing value of a dimenion. I've seached the FAQ and saw information there that leads me to believe that this is possible but, no details were given as to how.
I am very much a newbie to VBA and Visual Basic. Thank you for your help. Hopefully someday I'll be able to give back to this forum!!
When I run a certain macro on a certain part I want the macro to find specific dimensions in the part and assign the dimension values to variables within the macro. I've been able to get my macro to change dimension values in the part but I don't know the proper syntax for grabbing an existing value of a dimenion. I've seached the FAQ and saw information there that leads me to believe that this is possible but, no details were given as to how.
I am very much a newbie to VBA and Visual Basic. Thank you for your help. Hopefully someday I'll be able to give back to this forum!!