Home › Forums › Problems and solutions in GDL › Lists and schedules › Where I get the idxSkin? › Reply To: Where I get the idxSkin?
April 1, 2016 at 09:52
#2365
Gergely Fehér
Keymaster
Hi,
Getting the number of skins can be done with a do – while code block, as there is no dedicated global for it in these 2 element types. Unfortunately there is no global for the used building materials like WALL_SKINS_BMAT_NAMES.
nSkins = 0
do
success = REQUEST ("COMPONENT_VOLUME", nSkins, skinVolume)
if success then nSkins = nSkins + 1
while success
Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE