asleafty Posted February 22, 2012 Posted February 22, 2012 Hello, I'm new to this forum and LISP in general. Basically what I want to do is plot the model space of one of my sheet files as a .jpg image and have the name match a specific xref in that drawing. Can anyone help me with this? The code I have for plotting is as follows: (defun c:plotjpg ( / ) (setvar "cmdecho" 1) (command "-plot" "y" "" "PublishToWeb JPG.pc3" "Sun Hi-Res (1280.00 x 1600.00 Pixels)" "L" "N" "E" "F" "C" "Y" "monochrome.ctb" "N" "A" "" "N" "Y (setvar "cmdecho" 0) );end c:plotjpg The specific Xref will contain "-A-" in the drawing name. I was told you can write code to search for the specific xref with the above match in the name and use it in to specify the filename of the image plotted, but I'm not sure how. Please help! Thank you in advance for your assistance!! ~asleafy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.