alanjt Posted October 1, 2009 Posted October 1, 2009 See if you can import this into your tool palettes. pline-test.zip Quote
freshfresh Posted October 1, 2009 Author Posted October 1, 2009 Ok I Have This But What Do I Need To Do With This Code? I Got The One You Did At First, But With The Longe String And The Short One? Quote
alanjt Posted October 1, 2009 Posted October 1, 2009 Would Not Import Into 2004 I was afraid of that. I don't know what capabilities Tool Palettes had in 04. Did you try the routine I posted? Quote
alanjt Posted October 1, 2009 Posted October 1, 2009 How do i run the routine Load it into autocad. Then use the 2 routines that followed. Quote
freshfresh Posted October 1, 2009 Author Posted October 1, 2009 i am unable to use this tool properly Quote
freshfresh Posted October 1, 2009 Author Posted October 1, 2009 I have very limited programing. i would like to know how. Quote
lpseifert Posted October 1, 2009 Posted October 1, 2009 I don't think 2004 has Toolpalettes, I think you mean you want to make a Toolbar Button. Search in Help on how to create one. Looke here on how to load and run a lisp routine. http://www.cadtutor.net/faq/questions/28/How+do+I+use+an+AutoLISP+routine%3F Quote
freshfresh Posted October 1, 2009 Author Posted October 1, 2009 would i be able to add the information i need to it Quote
alanjt Posted October 1, 2009 Posted October 1, 2009 The examples give you the options you need. (defun c:MJ (/) (and PlineDraw (PlineDraw "MAJOR" 3 0.02)) (princ)) (defun c:MN (/) (and PlineDraw (PlineDraw "MINOR" 2 0.01)) (princ)) Quote
alanjt Posted October 1, 2009 Posted October 1, 2009 Thanks For The Help Were you able to get it working? Quote
Lee Mac Posted October 1, 2009 Posted October 1, 2009 FreshFresh, See here first, and try my first posted routine. Then put the second bit of code I posted into your button macro box to run the code when pressing the button. Quote
alanjt Posted October 1, 2009 Posted October 1, 2009 FreshFresh, See here first, and try my first posted routine. Then put the second bit of code I posted into your button macro box to run the code when pressing the button. or Lee's, both are choice options. His is probably a little easier to understand. I was just trying to make a generic one, thought it would be easier to mainstream. Quote
freshfresh Posted October 1, 2009 Author Posted October 1, 2009 ^C^C-layer;set;"minor";;plinewid;0.01;pline; 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.