We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-11-30 11:24 PM - edited 2021-11-30 11:25 PM
I tried to script a label that reads the geometry of an "Opening" and places a symbol.....
Why?
-> the opening Tool/Symbol is hidden when the host is hidden ... i often hide slabs in floor-plans, but like to keep the opening symbol
-> the opening tool has no symbolic view in sections
-> i have to label openings anyway to show dimensions
a small proof of concept can be viewed here:
https://www.dropbox.com/s/0fzb5ffbi2n1yqk/DD%20-%20Etikett.mp4?dl=0
does anyone understand the OPENING_SYMBOL_GEOMETRY command?
is anyone interested?
Grüße,
Lukas
2021-12-04 12:30 PM - edited 2021-12-04 12:30 PM
The opening symbols should work with label functionality - so be able to show independently to the host element [PERIOD]
I had similar idea - but did not dig deeper...minding that the label can be moved...and there is no 100% way to avoid that...
Piotr
2021-12-05 03:28 PM - last edited on 2021-12-05 08:20 PM by Laszlo Nagy
i thought wtih these I could stop it from moving...cant't find the right combination right now...
text2 0,0,"LABEL_POSITION[1][1]=X"
text2 10,0, LABEL_POSITION[1][1]
text2 0,-1,"LABEL_POSITION[1][2]=Y"
text2 10,-1, LABEL_POSITION[1][2]
text2 0,-2,"LABEL_POSITION[2][1]"
text2 10,-2, LABEL_POSITION[2][1]
text2 0,-3,"LABEL_POSITION[2][2]"
text2 10,-3, LABEL_POSITION[2][2]
text2 0,-4,"LABEL_POSITION[3][1]"
text2 10,-4, LABEL_POSITION[3][1]
text2 0,-5,"LABEL_POSITION[3][2]"
text2 10,-5, LABEL_POSITION[3][2]
text2 0,-6,"SYMB_POS_X"
text2 10,-6, SYMB_POS_X
text2 0,-7,"SYMB_POS_Y"
text2 10,-7, SYMB_POS_Y
2021-12-13 05:23 PM
Hi,
This is how OPENING_SYMBOL_GEOMETRY works: http://gdl.graphisoft.com/gdl_other_docs/how-to-create-2d-opening-symbol, but it is not set for labels.
You can only stop a label from moving if its pointer is turned off. Otherwise the drawing will be moved so it's bounding box will be touching the start of pointer according to settings. When it's turned off, the origin is fixed at the start of the invisible pointer. The pointer can't be disabled from GDL.
2021-12-15 09:29 AM
Hi @Peter Baksa ,
thanx for the answer!
at Graphisoft have you thought about dividing the symbol/ducumentation from the Opening itself?
It would be so helpful to show opening symbols in sections etc, use layers for symbols and not hide when for example slabs are not shown.....
Thanx