×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

visibility of objects

visibility of objects

visibility of objects

(OP)
i read some where that there is a setting for objects in which you can turn on and off via lsp or vba any one have any ideas thanks

if everyone helps everybody the world will be a better place

RE: visibility of objects

Yes you can set an entity's group code 60 to 1 to make it invisible.  0 or absent and it's visible.  Since you're an old-time lisper (at this forum) you can probably take it from there.

RE: visibility of objects

ResourceCAD has a free download to modify the visibility of blocks if you're interested
www.resourcecad.com and goto the downloads section

RE: visibility of objects

This sets the property to invisible. Remember though, to make it visible, you have to do that back through code..

(defun MAKE_INVISIBLE()
  (vl-load-com)
  (setq ENT (car (entsel)))
  (setq VLENT (vlax-ename->vla-object ENT))
  (vla-put-visible VLENT :vlax-false)  
  )

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: visibility of objects

(OP)
ok so i found a lisp already done that does this intead of having to build it my self :) but the thing is how can i make an object invisible but prints ???any ideas thaks

if everyone helps everybody the world will be a better place

RE: visibility of objects

if that is what you are after, why didn't you ask that question in the first place ? The question you originally asked is completely different

RE: visibility of objects

(OP)
yea but i also like to know how to get to the answer as i ask questions i some time find the answer by accedent plus i hope that others learn from what i show as well :)

if everyone helps everybody the world will be a better place

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources