error in command

error in command

rcook
Contributor Contributor
2,610 Views
9 Replies
Message 1 of 10

error in command

rcook
Contributor
Contributor

I just upgraded to 2016 a couple of weeks ago.  Got this error when using the flatten command.  I do not have any personal or special lisp programs in autocad.  I do run Carlson on top of autocad but have not had this error before.  How do I fix this or get past this.  Not sure what command-s is.


Command: FLATTEN
(*pop-error-mode*) underflow.
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.
Command:

 

Robert

0 Likes
2,611 Views
9 Replies
Replies (9)
Message 2 of 10

john.vellek
Alumni
Alumni

Hello @rcook,

 Welcome to the Forums!

 

The COMMAND-s function allows a command with arguments in LISP. AKN Article

 

To resolve your issue I suggest that you Restore your installation to defaults. If that does not correct the error than perhaps a Repair will do the job.

 

Please let me know your results.

 

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 3 of 10

rkmcswain
Mentor
Mentor

You don't need to reset or restore anything. It's simply an unhandled error in the flatten routine.

 

To test this, restart AutoCAD, open a new empty drawing, draw a few objects and then run flatten on them.

Any errors?

 

 

R.K. McSwain     | CADpanacea | on twitter
Message 4 of 10

john.vellek
Alumni
Alumni

Good morning @rcook

 

Did the post from  @rkmcswain help you to resolve your problem? If so, please let us know so that other Forum users can benefit.

 

Please mark his post as an Accepted Solution if it resolved your problem.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 5 of 10

rcook
Contributor
Contributor

John,

 

I closed out the program, restarted, created a new drawing and used the flatten command on some lines I drew.  appeared to work correctly.  Closed the drawing and opened the drawing I was working on and I still get the error when using the flatten.  Tried it on another drawing that I have been working on and it work correctly.  Not sure what is up.  Audited the file where I get the error and no errors found.

 

robert

0 Likes
Message 6 of 10

rkmcswain
Mentor
Mentor
Well, as I indicated, it's an unhandled error in the decades old FLATTEN routine.

My only other suggestions is to start narrowing down your selection set and do it trial and error style until you find what entity it's choking on.


R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 7 of 10

Anonymous
Not applicable

@Anonymous wrote:

John,

 

I closed out the program, restarted, created a new drawing and used the flatten command on some lines I drew.  appeared to work correctly.  Closed the drawing and opened the drawing I was working on and I still get the error when using the flatten.  Tried it on another drawing that I have been working on and it work correctly.  Not sure what is up.  Audited the file where I get the error and no errors found.

 

robert


Please post your problem dwg.

 

0 Likes
Message 8 of 10

john.vellek
Alumni
Alumni

Hi rcook,

 

Please feel free to attach the problem drawing, if you are able, so I can take a look at it. Maybe I can determine what is causing the error in the Flatten routine.

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 9 of 10

rcook
Contributor
Contributor

Seems as though my flatten error is somewhat come and go.  Fought with it for 2 weeks.  I saved as another file this morning to strip survey point info to send the file and noticed the flatten command was working.  I then reopened my original file and for now it is working.  Maybe the weekend rest for the software corrected the issue (or more likely corrected me).  As for now it is working, so I am off and running.  If it returns I will let you know.

thanks

0 Likes
Message 10 of 10

rmC86GJ
Participant
Participant

It's not only FLATTEN that causes that error. BURST, for example, does the same occasionally, as well as other Express tools commands...

0 Likes