Message 1 of 8
		
			
				
					
						
							Automate the Command in Autocad using Lisp
						
					
					
				
			
		
	
			
	
	
	
	
	
			Not applicable
		
			
    
	
		
		
		01-22-2009
	
		
		03:56 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
    - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report
 
			
				
					
					
						I have added the below code into the acad2007doc.lsp file . This works fine . It is taking the DLL automatically but it is not taking the command name (IMAGESAMPLE) automatically. I had to type the command name manually in the autocad, then the command works. 
Can anybody please help to solve this problem...
Thanks,
		
		
	
	
	
(defun c:IMAGESAMPLE()
(command "netload" "C:\\Documents and Settings\\skabeer\\My Documents\\Visual Studio 2005\\Projects\\Insertimage\\Insertimage\\bin\\Release\\Insertimage.dll" "IMAGESAMPLE")
(princ)
)Can anybody please help to solve this problem...
Thanks,