LISP command stripmtext to remove local formatting
Some people produce bad dwg files, where mtext objects have local formatting and don't honor text style. I modified a lisp routine by Steve Roman to work on Bricscad. The file can be downloaded from http://www.mediafire.com/download.php?4apfcao51a4dzec
When I copy the source to command line directly, everything works nice and fine.
But there is still a problem. When I add the file to Tools → Load application and try to load it there, I get the following error:
: _appload
Loading /home/mattias/Desktop/stripmtext.lsp
: (LOAD "/home/mattias/Desktop/stripmtext.lsp")
; error: LOAD failed: '/home/mattias/Desktop/stripmtext.lsp'
nil
Can anyone give me a hint, why this is so?
Comments
-
p { margin-bottom: 0.21cm; }
I have no problem to load it in Bricscad 10.6.11 or Bricscad 11.1.13:
p { margin-bottom: 0.21cm; }: _apploadLoading/home/stano/Desktop/stripmtext.lsp: (LOAD"/home/stano/Desktop/stripmtext.lsp")C:STRIPMTEXT: stripmtext StripMtext Select entities:
? Try to download lsp one more time, and save it to disk.
0 -
I also have no problems loading with the latest beta (11.1.13)
Try downloading Bricscad again (I use the tar.gz download and run it direct from there, but the deb should be fine)
Also, though I did not have to do this, you may want to try going to settings>support file search path and then adding your desktop directory.
Regards,
Daniel
0 -
Thank you for your responses. It turned out, that the non-ascii characters in /home/mattias/Töölaud/stripmtext.lsp caused this (and I changed the error message to Desktop, sorry).
0 -
Did you file this as a bug? Bricscad should be capable of handling unicode characters
0 -
I did, I pretty much like Bricscad's support, they are really responsive and often fast.
0