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.

Custom section marker

Bruce
Advisor
I have created my own section marker, but can't figure out how to adjust the beginning of the section line itself - what happens is that it crosses into the marker head.

I have gone through the Built-In marker script, but can't see what they've done differently to achieve this. Does anyone know how to do this (see image)?
Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
15 REPLIES 15
Probably You need to move the marker outside by the R of the circle.

Piotr
Bruce
Advisor
Thanks Piotr - that's what I thought too, but that would then misalign the head with end of the section line (see image).
Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Bruce
Advisor
...and adjusted
Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
OK,
How did You managed the line?

Piotr
Lingwisyer
Guru
Wouldn't the symbol location be dictated by the symbols 2d origin, or base hotspot? So you'd need to move/crop the line without moving said origin/hotspot? Not sure how the marker is constructed, have yet to look at it... and I'm pretty blah at GDL atm...


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
Bruce
Advisor
Piotr wrote:
OK,
How did You managed the line?
I inserted an ADD2 command to draw the marker away from the origin - but as you can see, it is now misaligned with the section end point (marker on the left). The marker on the right is the GS Built-In Marker, and it achieves what I want without misaligning with the end of the section line.

I've inspected their code, but can't figure out how they did this.
Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Lingwisyer
Guru
Does the marker's circle have a fill active? Can you modify your draw order with the drawindex command? Not quite sure how it works as I haven't needed to use it... =/


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
Bruce
Advisor
Using a fill has no impact on the display of the section line (which is drawn by Archicad, not by the part). The GS part has no DRAWINDEX in it, so that's not the solution. I'm at a loss.
Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Lingwisyer
Guru
Though it may not be how the default marker crops the line, nor ideal, it would still achieve the same appearance given that the marker head is generated above the section line. Do you have a copy of the marker extracted that I could grab? Can't find where it is...


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