shawn76o
Nuclear
- Nov 14, 2006
- 31
When adding Custom Properties for components I've noticed that, depending on the part, certain "Text Expressions" are available for one part and unavailable for others. For example, I'm told by our engineers that the Text Expression for a "Thickness" property is only available for a sheet metal part, which makes sense.
Since I'm writing a macro that checks every part in an assembly to ensure that all neccessary properties (for a Bill of Materials) have been entered, I need to know how I can determine if the "Thickness" property is available as a Text Expression for a part? I can determine this by manually opening a part and brining up the Summary Info window and checking the "Value / Text Expression" drop-down list to see if "Thickness" is listed.
How can I do this in a macro? Or, how can I determine if a part is a "sheet metal" part? Can anyone help me with this?
Since I'm writing a macro that checks every part in an assembly to ensure that all neccessary properties (for a Bill of Materials) have been entered, I need to know how I can determine if the "Thickness" property is available as a Text Expression for a part? I can determine this by manually opening a part and brining up the Summary Info window and checking the "Value / Text Expression" drop-down list to see if "Thickness" is listed.
How can I do this in a macro? Or, how can I determine if a part is a "sheet metal" part? Can anyone help me with this?