Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Selecting materials

Anonymous
Not applicable
Hi, I'm new around here, having just leapt into ArchiCAD and GDL yesterday.

I've got a simple 3D script running that's generating a shape. Where I'm having problems is adding material to that shape.

I'm doing the following -
pen 1 
material "Concrete"


I'm following some examples I found online. The ArchiCAD introduction to object making says of this "You may not have the Material name used here, so put in the names of materials that you know to be loaded. "

I've taken the material name from the list under Options>Element Attributes>Building Materials , assuming them to be loaded into the model. I'm having no luck with them in the script though, getting a 'Material not found' error.

I'm sure I've missed out something blindingly obvious to those with a bit more experience, so sorry about the newbie question - but I've spent hours trying to figure this out from the documentation.

Any help gratefully received - thanks!
3 REPLIES 3
Make a variable called whatever like mat1 - set it to surface/material
than in 3d script before the part where needed:
material mat1
Remark: no "" - you use "..." when the material is defined in the object

Best Regards,
Piotr
Anonymous
Not applicable
So to set up the material I need to Open Object, then go to the Parameters button to add a new variable?

I don't have it working yet - but I think I'm heading in the right direction.

Thanks for your help, Piotr.
Anonymous
Not applicable
Got it working now - thanks