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

Modifying GDL object

DennisG
Participant
Greetings;

I am working with construction containers, and am excited to see that there are four container modules available in the construction components library.

Only one problem: containers come in two lengths, but these objects come in only one (shorter) length.

How can I modify specifically the length of the container object?

Much thanks,

Dennis
Dennis Glynn AIA
~ ~ ~ ~ ~ ~ ~ ~
ArchiCAD-64 23 3003 USA FULL
x64 Clone PC w/Intel(R) Core i7-4790 CPU @ 3.60GHz, 3601 Mhz, 4 Cores, 8 Logical Processors
NVIDIA Quadro K620
16.00 GB RAM
Win 10 Pro x64 based PC
13 REPLIES 13
Aussie John
Newcomer
changing the "A", & "B" sizes doesnt help?
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
DennisG
Participant
Thanks for your reply, Aussie John!
It appears that the A, B and Z perameters are locked - ideas appreciated.
Thanks again,
Dennis
Dennis Glynn AIA
~ ~ ~ ~ ~ ~ ~ ~
ArchiCAD-64 23 3003 USA FULL
x64 Clone PC w/Intel(R) Core i7-4790 CPU @ 3.60GHz, 3601 Mhz, 4 Cores, 8 Logical Processors
NVIDIA Quadro K620
16.00 GB RAM
Win 10 Pro x64 based PC
Dwight
Newcomer
Exactly which object needs editing?
Dwight Atkinson
Aussie John
Newcomer
I can only assume what is happening

If you open the library part ( a duplicate!!!), open the parameters window. Look for a line that says something like
lck "A", "B", "zzyzx"
if you put an exclamation mark at the beginning of the line the script will ignore that line and A. B and height will be editable
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
David Maudlin
Rockstar
Aussie wrote:
If you open the library part ( a duplicate!!!), open the parameters window. Look for a line that says something like
lck "A", "B", "zzyzx"


Dennis:

The statement to look for is:
Lock "A", "B", "zzyzx"
It could be in the Parameters or the Master Script(s).

Depending on how the part was coded, unlocking these parameters may or may not help; the part may not have been written to be changed in size. Additional code may be needed to make the part more parametric. The name of the part you are looking at would be a big help in answering these sorts of questions.

HTH

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
DennisG
Participant
Thanks much for the replies., gentlemen.

The part in question is named Storage_Container_CEL.gsm. I've attached it in a ZIP file (I think) for your reference.

I haven't attempted to unlock the attributes yet.

Thanks again,

Dennis
Dennis Glynn AIA
~ ~ ~ ~ ~ ~ ~ ~
ArchiCAD-64 23 3003 USA FULL
x64 Clone PC w/Intel(R) Core i7-4790 CPU @ 3.60GHz, 3601 Mhz, 4 Cores, 8 Logical Processors
NVIDIA Quadro K620
16.00 GB RAM
Win 10 Pro x64 based PC
Dwight
Newcomer
Fair job to transform that into a parametric element...
Dwight Atkinson
Aussie John
Newcomer
DennisG wrote:

I haven't attempted to unlock the attributes yet.

Thanks again,

Dennis
Im afraid wont help much as the sizes are hard coded and not related to the A,B values
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
gerd
Participant
ok, I did the job 😉

here is the adjustable container with some small modifications
- height and length of container can be adjusted (but no control about wrong values for windows, doors. the width is not adjustable)
- interior wall material can be defined separately
- two diefferent pens for better looking views
- 2d view can be "None" (only the hotspots; sometimes useful)
- 2d view "Floor plan" is generated automatically by cutting the model
- the gdl is written with archicad 7.0, but it should also work in heigher versions

have fun
gerd