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

Add pre-set sizes to window library part

EH21
Booster

I am new to customizing library parts in Archicad. I'm currently working in Archicad 22. In my company template, I'd like to have windows with pre-set sizes that correspond with the window manufacturer that we use. For example, I'd like to pre-load the options for window sizes in the drop-down menu for the W Double Hung 22 rather than custom enter a window size every time. See attached screenshot. What is the best way to accomplish this?

 

1 ACCEPTED SOLUTION

Solution
Lee Hankins
Advocate

Rather than editing the library parts which you will then likely have to do for each subsequent Archicad version you could save Favourites of each window size and style. These automatically upgrade with each version with the odd exception. 

Lee Hankins
ArchiCAD 4.5 - ARCHICAD 25UKI
macOS Monterey (12.4)

View solution in original post

5 REPLIES 5

ispyridis
Contributor

First of all you'd rather Expode Archicad_library_22.lcf in a folder so you can edit your objects and save.

Second open the gsm file of window and in the parameter script use the "Values" command to set up your value list. you will probably find solution already answered here in the forum if you search for values list.

I have been playing around with this, and what I'm finding is that the Archicad 22 window library part has nothing in the Parameters script, but I do see this in the Master script (see screenshot). When I try to manually input in the the Parameters script, it doesn't seem to do anything. Any thoughts? 

Editing the default Graphisoft doors and windows is probably just a road to frustration unless you really know what you are doing in GDL.

There are so many CALLs to macros that then CALL other macros, it can be hard to keep track of what does what.

 

Plus if you modify existing objects, you will be in trouble if the library is ever updated.

Either you can;t update, or you must re-do all of your modifications again.

Or you 'Save As' and duplicate the objects which will become your 'special' objects and will never be updated in the future.

 

As Lee Hankins suggest, I would probably just save your standard sizes as favourites - maybe not all of the standard sizes, but the most popular ones at least.

You can Import those favourites into other jobs as well so you can have them available in all files.

 

Barry.

 


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

As I said before you have explode the lcf file of the library. There you will find the general window macro and probably there you will be able to set values. Unless it takes you to another macro as Barry said. It is a nice trip to start learning gdl read and follow the code.

Solution
Lee Hankins
Advocate

Rather than editing the library parts which you will then likely have to do for each subsequent Archicad version you could save Favourites of each window size and style. These automatically upgrade with each version with the odd exception. 

Lee Hankins
ArchiCAD 4.5 - ARCHICAD 25UKI
macOS Monterey (12.4)

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!