The only problem that I am facing now is whenever I use a large assembly file. I have few parts which have referenceset as 'Entire Part'. For that following parts I am getting surface area as 0. Do you anything about reference set? How do I overcome this problem?
Also can I create a similar kind of journal to give a list of surface areas of an individual surface of an .iges file model?
It works now...
I wanted to know what modification I must do in order to get surface area of individual surfaces of an part? I will be using imported .iges file so that I can have each surface as a different body(entity).
As for measuring surface area of individual faces, I'd suggest iterating through the part's body collection, use the .GetFaces method, and finally use the measure face command on each. Record a journal of measuring one face in a part to get an idea of how to call the correct measurement functions; use this code as a starting point.
In modelling window; go to Tools>Journals>Playback
A window will appear. Browse the .vb file and click open. You will now be able to click on 'Run' option.