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

REF DESCRIPTOR and object listing

Anonymous
Not applicable
Hello.

I'm trying to do fancy door-listing database to our office. Now I have become to a little problem with database and descriptors

In door object when i make a descriptor like this:

DESCRIPTOR name, "001"
this works perfectly. I can make a string by editing it dynamically and then get the string to the list by writing this to the listing template:

FORMAT "#Value [3][008]"
where [3] references to the code managed in Archicad list and [001] is the first DESCRIPTOR in object.

Problem is now when i'm trying to make REF DESCRIPTOR from my own database. Idea is to describe the things that are common in certain doors to database, not to objects - this way you can change for example the color defination of all doors just by changing the information to the database.


I used the DATABASE_SET command and everything goes just fine. No error messages

DATABASE_SET database_name descriptor_name.txt, component_name.txt, unit_name.txt, key_name.txt, criteria_name.txt, list_set_name.txt'
And then use the REF DESCRIPTOR-command:

REF DESCRIPTOR code, keycode

These seems to work just fine but i cannot get any value to the list itself.
What am I doing wrong? How can I get a description from database to my list?
Or is there a way to read the text from database to just a string so i can make a few IF-ELSE commands to collect the needed information to one string and use local DESCRIPTOR to send it to listing?

I have tried many ways and now I'm confused. Maybe i'll forget the database and try to figure out another way to do this...


EDIT: I tried these PROPERTY GDL ADD-ON-functions to read from database. It crashes every time I try to save the object. This thing sucks big time. Graphisoft should try to make these things little more intuitive and easier...
Looks like this is not possible to do.
0 REPLIES 0