Thanks for the reply Matthew,
Matthew wrote:
Most door & window standard parameters are available as globals. Try using them in the label object. The parameter WIDO_MARKER_TEXT might do the trick. There is also WIDO_PREFIX, etc... And a Request(ID_of_Main...) might work as well.
I found another variable - REQUEST("window_door_show_dim", "", show) that gives me the display option setting of on or off.
This means I can keep the call function in my window script and can turn it on or off on a global basis.
In V7.0 we use - WIDO_CUSTOM_MARKER, which is the dimension on or off button in the window settings (see attachment).
This allows us to turn the text off on a window by window basis.
The wierd thing is, this always seems to have a value of 0, no matter what the setting for the dimension button.
The statement - "if WIDO_CUSTOM_MARKER<>0 then....." call the text macro - works fine toggling the text on or off with the button.
If I simply say - PRINT WIDO_CUSTOM_MARKER in the 2D script, all I get is "0" whether the button is on or off.
So why does the above statement work?
Is there another way of finding and listing it's real value?
But V8.1 doesn't have the same on/off button as V7.0.
Is simply choosing "NO MARKER" from the dimension marker settings the same thing?
It doesn't seem to have any effect in the script now at all.
Why couldn't V8.0 have been left with a simple marker on/off button?
If on then choose the marker you want.
Frustrated but getting closer to what I want.
Barry.
P.S. An even wierder thing is if I copy and paste a wall with a window from V7.0 into V8.1, the window has automatically a "CUSTOM MARKER - V70" as a standard marker. This then shows all the info I need and behaves as I want (as it used to in V7.0). It seems to be treating the called macro as a marker.
If I alt-click the window and insert exactly the same window in another wall - no custom marker.
It is still reading exactly the same script - so what's the difference?
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11