Simple Label
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-09-25 04:41 PM
2015-09-25
04:41 PM
I am trying to create a simple objects label.
The only thing that I want is that it will always be placed in the center of the object. Everything works fine until I mirror the object (the label ends up outside the object). The situation gets totally out of control if I mirror the object in a rotated view!
Any ideas?
!-----------
add2 LABEL_POSITION[2][1],LABEL_POSITION[3][2]
rot2 SYMB_ROTANGLE
add2 SYMB_A_SIZE/2,SYMB_B_SIZE/2
!-----------
define style{2} "LABEL_STYLE_1" LabelFont, LabelTxtSize, 0
paragraph"LABEL_PRG_1"3,0,0,0,1
pen 1
set style "LABEL_STYLE_1
GLOB_ID
endparagraph
textblock"LABEL_TXT_1"0,5,0,1,1,1, "LABEL_PRG_1"
richtext2 0, 0,"LABEL_TXT_1"
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-09-30 01:19 PM
2015-09-30
01:19 PM
Very strange
I have tried this in 19 using the simple define style and get the same result.
However if I delete the labels on the rotated objects and replace them they go into the correct place.
-------------------------
add2 LABEL_POSITION[2][1],LABEL_POSITION[3][2]
rot2 SYMB_ROTANGLE
define style "LABEL_STYLE_1" LABEL_FONT_NAME, LABEL_TEXT_SIZE , 5,0
pen LABEL_TEXT_PEN
set style "LABEL_STYLE_1"
text2 0,0, glob_id
-------------------------
Must be a bug
Hope this helps
I have tried this in 19 using the simple define style and get the same result.
However if I delete the labels on the rotated objects and replace them they go into the correct place.
-------------------------
add2 LABEL_POSITION[2][1],LABEL_POSITION[3][2]
rot2 SYMB_ROTANGLE
define style "LABEL_STYLE_1" LABEL_FONT_NAME, LABEL_TEXT_SIZE , 5,0
pen LABEL_TEXT_PEN
set style "LABEL_STYLE_1"
text2 0,0, glob_id
-------------------------
Must be a bug
Hope this helps
Archicad 4.1 to 28 Tech Preview. Apple Silicon
you can't build a line
Mac Studio
iPad Pro
iPhone
you can't build a line
Mac Studio
iPad Pro
iPhone

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-08 11:12 AM
2015-10-08
11:12 AM
Hello All,
This is a bug indeed. When you mirror a Label (with no pointer), the mirroring won’t affect the coordinate system of the label object (or at least not correctly). Our developers are on the case, and we will try to fix it as soon as possible.
In the meantime, here’s a quick tip from our developers: Positioning of labels has slightly changed recently, so use the following vector to position the label instead:
add2 LABEL_POSITION [2][1]
+ LABEL_POSITION [3][1],
LABEL_POSITION [2][2]
+ LABEL_POSITION [3][2]
Please look for similar tips, trick and suggestions about GDL on our new website!!
http://gdl.graphisoft.com
This is a bug indeed. When you mirror a Label (with no pointer), the mirroring won’t affect the coordinate system of the label object (or at least not correctly). Our developers are on the case, and we will try to fix it as soon as possible.
In the meantime, here’s a quick tip from our developers: Positioning of labels has slightly changed recently, so use the following vector to position the label instead:
add2 LABEL_POSITION [2][1]
+ LABEL_POSITION [3][1],
LABEL_POSITION [2][2]
+ LABEL_POSITION [3][2]
Please look for similar tips, trick and suggestions about GDL on our new website!!
http://gdl.graphisoft.com
Katalin Borszeki
Implementation Specialist
GRAPHISOFT
http://helpcenter.graphisoft.com - the ArchiCAD knowledge base
Implementation Specialist
GRAPHISOFT
http://helpcenter.graphisoft.com - the ArchiCAD knowledge base