I've been trying to get the layout to read a file and populate a rich text box..
The contents of the file(floor area) are written to when the plan file changes. This is all good.
In the layout, I have a macro which reads the contents of the file and puts it into a global variable. this macro is in the label of the plan object(layout box) in layout. All is good. label updates whenever the file updates..
but if I put a macro which just spits out the global vari
Don’t have the time or inclination to go into all the nuances in a quick post, but I think you’ll avoid a lot of problems by just placing that text box in your PLAN and just sending it to layout from there. That way it resides in the same place that the global is being initiated.
Also, just FYI, as a general rule, there needs to be a screen redraw/refresh of some sort in order for macros to update. This could be panning/zooming, but it also happens when you print. Not saying this