Custom point sumbol
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Custom point sumbol

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting
Author Message
MAP-DUDE
Guest





Posted: Fri Feb 04, 2005 3:08 am    Post subject: Custom point sumbol Reply with quote

Can you create a custom "point" symbol like a valve. Bunch of points in a drawing from GIS data. Want to convert points to custom symbol.

Thanks

Back to top
lister@rfa
Guest





Posted: Fri Feb 04, 2005 4:48 am    Post subject: Re: Custom point sumbol Reply with quote

Are they actual point entities? or are they blocks that look like a point. If this is the case, you can use the express tool for replace one block with another. Probably no help, but the only thing I could think of.
Back to top
lister@rfa
Guest





Posted: Fri Feb 04, 2005 4:50 am    Post subject: Re: Custom point sumbol Reply with quote

Did a google search and came up with this lisp code:


(defun C:PT2BLK (/ ss pt blk)
(while (or (not (setq blk (getstring "\nBlock name: ")))
(not (tblsearch "block" blk))))
(prompt "\nSelect points to replace: ")
(setq ss (ssget '((0 . "POINT"))))
(if ss
(progn
(setq n (1- (sslength ss)))
(while (>= n 0)
(setq pt (cdr (assoc 10 (entget (ssname ss n))))
n (1- n)
);; setq
(command "_.insert" blk pt "" "" "")
);; while
);; progn
(alert "No POINT objects selected.")
);; if
(princ)
);; defun

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB