The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Everything about using Libraries and Library Parts - Doors/Windows/Objects/Stairs etc. (Example: How can I display a Transom above my Door?)

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, gkmethy, Gergely Feher

User avatar
By Sergio
#10658
Wondering if anybody can help me with this Door Marker (Door Marker_NCS). I got it to display on two lines, but there's no horizontal line between the top and bottom half. I'm wondering if 1. that is even possible, 2. how to insert that line in the block, or 3. know of another door marker that I can get the same result with.

I tried looking at the GDL script to put in the line, but... I can't find it, probably cuz I don't know any GDL (never used GDL, but can probably descipher it with some guidance).

TanX 4 Ur help
User avatar
By Sergio
#10725
Ok, an update (cuz nobody figured out my first post... :) ). Got to view the GDL code even though it was hidden, but I'm not quite sure where to insert the line while making sure that the line gets scaled with the symbol, not to mention how to CHANGE a GDL symbol with hidden code (do I have to retype the whole code in again?... will that mess anything else up?)

Or should I just use a different symbol that's better suited for my needs? (examples are welcome). Any help would be VERY MUCH appreciated... :)
User avatar
By Daniel Lindahl
#11040
I am tweaking my Numbering Marker to be used as a linked Door/Window marker (see screenshot below) and am having problems with the scripting to identify the Door ID in the Marker script.

I have tried
xxx=REQUEST ("AC_WIDO_ID","",idstring)
and also
xxx=REQUEST ("ID_of_main", "",idstring)
followed by
idn=SPLIT (idstring,"Obj.- %n",otext,obno)
and using idn in the TEXT2 statement.

Still no joy :(
What should I be doing to get this number into the marker?

TIA
Attachments
Door-window markers.JPG
User avatar
By Aussie John
#11042
hi Daniel - I replied to your post in GDL talk but for benefit of the forum I'll repeat it

"I dont use the request script to get the ID any more

Just use Glob_id
as in text2 0,0,Glob_id

Thats it"
User avatar
By Daniel Lindahl
#11050
Aussie John wrote:hi Daniel - I replied to your post in GDL talk but for benefit of the forum I'll repeat it

"I dont use the request script to get the ID any more

Just use Glob_id
as in text2 0,0,Glob_id

Thats it"
Hi John and thanks for replying.

That is exactly what I had in my basic numbering marker, and it works when placed independently on the plan. However, when using it as a linked custom marker for doors and windows I want to use the doors ID, not the markers ID, so it doesn't work.
User avatar
By Aussie John
#11059
Well I must admit I dont use the label for numbering the door as I had already set up the door library part to call another library item (which is the ID number) before labels were a feature.

I have used it in other circumstances for instance placing the label onto an elevation of the door and that works.
User avatar
By Sergio
#11131
Daniel Lindahl wrote:...am having problems with the scripting to identify the Door ID in the Marker script.
Sorry, but I'm not that advanced just yet. However, why don't you just take a look at AC's door symbol and see how they're getting the Door ID. I tried to find it quickly, but since I'm not that versed in all the GDL terminology I'm not quite sure which tag it is. I'm guessing you're familiary with checking out their code - just drag the label into notepad... (I hope this is not considered "illegal practices" for some reverse engineering or something like that... :shock: )