Author Topic: vba for attaching material(bmp,jpeg) to layer in autocad  (Read 5008 times)

0 Members and 1 Guest are viewing this topic.

shamsam1

  • Guest
Re: vba for attaching material(bmp,jpeg) to layer in autocad
« Reply #15 on: August 11, 2008, 12:14:18 PM »
in lisp i just type  pumat(layername,material )..so material get attach to particular layer

shamsam1

  • Guest
Re: vba for attaching material(bmp,jpeg) to layer in autocad
« Reply #16 on: August 12, 2008, 04:44:17 AM »
hi jbuzbee

i have gone through the link provide by u..but there are so many thing to download so bit confused there...
can u provide me with steps to load that dcl and use in autocad2005

jbuzbee

  • Swamp Rat
  • Posts: 833
Re: vba for attaching material(bmp,jpeg) to layer in autocad
« Reply #17 on: August 12, 2008, 10:03:57 AM »
Go here to download the kbImportLayers.zip

http://www.theswamp.org/index.php?topic=24404.new#new

Go here and download the OpenDCL runtime module:

http://downloads.sourceforge.net/opendcl/OpenDCL.Runtime.ENU.4.1.2.2.msi?modtime=1208133111&big_mirror=0

If that link doesn't work, go here and download the OpenDCL runtime - look for the file OpenDCL.Runtime.ENU.4.1.2.2.msi

http://sourceforge.net/project/showfiles.php?group_id=187950

Run the msi installer.  That will load OpenDCL onto your computer.  Now, unzip the contents of kbImportLayers.zip to it's own folder. In AutoCAD load the kbImportLayers.lsp file using whatever method you want.  Now type "kbImportLayers" at the command line.  The form should appear.





James Buzbee
Windows 8

shamsam1

  • Guest
Re: vba for attaching material(bmp,jpeg) to layer in autocad
« Reply #18 on: August 13, 2008, 12:41:33 AM »
jbuzbee

nice thing to import layer...

Next thing is to import material list ..if any dcl lisp is there let me know

jbuzbee

  • Swamp Rat
  • Posts: 833
Re: vba for attaching material(bmp,jpeg) to layer in autocad
« Reply #19 on: August 13, 2008, 10:33:21 AM »
attach the materials to the layers using the RMAT command in a "Standard Material Drawing" and put it somewhere you can find it - a support or customization drive / folder.  Then use the routine to import the layers - they'll come in with the materials attached.  That is as long as they don't exist.  This routine will not overwrite existing layers.
James Buzbee
Windows 8