- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
I switched from Autocad 2013 (windows) to Autocad 2015 MAC.
Because it is in a new company, I want to reprogram my linetypes.
Since I standard use annotation, I first defined a dedicated textstyle for these linetypes: TSLIJN. That works well, so I started writing my linetypes in a new .LIN.
*HOT_WATER_SUPPLY,Hot water supply ---- HW ---- HW ---- HW ----
A,20,-5,[“HW”,TSLIJN,S=2,U=0.0,X=-0.1,Y=-.5],-5
*GAS_LINE,Gas line ----GAS----GAS----GAS----GAS----GAS----GAS--
A,20,-5,[“GAS”,TSLIJN,S=2,U=0.0,X=-0.1,Y=-.5],-10
When I then want to load them in my new DWT-file (template), Autocad always says: Bad definition.
I really can't find the clue why he won't load these linetypes, since the textstyle is loaded well...
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
You can receive this message if there is not a hard return, or <enter>, placed at the end of the file that you have created.
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
The so needed hard return is there, in fact even two hard returns at the end.
The textstyle is written correct: TSLIJN, same as in the template. I really can't find the reason of that bad definition.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Try this version:
*HOT_WATER_SUPPLY,Hot water supply ---- HW ---- HW ---- HW ---- A,20.0,-5,["HW",TSLIJN,S=2,R=0,X=0.1,Y=-0.5],-5.0 *GAS_LINE,Gas line ----GAS----GAS----GAS----GAS----GAS----GAS-- A,20.0,-5,["GAS",TSLIJN,S=2,R=0,X=-0.1,Y=-0.5],-10.0
which works on my side.
I substituted U for R and changed quotes to quotation marks (ANSI 34 char)
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
If you are using TextEdit app on Mac to edit the file, please be cautious, as the TextEdit app use smart quotes by default. You can turn it off from the TextEdit Preferences dialog.
Another global settings about using smart quotes is available in the System Preferences dialog > Keyboard > Text page.
Wei Ma
AutoCAD QA Manager
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Thank you for this solution. The problem was indeed inside Text editor.
I din't think about the quotes and used fonttype or so.
After changing the preferences in Text editor, and converting the text to simpletext, everything works now. Thanks!