BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Custom Markers!

Anonymous
Not applicable
Hi Guys... I need some urgent help here!

I need to create some custom markers for sections, elevations, door and window markers etc. See attached pic!

Any of you GDL Experts have the time to assist me?

Markers.jpg
16 REPLIES 16
NandoMogollon
Advocate
Hi Cecilia,

I'm not an expert at all, but I'm trying to do the same...
this is what I have found...

Cheers

Nando
Picture 4.png
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
David Maudlin
Virtuoso
Cecilia:

1. The Level Dimension is built into the application and cannot be modified, although I think someone has written a Label that might look similar (search the forum).

2. For the Section/Elevation Marker, I would start by making a copy of the Built-In Section Marker and modifying it rather than starting from scratch, the referencing is complicated, and it looks like all you need to modify is the anchor point of the longer text element. Taking a quick look, this object uses the Section-Elevation Marker Macro, so this is the code you should be looking at. Changing the anchor point should not be too hard, making it behave as the part is rotated and/or mirrored will be more challenging.

3. For the Door/Window Marker, I would take a similar approach to the Section/Elevation Marker: start with a copy of the Door Marker 12 (like the Section Marker, it is using the gs_DW_Marker macro) and modify the anchor point of the text.

The text anchor point is illustrated on page 175 of the AC 12 GDL Reference Guide.

HTH

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
NandoMogollon
Advocate
David wrote:
....... the Section-Elevation Marker Macro, so this is the code you should be looking at. Changing the anchor point should not be too hard, making it behave as the part is rotated and/or mirrored will be more challenging...
Hi David, thanks for your help.

I can't find the "Section-Elevation Marker Macro".gsm or the script anywhere...

I really don't want to get into a very complicated scripting, not for what I want which is just a custom "graphic symbol" scale independent, that shows either the Drawing number reference and the Layout number, of course with a given Font style, size and pen.

Have somebody successfully done this before?

I'm still trying...

Nando
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
Rod Jurich
Contributor
NandoMogollon wrote:
/....
I can't find the "Section-Elevation Marker Macro".gsm or the script anywhere.../...
Nando, you will need to add an item to your menu to enable the selection of a Sub Type.
See attached, you will need to do this via your WE.
Then you will be able to select the sub type of choice.
Sounds complicated, but you can do it quite easily.
Not sure you will achieve what you want, but now you know how to find sub types.
Rod Jurich
AC4.55 - AC14 INT (4204) |  | OBJECTiVE |
NandoMogollon
Advocate
Rod wrote:
Not sure you will achieve what you want, but now you know how to find sub types.
Thanks Rod.
Just right... I have no Idea about what to do with it.... I was trying to follow David's advice.

Anyway I was thinking more something more like the way I make a Drawing Title. Drawing the symbol with Lines and Fills, and then add "autotexts".

It's not that easy, but I have a vague Idea...., it requires some scripting: something to make the Symbol Scale independent, Add the text for the Drawing number or the view number, and the Layout reference, which should be some kind of Global Variables.. something like AC_PM_Autosheet, and AC_PM_DrawingNo or something like it. I just don't know which Variables to use, and You don't find any instruction or reference to another book on the AC-and GDL-Reference guide ...

I'll keep trying, but I really can't believe no-one has done this before.

If I find an easy procedure to do it, I will make it public here.

Regards

Nando

Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
David Maudlin
Virtuoso
NandoMogollon wrote:
I can't find the "Section-Elevation Marker Macro".gsm or the script anywhere...
A macro can also be opened by selecting the macro name in the Call statement and using the Open Object... menu command or shortcut key.

David
Open-Macro.gif
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Rod Jurich
Contributor
David wrote:
/....A macro can also be opened by selecting the
macro name in the Call statement and using the Open Object... menu command or shortcut key.
Thanks David, something new learned.
Rod Jurich
AC4.55 - AC14 INT (4204) |  | OBJECTiVE |
Anonymous
Not applicable
on the elevation marker -
it seems to me that you can nearly achieve this marker by adjusting the settings - see attached file.
you could complete the look by going through the section macro code and adding the following functionality

1. solid coverbackground on text block to cover element of circle that you have omited
- probably just requires a parameter to controll text background fill

2. Position of second text line should be independant to the first one or else
have a parameter controlling the alignment of the text

3. there seems to be an option to include the layout number in the standard marker but it is "greyed out" im not sure how this could be enabled
-Could you not just use the name of the section to match layout name? and have use id for other number?
Anonymous
Not applicable
looking in the section marker macro there is a subrouteen at the bottom to place the text - you could play around with this - change simple text2 input to a textblock and controll parameters etc.

! ==============================================================================
! Marker text definition
! ==============================================================================

2000:
pen AC_TextPen_1
if text_readable & text_rotangle > 90 & text_rotangle <= 270 then

! switch style
if text_anchor = 7 then style leftstyle
if text_anchor = 9 then style rightstyle

rot2 180
add2 0, -AC_TextSize_1
text2 0, -dsc, text_cont
del 2
else
text2 0, -dsc, text_cont
endif
return
Learn and get certified!