AutoCAD .NET :: Stopping A Block From Being Erased
Jul 25, 2011
I am working on a .Net plugin and need to handle some events. The first one I'm playing with is the ability to prevent a block from being erased. My method for doing this was to add a handler to the database object of the current document, and look for blocks being erased and then check its name/attributes. I realize that the code is buggy and will only work for blocks - but it's currently just a proof of concept. I have hard-coded the block name, and set a check for if the attributes contain "123". It seems to work, but after I un-erase the blocks they don't redraw. I've gotten better results with calling .Draw on the object, but I still have to regen the drawing manually.
<CommandMethod("protectblock", CommandFlags.Session)> _ Public Sub protectblock() Dim currentDocument As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument Dim currentDatabase As Database = currentDocument.Database AddHandler currentDatabase.ObjectErased, New ObjectErasedEventHandler(AddressOf callback_ObjectErased) End Sub
[code]....
View 4 Replies
ADVERTISEMENT
Feb 15, 2013
The 'oops' command is restoring all objects erased since the start of the session rather than the last one erased.
Is there a setting i'm missing?
View 9 Replies
View Related
Oct 21, 2013
Can you lock a line so that it cannot be moved or erased? Not a layer...a specific line.
View 3 Replies
View Related
Oct 17, 2011
I was hoping to use find and replace "#" with broken fields in the drawing. but it will not find the # value that the field creates when it is broken. Is the only way to find a broken field a visual check? or is there another way I am not aware of?
View 5 Replies
View Related
May 22, 2012
Is there anyway to stop AutoCAD executing the command used to create a palette upon AutoCAD startup?
I know constructing the palette without a GUID prevents this behaviour but I'd like keep this to preserve the palette size, position, state etc given when a GUID is provided.
I had hoped I could just close / make not visible the palette just before AutoCAD exits and it wouldn't try and restore the palette upon the next AutoCAD started. I've tried doing this in the Application.BeginQuit event but the command is still called the next time AutoCAD is started.
View 6 Replies
View Related
Jan 22, 2013
I usually use my mbutton to pan dwg. Just started using AutoCAD 2013 and I notice it zoom extents everytime I press the mbutton (the middle scrollwheel button). How do I disable this zoom extents?
One more thing, how do I disable the annoying auto complete whenever I type in a command? It seems to be slowing my work flow.
View 6 Replies
View Related
Mar 8, 2012
I am using acad 2012, and VS 2010 (C#) on win 7 64 bit.
I made a form, and showing it as modeless via Application.ShowModelessDialog... as recommended by everyone and that works fine.
I have a button that does something, and I set a break point right on the first line of code for its callback.
The button runs fine, but VS is not stopping at the break point.
Is there a different technique required when debugging modeless forms?
[URL]
View 5 Replies
View Related
Sep 20, 2013
i unistalled photoshop 6 from my computer when i renewed my subscription (i did this cause it wasn't opening) and now i can't download a new version.
View 3 Replies
View Related
Feb 16, 2012
Its a large file, so i shut down photoshop and then started it back up, like i do all the time. However when photoshop started up again my file i had been working on all week was gone. It could be seen in the recent files, but when i clicked it it said it couldnt find it. So i go to the directory where it should be, and, yup, its gone.
Not in the recycle bin, not anywhere on the drive after many exhaustive searches, and i cant even find it using a disk recovery tool. I have tried recuvra, which took over 2 hours, and nothing. It is completely and absolutely gone, taking away a weeks worth of work with it. I actually need this for tomorrow, but dont have anywhere near enough time to create it from scratch again.
View 9 Replies
View Related
Aug 21, 2008
I saved a .psd as a flattened image. Is it possible to retrieve the former version that has all of my layers?
View 1 Replies
View Related
Mar 17, 2008
I use the Eraser Tool to erase part of a picture before posting it in a public forum (for example a License Plate or a face for privacy reasons), is there a way that someone coud later reverse the process digitally and recostruct the erased part? Or is it impossible? Also, many times I see that even if I resize a picture before posting it to a forum that the EXIF info is still there (camera the picture was taken with, time, etc). Is there a way to erase the EXIF info from a Picture?
View 9 Replies
View Related
Oct 10, 2008
For some reason with my Photoshop CS3, the image adjustments; i.e. contrast, brightness, etc. , are completely missing when the image is printed. The image file after saving looks fine on screen in a photo viewer, but when printed, the image reverts back to pre-edited state.
Things like cropping,color and transforming carry over , but the image adjustments don't . This is really strange, you would think that once an edited image was saved, all the changes to it are now permanent no matter what form it's displayed.
How is printing the image reversing the image adjustment editing to the file? Is there some kind of setting that it's in thats making it do this?
View 1 Replies
View Related
Jan 22, 2005
way to recover the deleted area of an image? Say for instance you have an image someone sent to you and part of the image has been erased to hide something so no one could see that part of it. Part of it has been erased and it's just white in that area. Can't you recover that area? I don't know if this is the place to make such a post but I figured it could be done in photoshop.
View 4 Replies
View Related
Jun 30, 2006
to add some color to a black and white photo.
I don't need anything too complicated, so I just added a solid color fill layer and erased everything that wasn't that particular color. However, I erased a bit too much, and instead of adding another fill layer for this one little part, is it possible for me to draw into the layer to add the color back?
I tried taking a black brush and painting into the layer, but nothing happened.
View 2 Replies
View Related
Jun 22, 2012
We have recently installed Photoshop cs6 on two Mac Pros. On one of them, Photo merge is erasing parts of the individual images while stitching. The part of the original image that is covered by masking, is also erased when the mask is disabled. The merged image generally comes out fine, however, this problem can make it much more troublesome if one needs to adjust the combined image.
On the second Mac, Photo merge works the way that it seems to work in all examples I´ve found online - the individual images retain all their pixels under the mask.
The method we´re using is Layout: Auto, with "blend images together" as the only checked box.
View 2 Replies
View Related
Oct 20, 2012
I used Dup Finder (plugin) to find duplicate pictures in my LR catalog. I then erased them through Lightroom. what I didn't realize is that Dup Finder puts both the otiginal file and the duplicate in a smart collection. I errased everything from that folder, so now I have missing photos and I don't know all the file names. Is there any way to recover these photos or at the very least find a history of changed to a catalog or collection (I have online backups of my photos, so if I know the file name, I can get them).
View 1 Replies
View Related
Nov 3, 2013
I have eraser tool trimmed all round an item I wish to take out to another photo, so lets say I have a car, round its edge is now an 8 pixel border of transparency, car within, road scene outside, I click the car and get parts of the picture both sides of the erased border , I just want all of the car, or alternatively I click outside the erased border and get bits of the road scene but also bits of the car.
I have tried contiguous on and off, select all layers on and off, different wand tolerances, various combinations,...have I overlooked one that I can wand the road scene and it will select all of it up to the gap around the car ? I can then expand selection a couple of pixels and delete out the road scene.
So far I am left with carefully picking my way around the middle of the border with the straight line selection tool and erasing chunks away that way. Having taken ages to go round the edge of a complex shape , to have no option but to repeat the path with the stright line tool is a pain. I use a variety of brush sizes/settings and quickmask mode to initially select out the item. I should have used the lassoo tool then inverted selection, it doesnt allow for a variety of hardness in one selection and you cant sew what exactly you have got, unlike a pink edge.
Its simple stuff like this that I hope Pshop after many years would have a tool for, as well as all the luxuries/gimmicks.
View 3 Replies
View Related
May 25, 2006
I using the magnetic lasso to select an image...if I mess up. I try to stop the lasso, it just keeps tracking whereever I go and I want to stop it from tracking .... what do I do to end it... I know I can go to where I started ......... but is there a better way?
View 1 Replies
View Related
Oct 8, 2013
URL...I use the fill tool next to an already established color and it does this blending, I'm assuming it's a simple fix or just user error somewhere, but how to fix?
(In case it's important the Gray color was made using the Free Select Tool and Fill with FG Color command and the White was the Bucket Fill tool)
View 2 Replies
View Related
Jun 9, 2011
but my lack of determing the answer has stopped me from using what is obviously an excellent product: Once I use a tool to perform something, say to draw a colored line in an image, I dont know what to click on from stopping the drawing tool from having control. I can click on another tool, but what if I just want to drag the image to another part of the screen? In a previous paint tool I used, PhotoImpact I believe, there was an icon in the Tools that basically stopped whatever tool I had last selected from being in affect.
View 9 Replies
View Related
Feb 3, 2012
In the last three days, I lost hundreds of treatments. The photos from my folder disappeared with no reason.I have to import them again (they are on the hard drive) and work again on treatments.
I am using LR for years and it is the first time that it happens.
View 9 Replies
View Related
Jun 3, 2012
In regards to the new adobe photoshop CS6, i am having some issues selecting a layer. It automatically creates a stroke on each selected layer
View 4 Replies
View Related
May 18, 2006
Why is it that Photoshop always fills in a shape every time you create one with the shape tools and how can I stop it from doing that? I'm trying to create just a single line of color and nothing else. Ideas?
View 8 Replies
View Related
Mar 5, 2008
My preferred medium for photography is underwater, so it is crucial the white balance is set to the area and depth of the shot. When I use Photoshop CS3 to develop the shot in RAW, as soon as I click on to the shot in bridge it instantly reverts back to the default white balance, In UK fresh waters this usually means a strong green cast.
View 4 Replies
View Related
Jun 16, 2004
I'm trying to batch convert groups of photos to b&w. The action i want to perform involves 3 steps: 1)channel mix to b&w, 2)stop to do curves, dodge/burn,etc. and 3)finish b&w convert w/ hue/saturation. If i insert a Stop then PS does allow me to finish the action but it stops the batch. I need to do the Hue/Sat after adjustments b/c otherwise i get a color shift. If this makes sense,
View 6 Replies
View Related
Aug 19, 2013
I'm always getting "metadata file needs to be updated" notification for two TIFF files, not for others. I'm saving them to the disk, after two seconds they are giving the same notification ... I'm not touching my hands even to the keyboard ...
View 2 Replies
View Related
Mar 8, 2007
Is it possible to stop the PDF slideshow exports from LR from automatically advancing? I want it to remain on the slides until I hit the cursor button (like I can do from within LR.) My pdf slideshows, however, keep auto-advancing. I can get it to advance FASTER in either direction by hitting the cursor buttons, but I can't "stop" it from auto-advancing completely, which is what I want.
The LR slideshow export page says that "Adobe Acrobat transitions use a fixed speed," but I thought that this meant that you couldn't change the speed of the transition itself. Can you also not change the "rate of advancing" to the next slide?
View 12 Replies
View Related
Mar 20, 2013
I imported my files from Premiere Pro CS6. I rendered in Premiere Pro prior to importing it to AE.
View 1 Replies
View Related
Nov 5, 2012
I set custom white balance for a lot of my photos (I'm a nightclub photographer) as sometimes the colours are so saturated the image becomes unusable. Unfortunately in Lightroom 4 the photos import with the correct WB I have set but when I click on them to develop the settings are changed and the image looks completely awful. I try and adjust the image back to the way I have taken it but it never looks the same....why is Lighroom not recognising the WB settings I set within my 5D?
View 8 Replies
View Related
Apr 22, 2012
I've been adding text to layers for a few months with no problem. I use the text tool all I get is a 'dot' with a line that extends as I type. It does create a layer and the layer is named by whatever I typed but there isn't anything there.I've gotten the outline to show, but it's empty. the font size might be too small to see. I have a 25 inch background and set the font to 72 but still nothing.
View 27 Replies
View Related
Apr 20, 2013
I have been having a lot of trouble with a project that is about 4.96GB to burn to disc. I have adjusted the MPEG rate so that the project is much smaller, but when I burn it from the video file, the resulting disc keeps stopping when I play it on my DVD player. On my computer, it goes almost to the end but then the audio and video keep "catching" for about the last three minutes of the 1 hour 11 minutes. I am currently trying to create a video disc of part of the project, but it has reached 99% of rendering and then hung for several minutes. The task manager tells me that Videostudio was not responding. It has now finished.
View 7 Replies
View Related