We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

creating gsm objects

Anonymous
Not applicable
Hi guys, i have created this fount with different archicad elements, i want to save it as a gsm and be able to edit and modify its materials, and use it in further models. Someone can help me with this??? thanx....

fount.jpg
5 REPLIES 5
Rod Jurich
Contributor
Juan wrote:
/..... i want to save it as a gsm /......
You have a number of choices, see attached. Shows  screen.
Add a signature showing your version and OS. Helps to get a more informed answer.
And welcome to the forum.
Rod Jurich
AC4.55 - AC14 INT (4204) |  | OBJECTiVE |
David Maudlin
Rockstar
Juan wrote:
... and be able to edit and modify its materials, and use it in further models.
Juan:

To customize the saved object you will need to dive into GDL programming. If you search the forum, you will find some guides for getting started with GDL.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Juan,

Getting you started on making a custom GDL object:

1.) Make sure the bottom of the fountain is at 0 elevation.
2.) In your 2D view, select the objects that you want to be a part of your customizable GDL object. Temporarily move them to the location on your screen where the center of the fountain is at 0,0,0.
3.) View the fountain objects (located at 0,0,0) in 3D by selecting the "Show Selection/Marquee in 3D" option.
4.) In 3D, click on "3D Projection Settings". Change the viewpoint to "Top View" and your Camera Location to 270deg.
5.) Click on File -> GDL Objects... -> Save 3D Model as...
6.) Give the file a name (the extension will be GSM).
7.) At the next dialog box you want to A.) Save as "Object" B.) Click on "Remove redundant lines from symbol" and C.) click on "Editable GDL Script".
8.) Click "Save".

Your object is now saved as a GDL object. From here, it's a matter of learning the GDL language and customizing the individual components you used to make your GDL object.

Setting your original object at 0,0,0 makes it easier to figure out how to expand or contract your objects (in the GDL object) based on a central focal point.

Hope this helps.
Anonymous
Not applicable
Hi QW, thanx for your reply...un fortunatly that is what i always do to create my objects and use them in my other models, the problem is that i still cant find out the way to modify its materials (parameters).

Thanx anyway...
Barry Kelly
Moderator
You will need to learn a little GDL and add a parameter for each material that you want to alter.

Then search through the 3D script and replace the hard coded materail with the new parameter - you will see it as ... "water" for example in the script.
Make sure you delete the quotes when you swap it for the parameter.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11