LIBRARY folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 08:11 AM
I tried to put the colors in the folder as JPG but do not work. I even tried to put them as aat and it still not work. what should i do????
I am trying to make a library folder with my objects for everybody to download from the internet.... Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 08:57 AM
Sorry for the bad description of my problem.
I am trying to make a folder with GDL objects for downloading. When you download the folder, you should be able to go to the library manager and LINK library. When you do that, the materials should follow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 09:31 AM
omar wrote:Not unless you DEFINE the material in the object script or create a Master_GDL object with the materaila defined in that.
....When you do that, the materials should follow.
The materials in a file are controlled by the attributes and your material list will more than like be different to my materials or other peoples materials unless we all use the same default template.
A material you call "Stainless steel" may have an attribute number of 23 in your PLN file.
But in mine attribute 23 might be "Plastic".
So you either need to DEFINE the materials in a script (object script or Master_GDL script - effectively hard coding them into the object) or supply an attribute file (.AAT) of your materials that other users can load in.
Attribute files can be dangerous though as users can inadvertantly replace some or all of their existing materials with your new ones if the attribute numbers are the same for different materials.
They will need to APPEND your materials to theirs, but then I am not sure if your objects will automaticall reference your new materail by name or whether it will use the attribute number which will be the users own material and not your new one.
That would have to be tested unless someone knows the answer straight away.
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 03:03 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 03:29 PM
I the GDL Reference Guide, look for the command DEFINE MATERIAL, it will explain the parameters as well as provide a few examples.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-23 04:27 AM
You can DEFINE the materials in the individual objects but you will need to do this in each object.
The material will only be available in the object you define it in.
Look at creating a MASTER_GDL file that can be added to your library.
DEFINE the materials in here and they will be available for all objects.
You can create one specifically for materials (you can call it "MASTER_GDL_materials" or whatever you like so long as it starts with "MASTER_GDL").
You will find info on this in the GDL reference.
Barry.
PS you only need to post your question once.
Now there are 3 separate threads going on the same subject.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-23 11:14 AM
Omar, ask you questions only in one thread, otherwise you will be considered a spammer. People who read the forum usually read all posts so if you will be answered, asking only once is enough, it will be read.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-23 03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-26 01:50 PM
But when i use a MASTER_GDL with define colors, the user can choose from the whole AC library. that is what i do not want..
What should i write in the parameter script instead of the index nr?
The user should only be able to choose my colors. my materials are jpg.
Probely very stupid but i am learnig...
Please help!!