AutoCAD .NET :: How Undo Marks Are Added To Undo Stack
Oct 20, 2011
I have a problem understanding how undo marks are added to the undo stack.In the code below a fan of lines are draw in a random location.If you run MTest a few times, the AutoCAD Undo command will remove the fans one at a time.
If you run MMulti to draw 10 fans, the AutoCAD Undo command will remove all the fans in a single step.I want to be able to remove the fans one at a time.I thought that a StartTransaction / Commit pair would act as markers for the undo stack, but this isn't working.
Tested on AutoCAD 2010 VS 2008
<CommandMethod("MMult")> _
Sub testmult()
Dim i As Integer
For i = 1 To 10
Call testdraw()
Next
End Sub
[code]....
View 3 Replies
ADVERTISEMENT
Aug 19, 2012
I think it'd be so cool to be able to replay your entire undo history of a picture, so you can see and show others how you proceeded on a picture you made. That way, it's never necessary to capture screen video for like 10 hours and stuff..
So first you'd need to add an option to save the undo history (so that you always keep the history from when you started). Then you'd need an option to playback the undo history.
View 3 Replies
View Related
Apr 23, 2011
how to group actions together in undo marks. It's been asked before but sone time back and doesn't seem like it's been answered.
In VBA it was done using StartUndoMark and EndUndoMark
I have multiple transactions occuring within a procedure. ADDTEXT is one procedure that starts and commits a transaction.
All transactions all grouped under a single undo method after the procedure is complete.
View 1 Replies
View Related
Apr 27, 2012
Is there a way to undo without zoom as part of the undo?
Civil 3D 2013
Windows 7 64-bit
Inteel 2.40 GHz 8 GB RAM
Dell T7600
View 4 Replies
View Related
May 9, 2012
Undo has been disabled in order to prevent undo file overflow...
Is there anyway to increase the Undo capabilities.
View 9 Replies
View Related
Mar 16, 2010
Is posible to disable undo for certain operations?
I want to disable undo for some for some transactions. if posible it...
View 8 Replies
View Related
Apr 27, 2012
which event is fired if a user clicks on "Undo"? Document.OnChange doesn't work, OnTerminateCommand is also not fired.
View 2 Replies
View Related
Aug 22, 2011
Is it possible to use undo in AutoCAD without zoom & pan?
View 9 Replies
View Related
May 28, 2011
Is it necessary to have AutoCAD remember the "zooms" when you hit "undo"? Is there a setting that will allow AutoCAd to not undo "zooms" when I hit "undo"?
View 4 Replies
View Related
Jun 26, 2012
I'm currently running AutoCAD Electrical 2013 and every time I open a new drawing my undo is automatically disabled. Sometimes even changing from sheet to sheet in a project will result in my undo command being disabled. When I use the UNDOCTL command I seem to default to 48 and when I use UNDO to re-enable it I select the "All" option which gives me a 53 back for UNDOCTL, meaning that undo has been re-enabled.
View 9 Replies
View Related
Nov 22, 2013
In AutoCAD 2013/14, there is finally the option for removing Pan and Zoom from the UNDO list?
That would be like the invention of the wheel. For me it's a Buy/Don't buy option.
View 7 Replies
View Related
Oct 29, 2012
I got the first attached message regarding UNDO command which I ignored. The second attached message then came and my UNDO command was frozen. I lost a lot of work done after I have shut down and restarted my computer.
Who knows what I should have done after the first or the second message?
View 1 Replies
View Related
Apr 29, 2013
Civil 3D 2013 on Windows 7 64-bit:
Cannot use UNDO on command line because I have to enter the command many, many times to ever undo anything.
I therefore use the UNDO pull-down in the quick access toolbar; however, a few simple zooms and/or pans using the mouse wheel results in many, many (it seems like hundreds of them) "Group of Commands" items. I have to work my way back through (that is highlighting) many of these to ever get back far enough to undo something simple like an erase of an object. It works like this even if the erase (or whatever) was the last command issued--besides zooming and panning.
The mouse wheel zooming and panning seems to be what is adding all of the "group of commands" listings in the undo list. I must say this seems like a terrible bug in the software to me.
Combine zoom and pan IS checked under user preferences of options.
View 9 Replies
View Related
Feb 7, 2013
Since AutoCAD preserves the entire database list of commands used on a drawing from the beginning, is it possible to "back up," like using undo, after a drawing is saved and closed? Is there a way to come back the next day and start undoing the previous day's work?
View 4 Replies
View Related
May 15, 2012
I have a function which removes the filepath from an IDW drawing which is handy when exporting to other formats. Currently it's just used in a batch script so the drawings close without being saved and there is no problem. Now I'm trying to make another macro which will just export the currently open drawing. So I have to undo removing the file path so the drawing is back to it's original state.
Below is the code for removing the filepath from the titlebar. I tried to do the reverse and put <FILENAME AND PATH> back in, however it appears as normal text. Since the title block uses "variables" which update with other properties and I don't wish to lose that adaptibility.
Function Remove_FilePath()On Error GoTo ErrMsgDim oDrawDoc As DrawingDocumentSet oDrawDoc = ThisApplication.ActiveDocument' Create the new title block defintion.Dim oTitleBlockDef As TitleBlockDefinitionSet oTitleBlockDef = oDrawDoc.ActiveSheet.TitleBlock.DefinitionDim oSketch As DrawingSketchCall oTitleBlockDef.Edit(oSketch)Dim count As Integercount = 1While oSketch.TextBoxes.Item(count).Text <> vbNullString If oSketch.TextBoxes.Item(count).Text = "<FILENAME AND PATH>" Then oSketch.TextBoxes.Item(count).Text = " " End If count = count + 1WendErrMsg:Call oTitleBlockDef.ExitEditEnd Function
So I either need a way to undo the actions of the subroutine or know how to insert the "variable" which references the file's properties.
View 8 Replies
View Related
Aug 15, 2011
I try to do animation rendering by setting up the animation and letting run overnight sometimes. I often get the pop up window telling me that "the "undo" file size has reached its limit - Do I want to increase the file size?" This pauses the rendering until I hit the OK button. How do I get that to stop?
View 3 Replies
View Related
Jan 18, 2005
Is it possible to exclude zooming from the UNDO function? Going through undos is mostly pretty annoying "back-worth"-jumping, when working with a scroll mouse.
edit: Forgot to mention that I'm currently using AutoCAD LT 2000i. And upgrading to LT 2005 in very near future.
View 9 Replies
View Related
Mar 22, 2012
I'm currently using Civil 3D 2012, and all of a sudden CTRL+Z has stopped working as UNDO. It does nothing. I've found this issue in lots of other outdated forum posts, but none seem to relate to Civil 3D 2012. I went into CUI to see if the shortcut was somehow changed, but the UNDO command still points to CTRL+Z as its shortcut.
View 7 Replies
View Related
Jun 21, 2013
Is there a way to filter out zoom and pan operations so they're not included in the undo list?
View 3 Replies
View Related
May 17, 2012
I was working on some work files, and generally a box comes up saying that there are unresolved references and asking what to do. Usually I hit the x and everything works fine, but this time i accidentally clicked the checkbox to automatically ignore unresolved x references and now certain files will not load the references even though the path is correct and the files are there. I was wondering how to undo this check box. I imagine it has to be a variable or setting somewhere.
View 1 Replies
View Related
Nov 29, 2011
Is there a way how I can unselect element one at the time?
Example if I do fillets and I select wrong edge and I want to unselect only that because I have selected example twenty edges already and dont wont to throw away all work what I have already done.
View 2 Replies
View Related
Apr 27, 2012
why Undo might disable DocumentCollection reactors?
It has something to do with me undoing the annotation scale as when I remove the line
db.Cannoscale = tstAnnoScale
The problem doesn't occur.
View 3 Replies
View Related
Mar 10, 2012
I need to be able to roll back my variables if user apply an UNDO. Let's say.
Myinteger =1
Startstransaction
........
trans commint
Myinteger=2
Startstransaction
.......
trans commint
Myinteger=3
if user does undo 2 times the Variable Myinteger keep the value 3 . I want it back to 1. How?
View 6 Replies
View Related
Feb 28, 2011
when i try to open my 2011 inventor program which ive been running for months now i get an error message. and the program refuses to open. "Error in Inventor Undo Folder: Please Make Correction" any ways to fix this so i can get back to work. and i should add that i am not a computer genius im a furniture designer.
View 9 Replies
View Related
Sep 20, 2011
is there a way to not include zoom features in the undo command.
for instance, if i delete something and than zoom out, i have to undo multiple times to complete the undo delete.
I want to completely eliminate zoom featues from the undo command.
View 9 Replies
View Related
Mar 14, 2013
Is there a known problem with 2013 undo? I can be in a new drawing issue 2 commands and the undo drop down is populated with 100's of group commands, makinf Ctrl z useless
Civil 3D 2012 & 2013
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram
Note: Its all Resistentialism, so keep calm and carry on
64 Bit Win7 OS
View 9 Replies
View Related
Jun 21, 2012
I am using Civil 3D 2013, Windows 7 x64.
Intellizoom does not seem to work properly on certain drawings, where if I undo... nothing happens. Rather, it tries to undo *each* click of my scroll wheel, without doing anything. This results in dozens and hundreds of undo commands, most of which are totally useless. This of course breaks my undo command, rendering it almost pointless. If I make a change, zoom out and decide that the change is not needed, I cannot easily undo; I have to undo something like 50 "commands" that do nothing, before I get to the "real" undo that I wanted to undo in the first place.
I understand there is the "Combine zoom and pan commands"; this is checked off. It does not seem to do anything. How do I make my undo command useful again? As a keyboard user, I want to use ctrl-z for my undos. I do not want to go to the undo button, pull down the menu, and search trhough the 50 commands to find the correct command to undo to, especially since I never had this problem before in previous versions of Civil 3D.
Some additional information:
1. I can open some other drawings that get the correct undo/zoom behaviour.
2. I can open the drawing I have problems with using a previous version of Civil 3d (2012), and get the correct undo/zoom behaviour.
View 9 Replies
View Related
Aug 16, 2005
I've made the switch from Photoshop v7 to Photoshop CS2 (yay), but theres this one very annoying little nuisance! In v7, i could try some things out and experiment with things, and if i was unsatisfied with the results, i would just pres Ctrl+Z a couple dozen times, and voila! Back to where I would experiment some more. However, in CS2, i can't find out how to set so that i can UNDO more than once. It just toggles between UNDO and REDO. Its just a minor annoyance, but it really bugs me. Is there a way to undo more than once (or a whole lot ) by pressing Ctrl+Z or another keyboard shortcut, or am i stuck to using the history window?
View 9 Replies
View Related
Feb 7, 2008
I have some images I'm tyring to see if they have been photoshopped , and if its possible to 'undo' the photoshopping to restore the original image?
View 2 Replies
View Related
Jun 14, 2012
How can I undo changes made in Lightroom 4 and exported as TIFF file? Need to find my "original" raw file?
View 2 Replies
View Related
Jun 13, 2013
I have a brand new workstation and only on certain files it will say FATAL ERROR: Cannot write to undo file (probably disk full) when ever I save. I have tried cleaning out the TEMP file, turning off the Undo function, auditing the file and its xrefs, and recovering the file. It was a file that was on the server, but I have pulled it to my local machine and I have also increased the amount of virtural memory avaiable.
View 3 Replies
View Related