We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Duplicate Library Item - Door Leaf

Lingwisyer
Guru
Hi all,

I have an issue with my Door Panel Collection becoming blank when I open a file in which I have duplicated a Custom Door Panel.

The door panel is one that I have scripted to allow for various parameter modifications.

I have not been able to replicate the issue with a door panel that has been built with slabs, etc, then save out as a door panel...



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
24 REPLIES 24
Lingwisyer
Guru
Barry wrote:
When I opened your custom made script and a saved as script I noticed a small difference.
In the parameter list of your scripted object there are 2 parameters that have values - one is a GUID.
In the saved as object I noticed these parameters are empty.

So when you duplicate the object it is keeping the same GUID - which I think is the problem.
As soon as I deleted those parameter values (and saved the object) I could duplicate, save and reopen the file and still see all of the custom panels.

Whelp. I deleted those two and now the Door Panel Collection is blank from the get go... Using the Save selection as door panel... rebuilds the Door Panel Collection.

I think I have broken something... my Door Panel Collection is not generating even when I start a new file without and custom panels until I save one out... Even when using the default template... Logged out / in and that bit is fixed now



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
This is the process I followed.

I opened a file that has custom door panels - works as expected.
I load in your object - all is good and it appears as a custom panel.
If I duplicate your panel that is when the problem arises - so I don't do that.
I edit your object to delete the 2 parameter values.
I then saved the file and closed Archicad.
Reopened the file and then I can duplicate you object with no issues.
I can then close and open the file with no further issues.

Barry.
One of the forum moderators.
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
Lingwisyer
Guru
Thanks Barry.

The coll_guid and coll_name looks to have been the issue.

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Erwin Edel
Rockstar
Strange, this works fine for me in the Dutch translation of the library.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Lingwisyer
Guru
Erwin wrote:
Strange, this works fine for me in the Dutch translation of the library.

With a coll_guid and coll_name? Used my door panel?


Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Erwin Edel
Rockstar
This is what I have.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Lingwisyer
Guru
Is that a scripted door panel? Or one created in the floor plan then saved out? I only had this issue with scripted ones.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Erwin Edel
Rockstar
Scripted panel.

I may have saved a custom door from floor plan at some point to fix this in the past. (replacing the 3D script)

I'm generally re-using and changing a collection of custom panels we've had for years.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Lingwisyer
Guru
Anyway, the issue was that a coll_guid and coll_name was being assigned, which does not seem to be happening for you.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Erwin Edel
Rockstar
OK, sorry for the misunderstanding with the phrasing (English is not my first language). When I change a panel / create a new one, I just open an existing one (copy it from other project to the linked project library folder, we do not use embedded library generally) and SAVE AS the new name.

As said, we have quite a collection of custom panels by now, so generally we are modifying something that already exists or perhaps copying a bit of script from one to the other.

We do not duplicate parts using the library manager.

Sorry if this is causing confusion.

Like I wrote before, sometimes the leafs will go 'missing' (door frames show only the frames, no leaf) and opening one of the leafs and saving it will force the rebuild of the list and they will show up again. I can't really say what causes it, it doesn't happen often.

I do notice that when I add a new leaf the name will appear in the list twice, but so far this has not caused any issues. Picking one or the other of those double names doesn't change anything either, I think it is just a minor bug with the scripted UI of the door objects.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5