Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Arrow heads

SeaGeoff
Ace
Hi folks,
is there any way to access the default ArchiCAD arrow heads when scripting 2D lines. I want to make a simple "ALIGN" object and am wondering if I need to script the arrow heads as polygons. Thanks in advance.

Align.png
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
5 REPLIES 5
Frank Beister
Moderator
You will have to to to it by polygons. There is no access to the arrow head settings.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
SeaGeoff
Ace
Thank you my friend. I was afraid of that. Oh well, not so hard I guess as long as I don't feel the need to offer more than one or two.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
Frank Beister
Moderator
Since you are working with AC9 you can use DEFINE SOLID_FILL to be shure to get a solid arrow head:
filltype=MAX(IND(FILL,"Solid"),IND(FILL,"Solid Fill"))
IF filltype=0 THEN
  DEFINE SOLID_FILL "Solid"
  filltype=IND(FILL,"Solid")
  ENDIF

FILL "SOLID"
d=0.02
POLY2 3,2+4, -d/6,0,d/6,0,0,d
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
SeaGeoff
Ace
Yes, scripting the arrow heads is easy enough as long as you don’t need to offer the entire selection available with lines and labels. My object is built and performing well, just having some hotspot editing problems, which I will post separately. Thanks again.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
Frank Beister
Moderator
Sorry. My script has a tiny bug:

FILL filltype

(instead of FILL "Solid") is right.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!