Message 1 of 23

Not applicable
07-29-2019
08:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a smaller part of a larger code, which is a little convoluted. So I'm hoping the issue lies in the smaller part...
(defun c:PLOT_CONFIG ()
(foreach xname (:GetAllXrefNames)
(if (wcmatch (strcase xname) "*TBLOCK*")
(setq lst (cons (substr xname 10 2) lst))
)
)
(vl-load-com) (vlax-for y (vla-get-plotconfigurations (vla-get-activedocument (vlax-get-acad-object))) (if (wcmatch (LM:lst->str lst "") vla-get-name y) (C:Gen-Plot-Single-PDF) (c:PAGE_CONFIG) ) ) )
Is there an obvious issue in the structure I am missing here? Or might I need to expand on the rest of the involved code... 😕
If it is very obvious, please go easy on me. I'm not very use to AutoLISP
Solved! Go to Solution.