Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I Can't run the express "txtexp" command from accoreconsole

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
gotMorris
2262 Views, 5 Replies

I Can't run the express "txtexp" command from accoreconsole

I am needing to explode text from the accoreconsole. I can run the script file below from normal AutoCad and it works. Accoreconsole doesn't seem to recognize the commandNot sure if I am not loading some other dependency or what.

 

 

   script file

(load "C:\\Program Files\\Autodesk\\AutoCAD 2018\\Express\\txtexp.lsp")
txtexp
all

ZOOM
E
QSAVE

 

 

5 REPLIES 5
Message 2 of 6
dbroad
in reply to: gotMorris

Not all commands are supported by the core console. You might try (c:textexp) in your script.  Personally, I wouldn't want to batch that process since it essentially would destroy all verbal content to the drawings.  Too dangerous for me.

Architect, Registered NC, VA, SC, & GA.
Message 3 of 6
gotMorris
in reply to: dbroad

Using the (c:textexp) did not work either. Are you able to confirm its not something I am doing wrong? Does txtexp not work from accoreconsole on your system? Do you know what it is about certain lisp files accoreconsole doesn't like? I normally wouldn't run this either but this is a specific case where the only text in the dwg is the one I need exploded into lines. Thanks

Message 4 of 6
dbroad
in reply to: gotMorris

Not all commands work in the core console, as previously stated.  Looks like you would need to use ScriptPro without choosing the Core Console or you would need to batch it with ObjectDBX.

 

I, again, would strongly encourage you to avoid destroying your drawings by using such techniques.  Look at other alternatives to secure your content.

Architect, Registered NC, VA, SC, & GA.
Message 5 of 6
Ranjit_Singh2
in reply to: gotMorris

You need to have the drawing open to run txtexp. AFAIK accoreconsole does not support any of the express commands.

Message 6 of 6
cadffm
in reply to: gotMorris

The Accoreconsole doesn´t like ARX files and you had not load all needed files.

take alook fore response of acc in your logfile, take alook in cmd-console, take alook in the txtexp.lsp

 

( short answer: write your own / edited version of txtexp - the commands wmfout / wmfin are available, rest see txtexp.lsp )

 

But I would test way, inside acad.exe

Sebastian

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report