<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help in Customizing Lisp Code in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13063284#M8489</link>
    <description>&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;I think I have a fix. Seems the 2 on the end is # of Columns, not position of Column.&lt;/P&gt;&lt;P&gt;Try these changes:&lt;BR /&gt;Change this:&lt;BR /&gt;(defun ExtractFromXls (st app col / ncol val dataCollection)&lt;BR /&gt;To be:&lt;BR /&gt;(defun ExtractFromXls (st app col n / ncol val dataCollection)&lt;BR /&gt;.. added a n as 4th variable&lt;BR /&gt;And:&lt;BR /&gt;Change this:&lt;BR /&gt;(if (Setq cv (vlax-get-property (vlax-get (vlax-get app "ActiveSheet") 'Cells) 'Item st i))&lt;BR /&gt;To be:&lt;BR /&gt;(if (Setq cv (vlax-get-property (vlax-get (vlax-get app "ActiveSheet") 'Cells) 'Item st (+ i n)))&lt;/P&gt;&lt;P&gt;To get Row 26 and Column B, do:&lt;BR /&gt;(setq exData (extractfromxls 26 XL-App 2 1))&lt;/P&gt;&lt;P&gt;Seems like the first 2 is the # of Columns, not the 'index' to Column B&lt;BR /&gt;Added the n to the Function, to allow spefifying 'which' Column&lt;BR /&gt;where: n= 0 = A, 1 = B, 2 = C&lt;/P&gt;&lt;P&gt;Preliminary test shows:&lt;BR /&gt;Test 1 with Col 1&lt;BR /&gt;EXDATA=((04 15) (03 14) (02 13.0) (21.0 12R) (2BR 12L))&lt;/P&gt;&lt;P&gt;And, note: you need the Excel Cells formatted as 'text'&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 18:29:59 GMT</pubDate>
    <dc:creator>ec-cad</dc:creator>
    <dc:date>2024-10-03T18:29:59Z</dc:date>
    <item>
      <title>Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13057075#M8480</link>
      <description>&lt;P&gt;I have a Lisp code from a community member that compiles different pipe dxfs into 1 single file. It also inserts the pipes drawing number and pipe number as it is compiling. The data is extracted from an excel spread sheet and is cross referenced with the dxfs file name (also the drawing number). This Lisp only works if the data in the excel starts at Column A row 2. How can I change the code for it work even if the data starts at column B row 26? Thank you. Please see the code and excel below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clerigoaaron_1-1727786421903.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1416430i3F6E9F2AEE8EF7D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clerigoaaron_1-1727786421903.png" alt="clerigoaaron_1-1727786421903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;(Defun c:MakeThisHAppen ( /  _Entnext ExtractFromXls el moveAll fileName XL-App Workbooks exData f textObj moveAll)
(defun _Entnext ( e )
    (if (setq e (entnext e)) (cons e (_Entnext e)))
  )  
(defun ExtractFromXls (st app col / ncol val dataCollection)
      (repeat col
	(setq ncol (cons col ncol))
	(setq col (1- col))
      )
       (while
	 (vl-every 'eval
		   (setq val 
			  (mapcar '(lambda (i / cv)
				     (if (Setq cv (vlax-get-property (vlax-get (vlax-get app "ActiveSheet") 'Cells) 'Item st i))
                  			(vlax-variant-value
					  (vlax-get-property
					    (vlax-variant-value cv)
					    'Value
					  )
					)
				       )
				     ) ncol)
			  
		   	)
		   )
	 (setq dataCollection (cons (mapcar 'vl-princ-to-string val) dataCollection))
	 (setq st (1+ st))
	 )
      dataCollection
       )
			     
(if (and
      		(setq  Directory (acet-ui-pickdir
				 "Select Project Folder" (if Directory Directory (getvar 'dwgprefix))))
      		(setq moveAll (ssadd)
		       dxfFiles (vl-directory-files directory "*.dxf" 1))
		(setq fileName (getfiled "Excel Spreadsheet File"
                                   (if fileName fileName (getvar 'dwgprefix))"XLSX;XLS" 16 ))
        	(setq XL-App    (vlax-get-or-create-object "Excel.Application"))      		
      		(Setq Workbooks (vlax-invoke-method (vlax-get-property XL-App 'WorkBooks)
                                    'Open  fileName ))
      		(setq exData (extractfromxls 1 XL-App 2))
      		
      )
  (progn
	(foreach fname dxfFiles	  
	  (if (Setq f (Assoc (strcase (vl-filename-base  fname)) exData))
		(progn
		  (setq el (entlast))
		  (command "_DXFIN" (strcat directory "\\" fname) '(0.0 0.0 0.0))
		  (if (null el)(and (setq el (entnext)) (ssadd el moveAll)))
		  (mapcar '(lambda ( x ) (ssadd x moveAll)) (_Entnext el))		  
		  (foreach strdata (list
				     '((0.0 0.0 0.0) 12 "Proj-123")
				     (list '(0.0 -30.00 0.0) 12
				       (strcat "Dwg no: " (vl-filename-base fname)
				       )
				     )
				     (list '(0.0 -45.0 0.0) 12 (strcat "Pipe no: " (Cadr f))
				     )
				   )
		  (setq textObj (entmakex (list (cons 0 "TEXT")
					    (cons 10 (car strdata))
					    (cons 40 (cadr strdata))
					    (cons 1 (caddr strdata))
				      )
			    )
		  )
		    
		    (ssadd textObj moveAll))		    
		    (command "_move" moveAll "" "_non" "0,0,0" "0,500,0")
		    )
	    (princ (Strcat "\n" (vl-filename-base  fname) " Not found on source list"))
	    )
		)
		
  		(vlax-invoke-method Workbooks 'close  fileName )
	    	(vlax-release-object XL-App)
		(vlax-release-object Workbooks)
    )
	    		
  (Vl-some '(lambda (l)
	      (if (null (eval (Car l)))(print (cadr l))))
	   		'((Directory "No folder selected/Cancelled by user")
			  (dxfFiles "No DXF files found on selected folder")
			  (fileName "No xls:x;sx file found on selected folder / Cancelled by user")
			  (XL-App "Excel application not found")
			  )
		)	   
  )
  (princ)
  )&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2024 12:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13057075#M8480</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-01T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13057343#M8481</link>
      <description>&lt;P&gt;This is the line where data is extracted from the Excel file:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq exData (extractfromxls 1 XL-App 2))&lt;/LI-CODE&gt;&lt;P&gt;As you can see, the function &lt;EM&gt;extractfromxls&lt;/EM&gt;&amp;nbsp;is called with three arguments:&amp;nbsp;&lt;STRONG&gt;1 XL-App 2&lt;/STRONG&gt;. In the function itself represented by &lt;STRONG&gt;st app col&lt;/STRONG&gt;. I guess &lt;STRONG&gt;st&lt;/STRONG&gt; is the row number and &lt;STRONG&gt;col&lt;/STRONG&gt; is the (starting?) column number.&lt;/P&gt;&lt;P&gt;Give it a try and change those numbers and see what happens?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:23:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13057343#M8481</guid>
      <dc:creator>Simon_Weel</dc:creator>
      <dc:date>2024-10-01T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058384#M8482</link>
      <description>&lt;P&gt;I changed it to 26 XL-App 2 and it works. Started extracting data at column A row 26. But following your instructions shouldnt this be column B row 26? I cant think of how to change the column part&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 23:12:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058384#M8482</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-01T23:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058753#M8483</link>
      <description>&lt;P&gt;There was a contibutor no longer with us FIXO who did lots of stuff with Excel i have a few of his routines, one is to select a range and return that range as a List.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; Thanks to FIXO for get range

(defun getrangexl2 ( / lst UR CR RADD )
(vl-catch-all-error-p
	   (setq Rng
		  (vl-catch-all-apply
		    (function (lambda ()
				(vlax-variant-value
				  (vlax-invoke-method
				    (vlax-get-property myxl 'Application)
				    'Inputbox
				    "Select a Range: "
				    "Range Selection "
				    nil
				    nil
				    nil
				    nil
				    nil
				    8))))))
)
(setq xrng (vlax-get-property rng "address"))
(setq xxrng xrng)
(repeat 4 (setq xxrng(vl-string-subst "" "$" xxrng)))
(setq xxxrng (_csv-&amp;gt;lst58 xxrng))
(setq rngst (columnrow (nth 0 xxxrng)) rngend (columnrow (nth 1 xxxrng)))
(setq *ExcelData@ nil )
(setq Row# (nth 1 rngst))
(repeat (+ (- (nth 1 rngend)(nth 1 rngst) ) 1)
(setq Data@ nil)
(setq Column# (nth 0 rngst))
(repeat (+  (- (nth  0 rngend)(nth 0 rngst) ) 1)
(setq Range$ (strcat (Number2Alpha Column#)(itoa Row#)))
(setq ExcelRange (vlax-get-property myxl "Range" range$))
(setq ExcelVariant (vlax-get-property ExcelRange 'Value))
(setq ExcelValue (vlax-variant-value ExcelVariant))
(setq Data@ (append Data@ (list ExcelValue)))
(setq Column# (1+ Column#))
)
(setq *ExcelData@ (append *ExcelData@ (list Data@)))
(setq Row# (1+ Row#))
)
(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;The answer is in the variable&amp;nbsp;&amp;nbsp;*ExcelData@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to change the myxl to your application name variable.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(vlax-get-property myxl 'Application)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 05:03:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058753#M8483</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-10-02T05:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058922#M8484</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15580015"&gt;@clerigoaaron&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How can I change the code for it work even if the data starts at column B row 26? Thank you. Please see the code and excel below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(Defun c:MakeThisHAppen ( /  _Entnext ExtractFromXls el moveAll fileName XL-App Workbooks exData f textObj moveAll)
....&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code looks familiar.&lt;/P&gt;
&lt;P&gt;This would be an easy tweak.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 06:46:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13058922#M8484</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2024-10-02T06:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13059192#M8485</link>
      <description>&lt;P&gt;Thats because is your code&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;I've been trying to study it for a while now but its so hard because I am starting from the basics&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 09:10:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13059192#M8485</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-02T09:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13060387#M8486</link>
      <description>&lt;P&gt;In the code, I think 'st is short for '&lt;EM&gt;St&amp;nbsp;&lt;/EM&gt;arting Row', and col is Column&lt;/P&gt;&lt;P&gt;Just guessing, Columns probably&amp;nbsp; A=2, B=3 from what you are getting.&lt;/P&gt;&lt;P&gt;So try 26&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;XL-App 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ECCAD&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 17:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13060387#M8486</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-02T17:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13061699#M8487</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;i tried that at it did not work. No error message show just nothing happened after running the lisp&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:06:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13061699#M8487</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-03T08:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13063145#M8488</link>
      <description>&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;I'll look into it, be back later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:30:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13063145#M8488</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-03T17:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13063284#M8489</link>
      <description>&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;I think I have a fix. Seems the 2 on the end is # of Columns, not position of Column.&lt;/P&gt;&lt;P&gt;Try these changes:&lt;BR /&gt;Change this:&lt;BR /&gt;(defun ExtractFromXls (st app col / ncol val dataCollection)&lt;BR /&gt;To be:&lt;BR /&gt;(defun ExtractFromXls (st app col n / ncol val dataCollection)&lt;BR /&gt;.. added a n as 4th variable&lt;BR /&gt;And:&lt;BR /&gt;Change this:&lt;BR /&gt;(if (Setq cv (vlax-get-property (vlax-get (vlax-get app "ActiveSheet") 'Cells) 'Item st i))&lt;BR /&gt;To be:&lt;BR /&gt;(if (Setq cv (vlax-get-property (vlax-get (vlax-get app "ActiveSheet") 'Cells) 'Item st (+ i n)))&lt;/P&gt;&lt;P&gt;To get Row 26 and Column B, do:&lt;BR /&gt;(setq exData (extractfromxls 26 XL-App 2 1))&lt;/P&gt;&lt;P&gt;Seems like the first 2 is the # of Columns, not the 'index' to Column B&lt;BR /&gt;Added the n to the Function, to allow spefifying 'which' Column&lt;BR /&gt;where: n= 0 = A, 1 = B, 2 = C&lt;/P&gt;&lt;P&gt;Preliminary test shows:&lt;BR /&gt;Test 1 with Col 1&lt;BR /&gt;EXDATA=((04 15) (03 14) (02 13.0) (21.0 12R) (2BR 12L))&lt;/P&gt;&lt;P&gt;And, note: you need the Excel Cells formatted as 'text'&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 18:29:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13063284#M8489</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-03T18:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065250#M8490</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20241004_234430.jpg" style="width: 3072px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1417995i81C3727807B53658/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20241004_234430.jpg" alt="IMG_20241004_234430.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20241004_234419.jpg" style="width: 3072px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1417996iCAB0D15EF5C0F368/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20241004_234419.jpg" alt="IMG_20241004_234419.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;@It worked as intended, the data extraction started at column B row 26. But for some reason it only worked until pipe 10. Pipes 11 onwards showed erro&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 15:46:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065250#M8490</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-04T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065480#M8491</link>
      <description>&lt;P&gt;What was the error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 17:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065480#M8491</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-04T17:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065558#M8492</link>
      <description>&lt;P&gt;If I recreated the xlsx file correctly,&lt;BR /&gt;And using: (setq exData (extractfromxls 26 XL-App 2 1)); Column B&lt;/P&gt;&lt;P&gt;This is what's in exData list:&lt;BR /&gt;((28.0 25.0) (27.0 24.0) (26.0 23.0) (25.0 22.0) (24.0 21.0) (13.0 13.0) (11 11) (10R 10) (10L 10) (09R 9) (09L 9) (08R 8-1,8-2,8-3,8-4) (08L 8-1,8-2,8-3,8-4) (07R 7-1,7-2,7-3,7-4,7-5) (07L 7-1,7-2,7-3,7-4,7-5) (06R 6) (06L 6) (05 5))&lt;/P&gt;&lt;P&gt;Looks like that's (not) the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try doing a DXFIN of 10R, 10L, 11 &amp;amp; 12 one at a time, see if there's an issue with one of those .dxf's ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 18:21:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13065558#M8492</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-04T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068077#M8493</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;Here is the error message. im not sure why it only appears for 11 onward. They all have the same property in excel&lt;/P&gt;&lt;P&gt;Also no problem at all using DXFIN for each one&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20241007_065718.jpg" style="width: 4080px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1418448iE91FCF78D20D6125/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20241007_065718.jpg" alt="IMG_20241007_065718.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2024 23:02:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068077#M8493</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-06T23:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068125#M8494</link>
      <description>&lt;P&gt;Hmm,&lt;/P&gt;&lt;P&gt;That's interesting. What's in the variable&amp;nbsp; 'dxfFiles' ??&lt;/P&gt;&lt;P&gt;Do a !dxfFiles at the Command Line, or (princ dxfFiles) to see what's in there.&lt;/P&gt;&lt;P&gt;It (should) contain a list of all the .dxf files in the folder chosen.&lt;/P&gt;&lt;P&gt;If that contains all the .dxf's, then I don't have a clue... why some work and the&lt;/P&gt;&lt;P&gt;others do not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2024 23:56:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068125#M8494</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-06T23:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068302#M8495</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;same I am stumped. It does contain all dxf files&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20241007_112502.jpg" style="width: 4080px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1418478iC37CFF9AA9F99936/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20241007_112502.jpg" alt="IMG_20241007_112502.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 03:25:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068302#M8495</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-07T03:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068621#M8496</link>
      <description>&lt;P&gt;Testing another set of data. Everything was generated except pipe 24. I checked the individual dxf and everything even the excel properties of the cell. I cant think of any reason why #24 was the only one missing. Also no error code for this it just somehow skipped it. But trying the lisp on 24 only showed again the error of not being on the source list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20241007_113904.jpg" style="width: 4080px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1418534i474A9C6B71F7485B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20241007_113904.jpg" alt="IMG_20241007_113904.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 22:51:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13068621#M8496</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-07T22:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13069819#M8497</link>
      <description>&lt;P&gt;In looking at the code again, I don't see an issue that would cause a random misfire.&lt;/P&gt;&lt;P&gt;However, potential exists for these lines that use 'f' for a variable name. F is usually reserved&lt;/P&gt;&lt;P&gt;for 'False.&lt;/P&gt;&lt;P&gt;So try changing these (3) lines to be 'fil' rather than 'f' alone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. (Defun c:MakeThisHAppen ( / _Entnext ExtractFromXls el moveAll fileName XL-App Workbooks exData f textObj moveAll)&lt;BR /&gt;2. (if (Setq f (Assoc (strcase (vl-filename-base fname)) exData))&lt;BR /&gt;3. (list '(0.0 -45.0 0.0) 12 (strcat "Pipe no: " (Cadr f))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 17:56:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13069819#M8497</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-07T17:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13069994#M8498</link>
      <description>&lt;P&gt;One other way might be to change:&lt;/P&gt;&lt;P&gt;(if (setq fil (Assoc (strcase (vl-filename-base fname)) exData))&lt;/P&gt;&lt;P&gt;To be:&lt;/P&gt;&lt;P&gt;(if (member (strcase fname) exData)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 19:31:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13069994#M8498</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-10-07T19:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Customizing Lisp Code</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13070276#M8499</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;changing f to fil gave the same result of missing dxf files. Error says "not found in source list".&lt;/P&gt;&lt;P&gt;Using the (if (member (strcase fname) exData) resulted in all dxfs having error of "not found on source list"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 23:00:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-in-customizing-lisp-code/m-p/13070276#M8499</guid>
      <dc:creator>clerigoaaron</dc:creator>
      <dc:date>2024-10-07T23:00:13Z</dc:date>
    </item>
  </channel>
</rss>

