AnsweredAssumed Answered

Macro to add "gross" area to custom properties

Question asked by Chris Pettit on Mar 15, 2017
Latest reply on Mar 21, 2017 by Scott Stuart

Can someone please help me with a macro that would add the following custom property to a solidworks part file?

Property Name = "Gross Area"

Value = "D1@sketch1" multiplied by "D2@sketch1"


Basically I want to know the overall amount of material used to make a bracket or plate. See image.footprint.JPG


I have downloaded the macro "FaceProperties" posted by Feroz Mahomed on Sept 8, 2015 then tried to add this myself but I cannot figure out how to pull these two dimensions into the macro. Here is the thread for that macro:


Thank you in advance for any help you can provide.

Chris Pettit.