BIM Coordinator Program (INT) April 22, 2024

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

Documentation
About Archicad's documenting tools, views, model filtering, layouts, publishing, etc.
SOLVED!

Adding new option for floor finish to Zone Stamp

Zaraf
Contributor

Hello!
Is there a way to change the options for floor finish or add some new ones. I'm trying to add a couple of options to choose from in order to save some time writing the name of the finish for every single zone in the project. I'm doing this in the hope I can link those options later in a Scheme to export the info about zones.

Context: I'm trying to setup a template for the place I'm working at with as much automatic options as possible and cannot seem to find the place where I can edit that part.

 

Hope someone can help me. Thank you for your time!

Have a nice day! 


Screenshot 2023-02-22 111350.png
Version 23 to 26
Lenovo Legion 5 Pro, Intel i9-12900H @5GHz, 32GB RAM, NVIDIA GeForce RTX 3070 Ti 8GB, Windows 11
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Yves
Advocate

Hy,

 

Try with this at the beginning of the master script

dim stWallCoveringValues[4]
	stWallCoveringValues[1] = `Plâtre`
	stWallCoveringValues[2] = `Peinture mur`
	stWallCoveringValues[3] = `Papier peint`
	stWallCoveringValues[4] = `Carrelage`

dim stCeilingCoveringValues[3]
	stCeilingCoveringValues[1] = `Plâtre`
	stCeilingCoveringValues[2] = `Béton`
	stCeilingCoveringValues[3] = `Couleur`

dim stFloorCoveringValues[4]
	stFloorCoveringValues[1] = `Parquet`
	stFloorCoveringValues[2] = `Carrelage`
	stFloorCoveringValues[3] = `Chape`
	stFloorCoveringValues[4] = `Moquette`

values "stWallCovering" stWallCoveringValues, custom
values "stCeilingCovering" stCeilingCoveringValues, custom
values "stFloorCovering" stFloorCoveringValues, custom

And for more option here is a example

dim stFloorCoveringValues[8]
	stFloorCoveringValues[1] = `Parquet`
	stFloorCoveringValues[2] = `Carrelage`
	stFloorCoveringValues[3] = `Chape`
	stFloorCoveringValues[4] = `Moquette`
	stFloorCoveringValues[5] = `Parquet`
	stFloorCoveringValues[6] = `Carrelage`
	stFloorCoveringValues[7] = `Chape`
	stFloorCoveringValues[8] = `Moquette`
Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

View solution in original post

8 REPLIES 8
Barry Kelly
Moderator

You probably need to edit the GDL script for that zone stamp.

Without knowing what the zone stamp is that you are using, I can't say any more.

 

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

I am using the default Zone stamp 02 23. I tried now looking into the GDL options but still cannot find where to edit those options.

But it is worth asking, if I edit those values can i link them into Element Schemes later? That is the whole point I'm doing this for.


Screenshot 2023-02-22 113935.png
Version 23 to 26
Lenovo Legion 5 Pro, Intel i9-12900H @5GHz, 32GB RAM, NVIDIA GeForce RTX 3070 Ti 8GB, Windows 11

Meanwhile I asked ChatGPT to write me a script for the zone stamp to show me options for the floor finish setting.

"Can you write me a gdl script for a zone stamp to have the options "Parchet laminat" and "Plăci ceramice antiderapante" in the floor finish section?

 

Certainly! Here's an example GDL script for a zone stamp that includes the options "Parchet laminat" and "Plăci ceramice antiderapante" in the floor finish section: (see screenshot below)."

I have 0 knowledge of coding but archicad says it is wrong and tells me that there is some error on line with "fill 0, 0, 0, 0". Not sure why.


Screenshot 2023-02-22 125459.png
Version 23 to 26
Lenovo Legion 5 Pro, Intel i9-12900H @5GHz, 32GB RAM, NVIDIA GeForce RTX 3070 Ti 8GB, Windows 11
Solution
Yves
Advocate

Hy,

 

Try with this at the beginning of the master script

dim stWallCoveringValues[4]
	stWallCoveringValues[1] = `Plâtre`
	stWallCoveringValues[2] = `Peinture mur`
	stWallCoveringValues[3] = `Papier peint`
	stWallCoveringValues[4] = `Carrelage`

dim stCeilingCoveringValues[3]
	stCeilingCoveringValues[1] = `Plâtre`
	stCeilingCoveringValues[2] = `Béton`
	stCeilingCoveringValues[3] = `Couleur`

dim stFloorCoveringValues[4]
	stFloorCoveringValues[1] = `Parquet`
	stFloorCoveringValues[2] = `Carrelage`
	stFloorCoveringValues[3] = `Chape`
	stFloorCoveringValues[4] = `Moquette`

values "stWallCovering" stWallCoveringValues, custom
values "stCeilingCovering" stCeilingCoveringValues, custom
values "stFloorCovering" stFloorCoveringValues, custom

And for more option here is a example

dim stFloorCoveringValues[8]
	stFloorCoveringValues[1] = `Parquet`
	stFloorCoveringValues[2] = `Carrelage`
	stFloorCoveringValues[3] = `Chape`
	stFloorCoveringValues[4] = `Moquette`
	stFloorCoveringValues[5] = `Parquet`
	stFloorCoveringValues[6] = `Carrelage`
	stFloorCoveringValues[7] = `Chape`
	stFloorCoveringValues[8] = `Moquette`
Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

So, my god, that worked flawlessly. Thank you very much!

But regarding the context on which I'm doing this, if I save the changes I make in the zone stamp, it resets the format I previously had (I hope the screenshot helps rather than confuses). To save the "custom" settings on every modification I made on this stamp I have to do it in the stamp parameters in the GDL options? I'd be glad if you had the time to answer on this.

 


But again, on the problem I had, that worked like a charm. Thanks again!


Screenshot 2023-02-23 205643.png
Version 23 to 26
Lenovo Legion 5 Pro, Intel i9-12900H @5GHz, 32GB RAM, NVIDIA GeForce RTX 3070 Ti 8GB, Windows 11

Changing default settings in the zone stamp object, should not affect stamps you have already placed.

It will only affect new zone stamps that you place.

So existing stamps you will have to alter manually in each stamp.

 

Also be careful.

If you amend and save a zone stamp object, then if ever there is a library update, you will have to make the same changes again, because the amended object will simply be replaced with a new version that doesn't include your modifications.

 

You are better off to 'save as' the stamp as a new object with a new name, and save that object to your office library that is loaded into every file so you will have it in all jobs.

Then you use that new stamp instead of the existing one.

And if the Graphisoft library is ever updated, you will not lose your amended zone stamp.

 

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
Yves
Advocate

Hy,

You can choose and save your favorite settings directly on your new zone stamp from the interface script.

 

Capture d’écran 2023-02-24.png

 

 

Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

Thank you. I did that now. 

Have a nice day!

Version 23 to 26
Lenovo Legion 5 Pro, Intel i9-12900H @5GHz, 32GB RAM, NVIDIA GeForce RTX 3070 Ti 8GB, Windows 11
Learn and get certified!