tfriedayNAS
Mechanical
- Mar 26, 2013
- 2
Hello all,
I am trying to link the sheet metal gauge to a property so I can call it out on the part drawing.
I can get the thickness as a property like "0.0747", but what I am really after is having a property as "14 ga".
I got as far as creating a design table in the part and using a very long IF statement to link the gauge callout (14 ga,16 ga,etc) to a property based on the thickness in the sheet metal property. I can then create a link on the drawing to the new property that has the gauge callout.
This sorta works. My problem is that I would have to set this up for every sheet metal part. I tried to create a macro but it doesn't go through the entire process before having an error and locking up solidworks.
Has anyone come across a way to get that "14 ga" to a property?
I was wondering if there was a way to link the gauge table that I am picking from to get the desired thickness and output the gauge to a property.
I am trying to link the sheet metal gauge to a property so I can call it out on the part drawing.
I can get the thickness as a property like "0.0747", but what I am really after is having a property as "14 ga".
I got as far as creating a design table in the part and using a very long IF statement to link the gauge callout (14 ga,16 ga,etc) to a property based on the thickness in the sheet metal property. I can then create a link on the drawing to the new property that has the gauge callout.
This sorta works. My problem is that I would have to set this up for every sheet metal part. I tried to create a macro but it doesn't go through the entire process before having an error and locking up solidworks.
Has anyone come across a way to get that "14 ga" to a property?
I was wondering if there was a way to link the gauge table that I am picking from to get the desired thickness and output the gauge to a property.