×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

rollback event...command stack - Solid Edge V20

rollback event...command stack - Solid Edge V20

rollback event...command stack - Solid Edge V20

(OP)
Sorry for cross posting, I realized that this is more of a Solid Edge question than a Visual Basic question.

I have a program that opens DFT files, switches to a specified sheet, and exports a DXF file. After about 20 or so files, Solid Edge crashes. The crash log includes this line:

The rollback event cannot allow saving of the active document because the command stack is empty.

Any help in fixing this will be greatly appreciated.

Terry

RE: rollback event...command stack - Solid Edge V20

I'll start by saying that I am not a programmer myself, but do work with our team of developers on various Solid Edge applications.

I believe we have run into this before (or something similar) and the solution was to terminate Solid Edge and start it up again after a certian ammount of files have been processed.

There is some issue or limitation in the API that causes the problem.
 

Jon Sutcliffe / Solid Mastermind
The Solid Edge Community. Video training sessions, best practice documents, process maps and interactive training http://www.SolidMastermind.com

RE: rollback event...command stack - Solid Edge V20

(OP)
Jon,

Thanks for the reply. Restarting SE was suggested on another site as well. Unfortunately, this in not an option for me. I am looking into using Marshal.ReleasComObject() to see if it will solve the problem. I'll let you know if I find anything.
 

Terry

RE: rollback event...command stack - Solid Edge V20

Terry,

Can I ask as to why restarting is not an option?

RE: rollback event...command stack - Solid Edge V20

There is a routine delivered with SE called "OpenSave" that will run through a whole load of files and open then save them, for upgrading to new version.
This routine closes and restarts SE after processing a number of files then continues doing its stuff.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.

Where would we be without sat-nav?

RE: rollback event...command stack - Solid Edge V20

(OP)
Well, I haven't realy solved this problem yet but I do have a work arround. Closing the drawings is where the problem comes in so I changed it to leave all the drawings open until all files have been processed and then go through and close them all. I don't realy like leaving them open like that but it works for now. I will still try to figure out how to close the files as I go without crashing SE. I've even use ReleaseComObject but it still crashes after a certain number of files. I think it is a .NET problem. I may spend time learning C++ to see if this will solve the problem since, as I understand it, VC++ is not .NET.

Terry

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources