It is possible to create Type catalog like Autodesk revit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-04 07:01 AM
Dear all,
Is it possible to create a Type catalog in archicad GDl Library like Autodesk revit for different sizes?
regards
saravanan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-04 08:17 AM
ArchiCAD GDL object can have many-many parameters and they don't get slow as the number of parameters, constraints and parametric relationships within the objects increase, like they do in Revit after a certain point. Therefore you will many times see a single ArchiCAD object does the same as many Revit objects together.
However, you can achieve something like this, if you want to:
You can take a Door in ArchiCAD. You could open it for editing and lock its A and B parameters so when placing they cannot be modified by the user.
To do this, you need to type the following in the Parameter Script of the Door:
LOCK "A", "B"
Then in the Library Editing Window you would set A to 900, B to 2100, and save it under the name "D1 900x2100", for example.
Then, you would change the value of A to 1000, keep B at 2100, and save it under the name "D1 1000x2100". And so on.
Is this what you are trying to do?
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
2013-06-04 11:03 AM
Thanks for your reply,
I have created a window with one set of dimensions but like wise i have 400 (instants) set of dimensions for a window
wether i have to create 400 separate models in the library?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-04 11:18 AM
But I don't know why anyone would want to do it that way. Maybe you could explain it.
If you want to change them, it is very easy to use Find & Select to find all instances and change them.
If you want to schedule them, you can schedule the width and height easily, so the width and height value does not have to be in the name of the object.
If you want only to have certain sizes and size combinations available for a certain Door, for example, you could also program the Parameter Script of the object so that only certain values and value combinations can be entered in the width and height fields.
The VALUES command of GDL can be used in the Parameter Script of the object to achieve that (in such a case you would not need to lock the A and B parameters as I mentioned in my previous post, since you are selecting values for them when using the Object).
For example: you could type:
VALUES "A" 900, 1000, 1100, 1200and then you could select only these 4 sizes for the "A" parameter (Width) of the Door.
You could do the same for the Height, for example:
VALUES "B" 2000, 2100, 2200, 2400, 2700In this case you would have 4x5 = 20 standard Door sizes.
You could also make conditions so for a certain width only certain height values are available, for example:
IF A = 1200 THEN VALUES "B" 2200, 2400, 2700 ENDIFIn this case, when the width is set to 1200, only 3 sizes would be available.
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
2013-06-04 11:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-04 02:41 PM
I have another clarification that is: Is it Possible to assign the value of B= 2000 When the A value is 100
For Example
IF A= 100 Then
B=2000
EndIF
I had tried it in Parameter script, it is not working kindly assist me where I need add this code to get this value in Window Setting Dialog box.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-04 02:44 PM
IF A = 100 THEN VALUES "B" 2000 ENDIFSo you need to use the VALUES command to achieve this.
For more information check the GDL Reference Manual.
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
2013-06-10 05:27 PM
laszlonagy wrote:Types in Revit are not separate objects. One object can have many (hundreds/thousands) of different types. One door, for example, can have a type that is 900x2100 and another type that is 1000x2100; same geometry, same object. Revit objects can have many parameters with no slowness. Take a wide flange steel section: one family (object) with hundreds of different sizes and no slowness. Revit objects can have many types that can control more than just size. One door family can contain any number of frames and panels that can create a huge number of combinations of frames/panels all with varying sizes/materials. All built in the graphical family editor environment with no special coding language required.
If I understand correctly, Types are usually separate objects (Families in Revit). For example, a 900x2100 door is a separate object and a 1000x2100 is another object.
ArchiCAD GDL object can have many-many parameters and they don't get slow as the number of parameters, constraints and parametric relationships within the objects increase, like they do in Revit after a certain point. Therefore you will many times see a single ArchiCAD object does the same as many Revit objects together.
Autodesk, Inc.
On March 5, 2007 I joined Autodesk, Inc. as a Technical Specialist. Respectfully, I will no longer be actively participating in the Archicad-Talk fourms. Thank you for always allowing me to be a part of your community.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-06-11 03:43 AM
Scott wrote:Sounds like "Favourites" then.
Types in Revit are not separate objects. One object can have many (hundreds/thousands) of different types. One door, for example, can have a type that is 900x2100 and another type that is 1000x2100; same geometry, same object. .....
It is a shame that Archicad doesn't have a better system for organizing more than a couple of dozen favourites for each tool.
We really could do with some sort of folder hierarchy within the favourite list.
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
2013-06-11 04:50 PM
Some of the more complex systems in Revit also do the latter (typically with .csv files). This is how I get nice accurate cast iron pipe fittings in Revit.
This is actually an area where the programs are not so different. There are pros and cons each way but they can both accomplish pretty much th same goals in their own ways.
It is unfortunate that favorites are so limited. With some modest improvements they could easily do all the type catalog duty and more. Maybe in 18...