2005 Layer Filter Deleting
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
2005 Layer Filter Deleting

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
jlspartz
Guest





Posted: Wed Dec 29, 2004 1:43 am    Post subject: 2005 Layer Filter Deleting Reply with quote

Ok, this is the code that I put together, but it is only deleting new group filters and not new property filters and new standard filters. What's wrong?

(defun C:NewLayerFiltersDelete () (vl-Load-Com)
(vl-Catch-All-Apply '(lambda ()
(vla-Remove (vla-GetExtensionDictionary (vla-Get-Layers (vla-Get-ActiveDocument (vlax-Get-Acad-Object)))) "AcLyDictionary")))
(princ "\nAll New 2005 layer filters have been deleted.")
(princ)
)

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization 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