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

Customized Door and Window Marker that is parametric

Anonymous
Not applicable
Hi,

I have a question about a specific door and window makers. I want to make my own customized markers and I'm not to familiar with the GDL programming and all I have already reached up to open Subtype Hierarchy->Marker->Window-Door-Skylight Marker then Door Marker then a dialogue box will appear showing me all the parameters then after that what's next?
shown in the image below is the door marker that I am trying to achieve. the one on the left is an ArchiCAD door object with the default markers while on the right is an Archicad door object without any markers, the markers that is shown are drawn only by line and text. Is it possible to incoporate it as a custom door marker?

if you can point me to any sites or info regarding this it would mean a lot.
thank you so much.

Best Regards,

RJ

DOORMAKER.JPG
3 REPLIES 3
David Maudlin
Rockstar
RJ:

There is no easy answer, similar threads are:
Custom Door Marker and Custom Markers!

This will take an intermediate understanding of GDL, you can search this site for threads and links to guides about GDL to get started.

You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
I'm not exactly sure what you have tried so far, but it is probably easier to first try writing a new marker from scratch rather than editing an existing one. Once you've got the basics down you can look at one of the standard parts to see what they did.

The first step is to try the "hello world" type of script. In the 2D script of your new part (of door label subtype) write:
Text2 0, 0, GLOB_ID
Which will use the door's ID value as set in the Info Palette, or...
Text2 0, 0, "HELLO WORLD"
If you want to be traditional. 😉

This will place the text indicated by the third value at the center of the door.

From here you will need to get into the DEFINE STYLE and SET STYLE functions to get the text to look and align the way you want, and the LINE2 and/or POLY2 functions to draw the hexagon.

One advantage of doing custom annotation markers from scratch like this is that you probably only want them to look one way so you can write them very simply to look exactly as you want without having to set parameters for fonts, pens, etc.

The GDL Reference Manual has what you need to know but just barely. If you find it too cryptic the GDL Cookbook by David Nicholson-Cole or the GDL Handbook by Andrew Watson are good resources. Specific questions can also be asked here of course.

Good luck!
Anonymous
Not applicable
Thanks David for the useful info. regarding my concern. I will check out the links that you have provided.
David wrote:
RJ:

There is no easy answer, similar threads are:
Custom Door Marker and Custom Markers!

This will take an intermediate understanding of GDL, you can search this site for threads and links to guides about GDL to get started.

You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.

David