Tags:
You might me able to do this with a little effort.
We have a special attribute $material which returns the name of a material, but only the name of the material assigned to an entire component or group. So, in the example above, you would have to create your cube out of six rectangular components, and assign the material color to the component.
Them you could get a report showing the material name, and the area for each sub-component.
These can be used as desired, but cannot be modified
Al,
Thank you for the info.
Now I can use the _SD_AREA - it works fine with all, single face objects (I will have to play more with the SD $ plus Filters).
Have a look the Ruby from TAK2HATA - New version(2012.04.08)solid_quatify2.rb
http://forums.sketchucation.com/viewtopic.php?t=41120
He is able to extract some embedded info directly from the SU Groups and Components drawn by me.
The Length, Height and Depth is wrong when the object is rotated but the interesting element is the Area of the Materials Assigned.
1. The Area of the Materials Assigned is not affected by the 45 degree rotation - amazing information !
2. SU Default Colour is ignored in the summary calculation - even better !
It seems like the information can be accessed using Ruby.
Sample:
Gregory
Enter a phrase here to search the entire Render Plus web site:
© 2024 Created by Render Plus. Powered by