Running against wall here.
We place a red text "Vorabzug" across the title block to indicate it being a first draft. At a later stage we then remove this text.
We already started controlling revision dates with custom layout info and thought we might be able to use this for our "Vorabzug". The idea being that we can select all layouts and edit that easily.
So far I've realized that when I save the autotext Vorabzug as an object, the text itself gets defined by this:
This works fine but my issue is that if there's no text entered into the Layout Info I'm left with an empty red bar.
My thought was that I might just use IF THEN ENDIF to controll whether anything shows at all.
If "<custom-LAYOUT-E0EA49FB-557E-4251-872F-9BA0A9184735>" = "Vorabzug" then...
I don't get any issues when saving it but it just doesn't react to what I write into the Layout Info.
My guess is that I can access the information but can't be controlled by it.
1. If there is no background fill no problem when the textfield is empty.
Do you want to control it separately on each page, or does the caption go down at the same time? If no:
2. I prefer have a layout template on a worksheet that is placed as a drawing on all master layout. So you only need to delete the text from 1 location. I hope I was clear.
I just have a watermark layer for mine. Once I'm paid I just turn that layer off
Here is another possibility but it is absolutely necessary to have a change so that the comment text of the object is displayed
!!!for _i=1 to vardim1(GLOB_ISSUE_SCHEME) !!! for _j=1 to vardim2(GLOB_ISSUE_SCHEME) !!! text2 0,0, GLOB_ISSUE_SCHEME[_i][_j] !!! add2 0, -0.01 !!! next _j !!! add2 0, -0.01 !!!next _i !!! !!!DEL TOP PEN 121 ht_text = 5.00 DEFINE STYLE "aa" Arial, ht_text,5,0 SET STYLE "aa" fill_type = 64 fill_pen = 20 back_pen = 121 SET FILL fill_type num_rev = 8 !!!Comment in Archicad French HOTSPOT2 0,0 for _i=1 to vardim1(LAYOUT_REVISION_HISTORY) for _j= num_rev to vardim2(LAYOUT_REVISION_HISTORY) IF _J = num_rev Then text2 0,0, LAYOUT_REVISION_HISTORY[_i][_j] IF LAYOUT_REVISION_HISTORY[_i][_j] <> "" THEN ht_frame=ht_text *(GLOB_SCALE/1000) width_frame = stw(LAYOUT_REVISION_HISTORY[_i][_j])*GLOB_SCALE/1000 + 0.005 !!RECT2 -width_frame/2 ,- ht_frame , width_frame/2 , ht_frame POLY2_B 4, 1+2+4,fill_pen ,back_pen, -width_frame/2,-ht_frame,15, -width_frame/2,ht_frame,15, width_frame/2,ht_frame,15, width_frame/2,-ht_frame,15 ENDIF ENDIF !!add2 0, -0.01 next _j !!add2 0, -0.01 next _i IF NOT(LAYOUT_CURRENTREVISION_OPEN) THEN PEN 20 TEXT2 0,0,"REVISION HISTORY - ADD CHANGE …" ENDIF