View Full Version : linetype with text
chrisw.94380
2005-10-04, 04:16 PM
I am using LDD 2005. We use many different scales on lots of drawings. What I am looking to create is a dialog box where the user can type in the text that they want in the linetype and also the scale that the drawing is at then it creates that linetype for them. Is this something that is possible with lisp. I have only done a few basic routines and am using Bill Kramers books and also going through the tutorials on here along with afralisp. Please let me know if this is possible for someone to do who is starting out with lisp.
jwanstaett
2005-10-04, 04:26 PM
check this thread (http://forums.augi.com/showthread.php?t=17380&highlight=line+type)
Note: it is vba but as some good points. other then progams
Chris, (I'm guessing)
This thread has some good information regarding your question. I don't think it is a good idea to create a linteype based on the current scale factor of the drawing. If in the future, you need to use that drawing again but at a different scale, you would need to change the linetype again to accomodate the new use.
The other drafters in the office use a third party program now to create custom linetypes. The information in these linetypes convert the lines to blocks with the letter/number/symbol in them. Of course, that information is always at the wrong scale for future needs. I have to convert these linetypes to something a little more useful.
I would suggest useing the ltscale and/or psltscale for your needs instead of creating linetypes on the fly.
Just my $0.02.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.