License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2024-01-17
11:15 AM
- last edited on
2024-09-26
01:27 PM
by
Doreena Deng
Hi There,
i am working on automatic labels using custom picture method (gs_picture)
just wondering i cant figure out how the automatic / and non automatic placement is done.
i can give the label a fixed place, for example the object which has to be labeled is section / elevation 1500 x 1200 mm
i want the center label to be the center of the object.
i already requested the zzyzx en a parameter using:
rrr = REQUEST ("ASSOCLP_PARVALUE", "ZZYZX",
rrr = REQUEST ("ASSOCLP_PARVALUE", "A",
if gs_picture_name <> "" then
add2 -a/2, -zzyzx/2
picture2 gs_picture_name, AW, AH, 1
endif
Solved! Go to Solution.
2024-01-17 12:25 PM
Try the label set to zero routine. Just an idea, I do not know if it helps in your case:
add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]
2024-01-17 12:25 PM
Try the label set to zero routine. Just an idea, I do not know if it helps in your case:
add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]
2024-01-17
01:22 PM
- last edited on
2024-01-21
03:59 PM
by
Laszlo Nagy
add2 LABEL_POSITION[2][1] + LABEL_POSITION[3][1], LABEL_POSITION[2][2] + LABEL_POSITION[3][2]
add2 -ArtWidth/2, -ArtHeight/2
2024-01-17 01:40 PM
The values in the brackets are the Array-Values, because this Global Variable is an Array Variable.
The 2nd Value is either 1 or 2 for the x and y position
The 1st Values define the position of the label pointer, the starting point of the pointer (I think) and the starting point of the label.