farful
Mechanical
- Mar 27, 2007
- 6
I currently have a macro to extract information from a part into an Excel file, such as its description and weight. I'm using the following:
ModelDoc.CustomInfo2(Configuration.Name, "Description")
ModelDoc.CustomInfo2(Configuration.Name, "Weight")
However, I'm having a problem with the weight. Instead of getting the evaluated value of the weight, I get the text string of "SW-Mass@@Configuration Name@Document Title". How can I get the numerical value of the weight instead of the text string?
ModelDoc.CustomInfo2(Configuration.Name, "Description")
ModelDoc.CustomInfo2(Configuration.Name, "Weight")
However, I'm having a problem with the weight. Instead of getting the evaluated value of the weight, I get the text string of "SW-Mass@@Configuration Name@Document Title". How can I get the numerical value of the weight instead of the text string?