Using GLOB_CONTEXT to stop object from printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-21 05:44 PM
we'd like to make a 2D object that displays on screen, but won't print - similar to Hotspots or Section lines.
Can this be achieved using GLOB_CONTEXT? I can't see a code for 'print' at all.
Or is there another option?
Any help appreicated!
Cheers,
Derek
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-21 07:22 PM
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System
"Implementing Successful Building Information Modeling"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-22 11:21 AM
A code solution would be preferable - any thoughts? Anyone known what the GLOB_CONTEXT = 8 (Layout) refers to?
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-22 11:47 AM
i.e.
if GLOB_CONTEXT = 8 then
END
endif
But this would stop you even seeing the object let alone not letting it print.
This will only activate if the object is place in a layout directly - so you could place it in the plan and you would see it there.
But if placed in the plan you would still see it in the layout because it is only a view of the plan in the layout. Because the object was not placed in the layout it wouldn't disappear.
I'm not sure if I explained that so well.
I was thinking you could try making the object with white pens (these won't print) but the layout pages are white and this won't help.
There is nothing that you can do about this and the pen visibility option in the work environment has no effect in the layout book.
You could add an on/off switch to your object so that you could turn it off when not needed but then if it is in the Master layout you would have to open that to turn it off.
The best option I think is a new layer combination so you can turn it on when needed as Erika suggested.
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
2012-06-23 05:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-23 05:51 PM
if a_<50 then end
It means that when 2d scale>1/50 then the object is invisible. 3d behaves the same way if needed. No Layers. You can also put the object in some other drawing or floor and trace it in Your drawing.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-23 06:30 PM
sinatropus wrote:Agree, another solution is to have the object in a worksheet or detail window that can be shown as trace reference.
isn't this situation something that Trace was meant for? i was also trying to think of a way to do this with gdl but couldn't figure out anything until Trace came to my mind as you can trace anything, as well another master.
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System
"Implementing Successful Building Information Modeling"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-25 06:37 AM
Barry wrote:ooppss re-read post, ignore the following
...I was thinking you could try making the object with white pens (these won't print) but the layout pages are white and this won't help.....
Barry.
Actually if you only want to see this object in the saved views, this might work if you keep your screen an off white.
I keep mine off white so I can see my white-out fills and it's a bit easier on my eyes.
And just did a test with a white pen and it was quite readable.
lec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-25 10:36 AM
all helpful ideas.
Thing is, I need to be quite realistic about how people would actually use these, and in a lot of cases the other staff just wouldn't bother, and would line stuff up by eye instead. Changing screen colours etc would cause more fuss than solutions!
We were after a solution that takes zero effort on the final user's part, hence hoping to create a 'hot line' object.
Guess we'll just have to set up a hotspot grid for layouts instead.
Thanks for the ideas.
Derek
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-25 12:11 PM
I think there is some space for a wish: "static" guide-lines (that only go away with an explicit command) *and* a GUIDELINE2 command in GDL.
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________