Jump to content

non-printing object


HARRY-PLOTTER

Recommended Posts

Set the dxf 60 to 1 then print after that reset the value to 0 to show back the previous selected objects .

 

Search the forum and you should find at least two threads as far as I can remember .

Link to comment
Share on other sites

A work around will be to store a "no-plot" flag into entities as extended data and redefine the PLOT command to temporary move all entities bearing it into a no-plot layer, proceed to plot and move them back to their original layer.

Link to comment
Share on other sites

I'm not sure... I will be happy to be wrong... :)

Try this and let me know who's wrong . :danger:

 

(defun c:hideobjs (/ ss i sn)
 ;;    Tharwat 30.July.2014        ;;
 ;;    Hide objects temporary        ;;
 (princ "\n Select objects to hide ")
 (if (setq i  -1
           ss (ssget "_:L")
     )
   (while (setq sn (ssname ss (setq i (1+ i))))
     (entmod (append (entget sn) (list (cons 60 1))))
   )
 )
 (princ)
)
;;                            ;;
(defun c:showobjs (/ ss i sn)
 ;;    Tharwat 30.July.2014        ;;
 ;;    Show hidden objects         ;;
 (if (setq i  -1
           ss (ssget "_X" '((60 . 1)))
     )
   (while (setq sn (ssname ss (setq i (1+ i))))
     (entmod (append (entget sn) (list (cons 60 0))))
   )
 )
 (princ)
)

Link to comment
Share on other sites

Your lisp is perfect! Sorry for my english, but this is not what i want ... i was thinking about setting an object to be non-printable but still visible... and THIS I think is impossible...

Link to comment
Share on other sites

Your lisp is perfect! Sorry for my eglish, but this is not what i want ... i was thinking about setting an object to be non-printable but still visible... ant THIS I think is impossible...

 

So you should take Mircea's Advise .

Link to comment
Share on other sites

Convert plotstyles to .stb, set one style to color 255,255,254 and apply it to each object you don't want to be plotted.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...