BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.
SOLVED!

Materials dissappearing

Jeffrey
Participant

Hello,

 

I'm currently working on a library file for the company i work for. I have made a parametric gutter with custom materials if i open this file in a other project the gutter losses all the materials.  How do I fix this problem so that other companies who want to use this library do have materials to use the object?

Schermafbeelding 2024-02-20 103110.png

Schermafbeelding 2024-02-20 103127.png

  

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator

You can DEFINE the materials in the object or create a MASTER_GDL file and DEFINE them in there.

This can cause problems with attributes though, so be careful.

Other companies may not want your materials.

 

All files in your company should be ideally started from the same master template, so should have all the correct attributes.

If not you can import them from the template.

Obviously update your template with all the attributes (material) you need.

 

If you are making this object for other companies, you should really work with the default attributes (materials) in the default Archicad template.

Then let the other companies worry about what materials they will use.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

5 REPLIES 5
Solution
Barry Kelly
Moderator

You can DEFINE the materials in the object or create a MASTER_GDL file and DEFINE them in there.

This can cause problems with attributes though, so be careful.

Other companies may not want your materials.

 

All files in your company should be ideally started from the same master template, so should have all the correct attributes.

If not you can import them from the template.

Obviously update your template with all the attributes (material) you need.

 

If you are making this object for other companies, you should really work with the default attributes (materials) in the default Archicad template.

Then let the other companies worry about what materials they will use.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thanks Barry, I fixed the problem but now my model is working with the correct materials in GDL 3D view but not in Archicad 3D model view.

Do you know how i can fix that?

Schermafbeelding 2024-02-21 104010.png

Schermafbeelding 2024-02-21 103945.png

 

EDIT : I found my problem. It is because i use a CPRISM_{3} shape. Does someone have an idea how i can fix that?

  

Is it just the sun position?

Or try other 3D Style settings?

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru

So that face is not the Top or Bottom Material?

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

I already fixed the issue. I needed to use CPRISM_{4} instead of CPRISM_{3}.

 

again thanks for the solution earlier!

Learn and get certified!