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

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

gotMorris
Enthusiast Enthusiast
2,446 Views
5 Replies
Message 1 of 6

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

gotMorris
Enthusiast
Enthusiast

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

 

 

0 Likes
Accepted solutions (1)
2,447 Views
5 Replies
Replies (5)
Message 2 of 6

dbroad
Mentor
Mentor

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.
0 Likes
Message 3 of 6

gotMorris
Enthusiast
Enthusiast

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

0 Likes
Message 4 of 6

dbroad
Mentor
Mentor

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.
0 Likes
Message 5 of 6

Ranjit_Singh
Advisor
Advisor

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

0 Likes
Message 6 of 6

cadffm
Consultant
Consultant
Accepted solution

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

0 Likes