cadman_meg
Usenet Archive
- Joined
- Jul 14, 2003
- Messages
- 51
- Reaction score
- 0
Upon executing this routine:
; Written By: Peter Jamtgaard
; This program will delete all unused dimstyles.
(defun C
urgeDimStyles
(vl-load-com)
(vlax-for DSTYOBJ
(vla-get-dimstyles (vla-get-activedocument (vlax-get-acad-object)  
 
(vl-catch-all-apply 'vla-delete (list DSTYOBJ))  
)
I got this message "#<%catch-all-apply-error%>"
Not sure what to do to fix it or why this is happening. There are 3 unused dimstyles in the test drawing. Help is very much appreciated. Thanks.
; Written By: Peter Jamtgaard
; This program will delete all unused dimstyles.
(defun C
(vl-load-com)
(vlax-for DSTYOBJ
(vla-get-dimstyles (vla-get-activedocument (vlax-get-acad-object)  
)
I got this message "#<%catch-all-apply-error%>"
Not sure what to do to fix it or why this is happening. There are 3 unused dimstyles in the test drawing. Help is very much appreciated. Thanks.