|
creating program or macro to display material cost of part
i would like to be able to use the mass and or volume information in sw to calculate and display the material cost of a part after i put in the material cost per mass or per volume. is it possible? where is a good place to start?
start by setting a custom property of the cost in the part, or simply ask the user for the value upon running the macro. all you then need to do is get the custom properties of the mass and cost, and do the math.
if you search the api for get custom properties you will have plenty of examples. |
|