- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Merge LIN files
Hello, I produce several LIN files that i want to combine into one single file.
the LIN files contains custom made lines that contains only a text between two continuous lines.
for example this "_X_" or this "-O-"
the problem that im facing is that when i tried to combine them all in one file by creating a LIN file and copy/paste the parameters into the new file i get the report of
"Bad definition of <Line Name> at line <number> of file <path of the file>"
the only detail about this lines is that they are linked to 2 different TextStyles.
None of them is using a shape. The folder that contains the file is already added to the support file search path as suggested here:
can anyone help me? what im doing wrong? is there a command/routine to merge LIN files?
thanks in advance,
J.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
already tried that but its not working... after i copy paste the parameters im having the bad definition error for every line added ![]()
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Check and see when you use the drawing it must have two text style you defined in the .lin
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
That is a very specific error: I don't see that you did much to go to that line number or what you did to fix it, you seem to write about everything else. Do you just need to ensure those text styles are present in the DWG file? What else is on that line of code?
OR... share your ACAD.LIN file that is not working, let's see what you added and how it got added and if we can figure out what you forgot to do as a prerequisite to ensure your custom LIN definitions work well.
TIA
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
file attached for reference. thanks in advance!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
i dont understand why is there a difference.. i dont want to merge this with the LIN that autocad has by default. i just want to create a separate LIN for my customs as this file.. but without the error... is that even possible? thanks
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
It only can be individual .lin
You can't combine them, it has been that way, the name of the linetype has to match the name of the .lin
One .lin at a time.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Make sure the drawing you are loading the LIN file has the same textstyle name spelled exactly as in the LIN file.
Please select the "Accept as Solution" button if my post solves your issue or answers your question.
Emilio Valentin
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@jsinobasN8VK5 wrote:
.... when i tried to combine them all in one file by creating a LIN file and copy/paste the parameters into the new file i get the report of
"Bad definition of <Line Name> at line <number> of file <path of the file>"
....
To elaborate a little on the advice in Message 4: I get that message when the drawing I'm in does not have a defined Text Style of the Style name called for in a linetype definition. Create the Style(s) [or bring them in through the Design Center], then you should be able to load the linetype(s).
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Patchy wrote:
It only can be individual .lin
You can't combine them, it has been that way, the name of the linetype has to match the name of the .lin
One .lin at a time.
Not true. It's true of Hatch patterns that are not contained in acad.pat, that there can be only one pattern definition in a file and that the file name must match the pattern name defined in it. But multiple custom linetypes can be defined in one .lin file -- I do it all the time in a test.lin file for trials, which contains several definitions, with no problem.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Valentin-WSP i already tried this however the error continues. even when i tried to load this new lin file in the file where all the individual lines are added.
the text styles are the same as the file is the same, the linetypes are individually loaded and they work fine. Still, when i tried with the All Combined LIN files................it FAILS ![]()
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Does it happen when you create a NEW blank drawing (adding those text styles and loading)?
Can the drawing have some errors (try to AUDIT, -PU, and PU the drawing / SAVE)?
If you copy the same linetypes from another functional drawing, does it show up correctly?
Please select the "Accept as Solution" button if my post solves your issue or answers your question.
Emilio Valentin
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Valentin-WSP My goal is to have one unique LIN file. As i copy pasted the infomration from one file to the other (new) the lines are copied correctly. But this are all the individual lines (with individual LINs). my goal was to combine them into one single LIN file without having to built them all again. I dont know, something like LAYMRG for example, but for Linetypes.
@pendean my goal is to be able to load this in any DWG.