We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2006-03-20 04:42 PM - last edited on 2023-05-24 11:03 AM by Rubia Torres
2006-03-20 05:17 PM
2006-03-20 05:24 PM
2006-03-20 05:42 PM
MUL2 GLOB_SCALE, GLOB_SCALEThis will make your marker scale sensitive.
DEFINE STYLE{2} "AC_STYLE_1" "Tekton Pro", 8'-1.1758", 0 PARAGRAPH "AC_PRG_3" 1, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701" PEN 164 SET STYLE "AC_STYLE_1" "TEXT 1" ENDPARAGRAPH TEXTBLOCK "AC_TEXTBLOCK_3" 35'-4.0122", 8, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701", "AC_PRG_3" RICHTEXT2 0'-0.0000", 0'-0.0000", "AC_TEXTBLOCK_3"change it to read:
DEFINE STYLE "AC_STYLE_1" "Tekton Pro", 8'-1.1758", 5, 0 TEXT2 0,0, GLOB_IDThe critical change is to add the "5" and remove the {2} in the DEFINE STYLE line, delete the rest, and add the TEXT2 line at the end.
2006-03-20 06:52 PM
2006-03-20 08:04 PM
2006-03-20 08:43 PM
SwissHokie wrote:If you can copy/paste your 2D script, I'll take a look at it.
Tom,
I've been able to get the shape of the marker, but that's about all I've managed to do. I made the changes to the code as you wrote, but when I placed it in a door, the marker came out quite large (when drawing it, should I be drawing it as 1 inch to 1 inch scale, and put in a 3 point font?), and the place holder text I put in was not in the area of the marker I wanted. Also, it didn't recognize the door ID number. It simply shows the place holder text I put in.
To have it read the hardware number, and show it below the Door ID, do i follow similar steps?
2006-03-20 08:46 PM
2006-03-20 09:19 PM
TEXT2 0,0, GLOB_IDshould read
STYLE "AC_STYLE_1" TEXT2 0,0, AC_WIDO_IDSorry, I slipped up that this is a "Marker" not a "Label" (requiring AC_WIDO_ID instead of GLOB_ID), and I neglected the important "Set STYLE to what we defined" command. (this is what I get for working from memory instead of the manual).
2006-03-20 09:46 PM