highrez2 Posted September 5, 2014 Share Posted September 5, 2014 I found a lisp to remove the standards (thanks Lee Mac) but would like to do the opposite. code to remove (defun c:test (/ DictObj) (vl-load-com) (if (not (vl-catch-all-error-p (setq DictObj (vl-catch-all-apply 'vla-item (list (vla-get-Dictionaries (vla-get-ActiveDocument (vlax-get-acad-object))) "AcStStandard"))))) (progn (princ (strcat "\n<< Deleted " (itoa (vla-get-Count DictObj)) " DWS File Associations >>")) (vla-Delete DictObj)) (princ "\n<< No Attached DWS Files >>")) (princ)) I would like to add the (DWS) file from a network location. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
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.