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.

Section line length?

SeaGeoff
Ace
I'm trying to put a little tail on the end of a one sided section marker so it will look like a typical sectional detail marker. I cannot figure out how to determine the length of the section line so it will automatically locate itself at the end and move when the line is stretched. TIA.

Picture 1.png
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
4 REPLIES 4
Anonymous
Not applicable
Hello Geoff,
Are you trying to script your own section marker ?
There is a section marker that looks just like your image.
It is called "Section Partial Marker 10".
I'm probably missing your meaning completely.
Peter Devlin
Anonymous
Not applicable
Hello Geoff,
I had a look at "Section Partial Marker 10" and
it occurs to me that you may not need to determine the distance.
You could edit the shape and dimensions of the "tail"
by editing the POLY2_B command at the very end of the script
and save it under another name.
Peter Devlin
SeaGeoff
Ace
Thanks Peter! I missed that marker. It has just the code I needed, although I had to ponder it a while to figure out how it works. I never realized how the section marker code is executed. (My bad considering the abundance of excellent documentation on the subject ) Seems the script is run twice, once for the marker on each end, with one end being automatically mirrored. By including an IF symb_mirrored THEN... (or in this case IF not(symb_mirrored) THEN...) statement you can build a script that runs different code for each end of the section line. Simple. Thanks again.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
Anonymous
Not applicable
Hello Geoff,
Yes, for once, this one is simple.
Peter Devlin