Command in progress?

Command in progress?

Anonymous
Not applicable
487 Views
14 Replies
Message 1 of 15

Command in progress?

Anonymous
Not applicable
I posted this before. This details my problem alot better though.

I'm getting the following prompt while trying to save:

Document "SomeDrawing.dwg" has command in progress
Hit enter to cancel or [Retry]

While:
(getvar "cmdactive") returns 0
(getvar "cmdnames" returns ""


I have to close the document in order to save it. Nothing else works.

Please help!


Thanks,

Wayne Massey
0 Likes
488 Views
14 Replies
Replies (14)
Message 2 of 15

Anonymous
Not applicable
Check to see if you left a dialog box open somewhere
"W Massey" wrote in message
news:1DC2CBDD11EA45C82D53295195CE17F3@in.WebX.maYIadrTaRb...
> I posted this before. This details my problem alot better though.
>
> I'm getting the following prompt while trying to save:
>
> Document "SomeDrawing.dwg" has command in progress
> Hit enter to cancel or [Retry]
>
> While:
> (getvar "cmdactive") returns 0
> (getvar "cmdnames" returns ""
>
>
> I have to close the document in order to save it. Nothing else works.
>
> Please help!
>
>
> Thanks,
>
> Wayne Massey
>
>
0 Likes
Message 3 of 15

Anonymous
Not applicable
The problem occurs after I run one of my VBA macros. The macro does not use
any dialog boxes. It just searches for invalid ExternalPath names in
ComponentDefinitions and automatically fixes them.

Thanks

Wayne Massey
0 Likes
Message 4 of 15

Anonymous
Not applicable
Have you properly cleaned up after yourself?...Set mystuff = nothing
"Wayne Massey" wrote in message
news:3B422CDEBF729DC3A174451E28C3A64D@in.WebX.maYIadrTaRb...
> The problem occurs after I run one of my VBA macros. The macro does not
use
> any dialog boxes. It just searches for invalid ExternalPath names in
> ComponentDefinitions and automatically fixes them.
>
> Thanks
>
> Wayne Massey
>
>
0 Likes
Message 5 of 15

Anonymous
Not applicable
I am having the same problem and the ONLY Vba statement in my lisp program is to open a drawing.

Also, the program worked fine on AutoCad 2000.

From checking various discussion groups under this title, of command in progress, it seems to boil down to a BUG in Autocad (I am running Mechanical 6 PowerPack) or VBA or both.

So far I have found no relief! This BUG is costing me a lot of lost time every week and it is very frustrating when an upgrade BUG is the cause!

If you find a solution, please let me know.

Joe Posge
0 Likes
Message 6 of 15

Anonymous
Not applicable
do you have all the latest service packs installed for your product release? I apologize for not offering more help but the original message is no longer viewable on my computer due to problems I had with the ng's some time ago. If you can post the code/lisp you're running, then maybe someone here can take a look at it. Kevin "JoeP" wrote in message news:25057025.1084533801700.JavaMail.jive@jiveforum2.autodesk.com... > I am having the same problem and the ONLY Vba statement in my lisp program is to open a drawing. > > Also, the program worked fine on AutoCad 2000. > > From checking various discussion groups under this title, of command in progress, it seems to boil down to a BUG in Autocad (I am running Mechanical 6 PowerPack) or VBA or both. > > So far I have found no relief! This BUG is costing me a lot of lost time every week and it is very frustrating when an upgrade BUG is the cause! > > If you find a solution, please let me know. > > Joe Posge
0 Likes
Message 7 of 15

Anonymous
Not applicable
I believe we do have the latest service pack for autocad mechanical 6 but how do I find out for sure?

I am posting a zip file with the lisp program and dcl in case this helps.

The most frustrating thing is that this worked fine with autocad 2000 so I think the code should be ok (used it for many many months without any problems).

Joe
0 Likes
Message 8 of 15

Anonymous
Not applicable
Your code is very user specific, so I didn't test for anything else, but you only use the Open method of the Documents collection. You can only use that if SDI=0. For SDI=1, you have to use the Document object. Here is a function I have for creating new dwgs, just sub in the Open method to get the idea. Public Sub NewDwg(TemplateName As String) 'Creates a new drawing using name of template ' different process for SDI and MDI modes With AcadApplication If .Preferences.System.SingleDocumentMode = True Then ThisDrawing.New TemplateName Else 'Use the application object. 'ThisDrawing object will not be 'available when all docs are closed. .Documents.Add TemplateName End If End With End Sub -- ---- Ed ---- "JoeP" wrote in message news:15920305.1084567745675.JavaMail.jive@jiveforum1... I believe we do have the latest service pack for autocad mechanical 6 but how do I find out for sure? I am posting a zip file with the lisp program and dcl in case this helps. The most frustrating thing is that this worked fine with autocad 2000 so I think the code should be ok (used it for many many months without any problems). Joe
0 Likes
Message 9 of 15

Anonymous
Not applicable
you can type AMVER at the command line to find out what service pack you're running - i'm not positive but there should be at least an sp3 for that release... Kevin "JoeP" wrote in message news:15920305.1084567745675.JavaMail.jive@jiveforum1... > I believe we do have the latest service pack for autocad mechanical 6 but how do I find out for sure? > > I am posting a zip file with the lisp program and dcl in case this helps. > > The most frustrating thing is that this worked fine with autocad 2000 so I think the code should be ok (used it for many many months without any problems). > > Joe
0 Likes
Message 10 of 15

Anonymous
Not applicable
Thanks, mine reports sp2 - how do I obtain sp3?

Joe
0 Likes
Message 11 of 15

Anonymous
Not applicable
sp3: http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=2524870&linkID=2475534 sp4: (note i've had issues with the mdt version of this one, so I would recommend sp3) http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=2525263&linkID=2475534 Kevin "JoeP" wrote in message news:28816268.1085097066283.JavaMail.jive@jiveforum2.autodesk.com... > Thanks, mine reports sp2 - how do I obtain sp3? > > Joe
0 Likes
Message 12 of 15

Anonymous
Not applicable
Thanks, I will try the SP3, as you recommend.

Joe
0 Likes
Message 13 of 15

Anonymous
Not applicable
Adding sp3 is fine, but it won't help your problem if you have sdi=1 and your code tries to open another dwg while the current macro is running. When sdi=0 the current dwg has to close first, but you have a macro running, Hence, you get the message that a command is in progress. -- ---- Ed ---- "JoeP" wrote in message news:5478064.1085139221405.JavaMail.jive@jiveforum2.autodesk.com... Thanks, I will try the SP3, as you recommend. Joe
0 Likes
Message 14 of 15

Anonymous
Not applicable
I do not have SDI set to 1. The frustrating thing is this program worked fine for many months until acad 2000 was replaced by mechanical 6!

I downloaded SP3 but when I try to run AMECH6SP3.exe, I get the following error message...

Error 114: The AutoCAD Mechanical 6 update was not applied.

Any idea what is causing this error?

Thanks

Joe
0 Likes
Message 15 of 15

Anonymous
Not applicable
at this point you might be better off posting in the mechanical newsgroup: autodesk.mechanical.support Kevin "JoeP" wrote in message news:2526275.1085398530051.JavaMail.jive@jiveforum2.autodesk.com... > I do not have SDI set to 1. The frustrating thing is this program worked fine for many months until acad 2000 was replaced by mechanical 6! > > I downloaded SP3 but when I try to run AMECH6SP3.exe, I get the following error message... > > Error 114: The AutoCAD Mechanical 6 update was not applied. > > Any idea what is causing this error? > > Thanks > > Joe
0 Likes