+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    May 2011
    Posts
    2

    Default Show/Hide object in current viewport

    Registered forum members do not see this ad.

    It would be a great help if there is a way to show or hide a specific object (not the layer it is sitting in) in a specified viewport without affecting its visibility in model space or other viewports.
    I came across a .vlx file from www.cadstudio.cz/dl./hideshow.vlx that does the job of showing or hiding an object in model space( and hence in all viewports).

    If someone got a lisp routine for object display just affecting the current viewport, it'll be real help.

    Thanks,
    Suribalu

  2. #2
    Super Member Organic's Avatar
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Feb 2009
    Posts
    1,641

    Default

    What sort of 'object'?

    I would just make another layer for it and viewport freeze that.

  3. #3
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    May 2011
    Posts
    2

    Default

    Thanks for the reply mate. Object is any autocad shape. Say, I have 15 leaders in a layer and I want to show only few of them in a given viewport. In another viewport I may be showing all 15. I'm constrained in creating more layers because I'm working on my company template which has been there for long and I just can't create new layers on my own.

  4. #4
    Super Member Organic's Avatar
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Feb 2009
    Posts
    1,641

    Default

    Quote Originally Posted by suribalu View Post
    I'm constrained in creating more layers because I'm working on my company template which has been there for long and I just can't create new layers on my own.
    That sounds like a bigger problem

    So long as layers are created reasonably and logically (i.e. not numbering all your layers 0 to 400 as I was sent a drawing once...) there should be no issue with creating as many as you need really.

  5. #5
    Super Member
    Computer Details
    designerstuart's Computer Details
    Operating System:
    xp
    Computer:
    various
    Discipline
    Architectural
    designerstuart's Discipline Details
    Occupation
    architect
    Discipline
    Architectural
    Using
    ADT 2009
    Join Date
    Jun 2010
    Location
    near london, near europe
    Posts
    756

    Default

    yes i can see a lisp for doing this doing something like:
    select objects
    create new layer called "vpfrozen"
    move objects to new leyer
    vpfreeze layer in current viewport
    which is no good for a business that doesn't trust its CAD users!

  6. #6
    Senior Member CADguy209's Avatar
    Using
    AutoCAD 2006
    Join Date
    May 2008
    Location
    Stockton, CA
    Posts
    109

    Default

    Registered forum members do not see this ad.

    You could try putting the leaders in paperspace and avoid the viewport visibilty issue altogether.

Similar Threads

  1. Show/hide layers
    By FunkyFresh in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 18th Jun 2010, 08:08 pm
  2. Writing code to hide and show a block
    By bigr1822 in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 20th Jun 2008, 09:26 pm
  3. show and hide toolbar in autocad2006 and over
    By motee-z in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 25th Apr 2007, 08:12 pm
  4. Hide Show Command?
    By 4d in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 29th Jul 2006, 04:14 am
  5. hide object & hide plot
    By ebjco in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 13th Mar 2006, 10:09 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts