Controlling object text display through display options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08
04:53 AM
- last edited on
‎2023-05-24
11:40 AM
by
Rubia Torres
I have objects with text and would like a simple way to turn them off through display settings. e.g. when I print a review set I do not want the text to show as opposed to when I print final working drawings.
Help is greatly appreciated

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08 08:16 AM
You can use either ...
REQUEST ("window_show_dim", "", show)
Returns 1 in the show variable if in the Model View Options/Window options the "with Markers" is checked, 0 otherwise.
Or ...
REQUEST ("door_show_dim", "", show)
Returns 1 in the show variable if in the Model View Options/Door options the "with Markers" is checked, 0 otherwise.
So in your 2D script for every TEXT2 command you would need ...
dummy = request ("window_show_dim", " ", show) if show = 1 then TEXT2 ..... endif
I have also used ...
REQUEST ("floor_plan_option", "", storyViewpointType)
Returns the story viewpoint type which is set in the Model View Options. 0 stands for "Floor Plan", 1 stands for "Ceiling Plan".
These days it can be done with Library Globals but this is a bit more involved to set up.
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08 03:39 PM

What would be a best way to write this function?
dt= Display text (Check Box)
I would like control the text being visible or hidden based on dt (Value)
unless the request ("window_show_dim", " ", show) is off then the text will remain hidden.
Hope that makes sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08 04:12 PM
Deadreq = request ("window_show_dim", " ", show)
if show = 1 and dt=1 then
TEXT2 txtx,txty,CABSIZE
Is this correct?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08 05:48 PM
If both those values were "1" (on) then the text will show.
If either is "0" (off) then there will be no text.
The dt checkbox will control the text on an object by object basis.
The MVO show window marker will control all objects with text globally.
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-08 05:59 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-09 09:10 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-12 03:32 AM
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-10-13 03:20 PM