cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

Requesting 3 letters of a material

Not applicable
I would like to have a set up, with the material name starting as a code and then a description, such as (Mt2 - Metal copper). Is it possible to request, on the GDL script, only the first 3 letters of a material to be used as a material TAG. It would be useful to have this as a wall material label on elevations.
BTW, I know I can simply change the material names to Codes...
2 REPLIES 2
Not applicable
HI,

with the help of REQUEST you can get the name of the material. The STRSUB is cutting the characters.

Eg.:
qq = REQUEST ("name_of_material", your_mat, get_mat)
firstThreeChar = STRSUB(get_mat, 1, 3)

Regards,
Not applicable
Nice one! Thannnnnnnk you

It is working like a charm!