where is a good place to learn to write a lisp routine? i have been trying to write a button macro, but the "\" backslash has been kicking my but. this is the macro as i have it so far: -plot n;;;\\hp01\Phaser 7300N im trying to make it so that i can change all my old drawing to refrence the new printer(the phaser 7300) instead of having to right click, page setup,etc.etc. thats a very time consuming process when dealing with hundreds of files. any help would be GREATLY apreciated.
I suggest putting your plot command in a Lisp or script, then just run the lisp or script from your button. Problem is, the plotter name \\hp01\Phaser 7300N needs to be contained in double-quote characters i.e. "\\hp01\\Phaser 7300N" or such. Make a Lisp file: hp01_7300N.lsp (command "_-plot" "n" "" "" "" "\\hp01\\Phaser 7300N" ......) For button: [button words]^c^c(load "hp01_7300N") Place the .lsp in a support folder. Bob
This newsgroup is a wonderful place to ask questions and receive answers. Another small step for first time Lispers to hep get started is our TechCenter web-site [www.4d-technologies.com/techcenter] where we have compiled over 400+ Lisp functions that you can plug and paste into your Lisp applications. Mid you, they are not full-fledged working Lisp commands but instead are library functions covering areas like Polyline, Geometry, Layer, Drawing Management, AutoCAD Map, Blocks, Polyline, Strings, Text, ADO, ActiveX, Models, Import-Export, Dimension etc etc. You may want to take a look at the FREE downloads on our TechCenter web-site: URL: www.4d-technolgoies.com/techcenter Let me know if you have any questions. Regards Rakesh -- -- - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ] - Four Dimension Technologies [www.4d-technologies.com] - Get GeoTools, Work smarter: www.4d-technologies.com/geotools - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
There was an error in the URL in my post. The correct URL is: www.4d-technologies.com/techcenter -- -- - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ] - Four Dimension Technologies [www.4d-technologies.com] - Get GeoTools, Work smarter: www.4d-technologies.com/geotools - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
thanks for your suggestions, but i figured it out. I just ended up making a pc3 file and pointing my macro towards that, worked perfectly.