
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the
rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
| Author |
Topic Search Topic Options
|
nameci
Groupie
Joined: 12.Sep.2008
Location: Canada
Status: Offline
Points: 70
|
Topic: Tip#7147 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
Edited by nameci - 13.Jan.2010 at 05:27
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 13.Jan.2010 at 06:27 |
|
Can you post the ".lin" file code?
|
 |
Vladimir Michl
Senior Member
Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2196
|
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.
|
|
|
 |
nameci
Groupie
Joined: 12.Sep.2008
Location: Canada
Status: Offline
Points: 70
|
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
|
 |
nameci
Groupie
Joined: 12.Sep.2008
Location: Canada
Status: Offline
Points: 70
|
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
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
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.
|
 |
Vladimir Michl
Senior Member
Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2196
|
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).
|
|
|
 |
nameci
Groupie
Joined: 12.Sep.2008
Location: Canada
Status: Offline
Points: 70
|
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
|
 |