Print Page | Close Window

Tip#7147

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=3002
Printed Date: 17.Apr.2026 at 21:23


Topic: Tip#7147
Posted By: nameci
Subject: Tip#7147
Date Posted: 13.Jan.2010 at 05:27
Hi All,

I downloaded tip#7147 which is really good. It allows the user to create line-types with text in it. The problem is that the line on the end of the text goes over the text.

Does anyone know how to fix this??

Thanks in advance,

nameci



Replies:
Posted By: CarlB
Date Posted: 13.Jan.2010 at 06:27
Can you post the ".lin" file code?


Posted By: Vladimir Michl
Date Posted: 13.Jan.2010 at 07:36
What was the text to be embedded? Extra long, extra short? Did you use a local UCS? Was it in a metric or imperial drawing?
 
We would be glad to fix the LTFly code.


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: nameci
Date Posted: 14.Jan.2010 at 02:07
Hi Vladimir,

I tried different text lengths (GAS, TEST, & PROPERTYLINE). In each case at the end of the text the line extended into the back part of the text. I was in top view UCS world. I use AutoCAD MEP Architecture 2010 and I was in metric template.

I really like this LTFLY function and would really appreciate it if you could work out the kinks.

Also, I don't know near enough as far as creating lisp routines but I am slowly teaching myself.

Thanks in advance,

nameci


Posted By: nameci
Date Posted: 14.Jan.2010 at 02:12
Hi CarlB,

It was a .vlx file. sorry, but I don.t know enough about lisp and vlx to post the .lin????

I responded to Vladimir and he is going to look in to it for me.

Thanks,
nameci


Posted By: CarlB
Date Posted: 14.Jan.2010 at 03:27
OK, I has assumed that "ltfly" would modify the "acad.lin" to add a definition for the new linetype, but it may not work that way.
 
I tried out the program, and got the results you mention if the style width factor was set to less than 1. If set to greater than 1, an excessive gap after the text occured. So my guess at the problem is that the routine probably determines a gap based on the style width factor but the linetype uses a width of 1.


Posted By: Vladimir Michl
Date Posted: 14.Jan.2010 at 07:38
Thanks, I can see it now. Linetype definition doesn't work with width factors so the text width was not computed properly.
 
It is fixed now in th LTFly version 1.1.
 
LTFly doesn't create .LIN files - the definition is done directly in the drawing. But you can export it using LinOut (a separate tool).


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: nameci
Date Posted: 15.Jan.2010 at 01:36
Hi Vladimir,

Thanks so much for fixing the LTFLY command! I just tried it and it works great.

I really enjoy this site and I have got a lot from it. Sorry about not uploading any blocks recently, but my new job has taken up most of my time. I will try to contribute some more dynamic blocks soon.

Thanks again,
nameci



Print Page | Close Window