AutoCAD .NET :: Setting MDIActiveDocument Freezes Program
Nov 5, 2012
I'm trying to switch documents and add some text. But the program switches to the document then freezes without executing any lines after switching documents.
If flyToHandle <> "" Then Dim docIsopen As Boolean = False For Each doc As Document In DocumentManager If doc.Name = flyToDwgName Then docIsopen = True acdoc = doc DocumentManager.MdiActiveDocument = acdoc End If Next If docIsopen = False Then acdoc = Autodesk. Auto CAD.ApplicationServices.Application.DocumentManager.Open(flyToDwgName, False)
[code]....
View 3 Replies
ADVERTISEMENT
Aug 22, 2013
I cannot seem to set the MdiActiveDocument synchronously.
I have code inside a <CommandMethod> that creates a drawing and then writes any error information to the command line. Since this is started in one document, if a fatal error occurs and the drawing does not get created, that message goes to the original document's command line.
In the case where a drawing gets created with errors (say partial success), I would like the errors to appear in the new drawing (new active document's) command line.
The behavior when setting Core.Application.DocumentManager.MdiActiveDocument is peculiar. The application can hang for a long time if you do not click anything. If you click the document (from the taskbar or clicking on the window), it breaks out of the hang and continues to execute, but the active document is not changed. The MdiActiveDocument still points to the original document. You can also see that it does not change because doc.IsActive = False. This state could be because when you clicked, you really did make the original document active (again? still?). To break the hang, I think the click has to be on the original document.
On an example like [URL] ... there is no action taken after MdiActiveDocument is set, so I assume that it is actually set when the command is completed, not synchronously. I am not absolutely certain of this, though.
<CommandMethod("AUTODRAWPN")> _
Public Sub DrawPartNumber()
Dim ed As Editor = Core.Application.DocumentManager.MdiActiveDocument.Editor
If IsNothing(drwr) Then
[Code] .......
Is there a way to set the MDIActiveDocument? Should it be hanging like this? Should I be looking at an altogether different way to handle this?
Trying to use doc.Editor without setting the active causes a eNotApplicable error, so that is not a way out.
I am using AutoCAD 2013. The following link implies that this could be a 2013 specific problem, but I do not know that for sure. [URL] .....
View 1 Replies
View Related
Mar 6, 2013
I have a problem since I upgraded to CS6 for MAC. All the rest of the Design Premium software works fine, but adobe Illustrator seems to have a problem when exiting the app. Always hangs and never closes down so I have to use the Force Quit option of the OS. And it happens ALWAYS.
View 8 Replies
View Related
Nov 4, 2012
have been using CS4 for years. Now when I try to process an HDR the program freezes (not responding). HDR will "freeze" (not responding) the program then the screen goes blank. Have used the HDR with out issue.
View 2 Replies
View Related
May 18, 2011
Distributed Bucket Rendering Freezes Max.
The render freezes at 100%. The 3ds max memory in task manager remain the same.
I had checked all options: Place holder, Conserve memory, map manager.
In lighter scenes, it renders normal. But in complex scenes, it always freezes at 100%. I have to close the process in task manager.
I'm working on two computers. And the network is gigabit.
View 9 Replies
View Related
Nov 4, 2013
I have an image open and try to use the liquify tool in filters.It opens and then after attempting to use the tool, It freezes completely. Cant even get out of it or close it at all.
View 1 Replies
View Related
Jul 15, 2013
I'm having problems opening photoshop CS3 after a clean install. I have deactivated my CS3 product on my old computer, that run on windows XP. With my DVD installed on my new computer that runs on windows 7. After the installation, I tried to open photoshop to activate. When the program stats to open and freezes almost instantly. I have to open the task manager to close the program that appears not responding.
My new computer is a Workstation, S5000XVN Intel motherboard, 24 Gb of Ram, NVidea Quadro 2000.
View 3 Replies
View Related
Feb 21, 2013
Anytime I import a piece of Clipart and I go to the Trace bitmap button>outline trace>line art the program freezes immediately. The diagbox doesn't even pop up, nor does it say "not responding" at the top.
I am running Win 8 but it has been running for months without a hitch. I have cleaned out temp files and reinstalled the suite and nothing happened.
View 7 Replies
View Related
Apr 24, 2013
I'm using Elements 9 and I've never had any problems with it until today. When I tried to use the Adjust Shadows feature under Adjust Lighting, the program became unresponsive. It wouldn't allow me to do anything at all. I had to exit the program using the Task Manager. I tried two more times to see if I was doing something wrong, but I followed the same process I've been using for years and each time the program would freeze.
View 2 Replies
View Related
Apr 29, 2013
When I use filter/render/lighting effects, it freezes my program.
View 1 Replies
View Related
Jun 1, 2012
I'm using X4 and tried Local Tone Mapping for the first time. Any time I try to use it the program freezes and I have to use Task Manager to close it and re-start. It does it on any image I've tried. does it only work on specific file types? Haven't had any other problems with the program.
View 2 Replies
View Related
Mar 21, 2013
I'm following a Scrapbook course. When I'm attempting to assemble a page, I am frequently getting 'not responding' in the top left, and the programme freezes.
View 1 Replies
View Related
Feb 19, 2013
I am importing a dgn into autocad by using the SendStringToExecute method with the 'Import' command. My problem is that once I have the dgn imported I want to do some modification and then save the drawing, but setting a new dim to the current mdiactivedocument still gives me the initial document and not the one opened by the import command as I had thought it would.
How can I switch the mdiactivedocument over to the newly opened document?
View 1 Replies
View Related
Dec 28, 2013
every time I use my Dell Printer and go into scanning and select 'scan to' and select Gimp as the image program. Gimp freezes for eternity on Gimp Startup and I HAVE to 'end process'!!! end task DOES NOT work!! how do I fix this while scanning directly into Gimp?
View 2 Replies
View Related
May 16, 2013
Whenever I go to open up Adobe Photoshop (64bit or otherwise) it will load up for a second then crash the next. It doesn't give me error reason why only says it has stopped working and it can't detect a problem so it closes. I have tried to uninstall and reinstall the program but the Adobe Application Manager is also acting weird. When it is opened it freezes and soon crashes saying there is a "Download Error".
View 2 Replies
View Related
Mar 22, 2011
I am unable to use the file command open, new etc. I click on open and nothing happens no file box opens. As soon as you do anything else the program says not responding and you have to close it down. I can click on an autocad file in windows explorer and bring up the file this way but as soon as you try any file command such as save as the program freezes again. I am running windows 7 professional and the autocad LT 2011 64 bit program.
View 9 Replies
View Related
Dec 10, 2011
Where in this program ( 4x) do i check to not use PSP as my default program? I use another editing program and PSP is opening up my 'bridge' pictures? i need to use the programs as individuals..
View 5 Replies
View Related
Jan 31, 2013
Is it possible to make the program to stop rounding when I try to set the image size? I'm putting in a size that is like 4.569 and it rounds it to 4.57 and I don't want it to round it.
View 2 Replies
View Related
Sep 4, 2012
Best practices for setting up systems in a lab environment. We have a lab enviroment of about 200 systems that access AutoCad, Inventor, Mechanical and others.
We need to have a customized interface come up when Autocad is opened by students.I have read that you can do this with profiles and workspaces and also with loading a acad.lsp file.
In the past we have just copied the Windows admin profile used to customize AutoCad to the default profile. In AutoCad 2013 that does not seem to grab everything. It doesn't seem to be the best way to do what we need.
We will also be moving to Windows 7 soon which will also cause an issue.I want to find the best way to do this with out having to deal with the Windows profile.
View 1 Replies
View Related
Dec 2, 2012
I cannot share photos from my Elements 8.0 Organizer via email. The program does not recognize that I have an email program loaded. The computer is a new HP desktop with Windows 7 Home Premium Service Pack 1 operating system. My Elements 8 does everything I need except for the photo sharing so I don't really want to purchase a new version.
View 1 Replies
View Related
Jul 31, 2011
When I'm gonna write my program stops and appears a box that says Run time error and close my program. What is that, what I coul do?
View 1 Replies
View Related
May 5, 2011
My autocad lt 12 crashes when I try to copy or cut to the windows clipboard. It only does this in some older drawings. I have to kill autocad and restart. I use copy and pasting between drawings quite extensively. I am desparate for a fix for this I use Windows 7 64 bit.
View 7 Replies
View Related
Jun 7, 2011
AutoCAD Map 3D 2010 freezes when user tries to publish the plot to a shared drive or simply creating a .plt.
View 2 Replies
View Related
Nov 4, 2013
AutoCAD has been freezing randomly when I start it. It will get to the screen below (top image) and.... that's it. It stays that way and does not change. I have waited up to 15 mintues before restarting my computer as trying to start AutoCAD again doesn't seem to change anything.
I have learned that the Devices and Printers window will also be blank when this occures (bottom image). I can now predict when AutoCAD won't open by opening the Devices and Printers window first. I think the issue is unrelated to AutoCAD, rather the issue is my computer not refreshing the Devices and Printers. When CAD is loading the list of available printers it can't find any so it continues to look and.... never gives up.... I can't even print a PDF from Adobe Reader while the Devices and Printers window is in this state (this is actually how I found that the Devices and Printers window was blank). I have not tested to see if ALL applications fail to print, but that is a separate issue.
what is causing my computer not to open the Devices and Printers window successfully?
I am running AutoCAD 2011 64 bit, windows 7, Novell Network.
View 3 Replies
View Related
Sep 19, 2013
I'm drawing polylines within a chart of elevation contour lines of a mountainous region in my country.
This is for the design of the drainage hydraulics of highways.
The Contour Chart which is in jpg format, I have saved it in photoshop in medium size to make my autocad drawing the less heavier in size.
In fact, my AutoCAD dwg file is only 69 KB big. I have however georeferenced my Chart by UTM coordinates, so it is a little bit big in the drawing.
My drawing is in milimetres and the chart size is: 3861 x 2848.
Here is the layout view of my drawing: Regen problem.jpg
What is making my AutoCAD crash all the time when I regenerate the model?
Is there anything I can do to stop this from happening?
I try to save my drawing all the time though, and whenever my AutoCAD crashes I have to close it up, then I have to open AutoCAD and the drawing again; but this is a bit tedious.
View 5 Replies
View Related
Mar 5, 2012
I am using AUTOCAD LT 2012 on Apple computer with Parallels and Windows 7 - 64 bit.Use LT in Windows program. Use Classic screen as I am still learning 2012 version.
When I select the QuickCalc button on the top ribbon - the screen freezes/locks up.Have to reboot to get out of file and recover the file. This has now happened twice.
View 2 Replies
View Related
Mar 28, 2012
I am having PDS Ultimate 2012 and working on inventor. when i open a file or open a new template ribbon freezes means menu bar doesn't work properly,if i change the ribbon appearance it doesn't update also i cannot switch between the menu bar tabs and if i turn on the visibility of the datum planes it doesn't show on the screen.But when i refresh the windows everything works sometimes. i have installed SP1 and even repaired inventor.
System Config:
OS Name Microsoft Windows 7 Professional
System Manufacturer LENOVO
System Model 20079
System Type x64-based PC
Processor Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz, 2300 Mhz, 2 Core(s), 4 Logical Processor(s)
Name AMD Radeon HD 6370M
Adapter Type ATI display adapter (0x68E4), ATI Technologies Inc. compatible
Adapter Description AMD Radeon HD 6370M
Adapter RAM 1.00 GB
View 2 Replies
View Related
Oct 9, 2012
Started freezing when selecting a layout tab. Other programs respond but not C3D. Seems to be this one drawing - pretty simple, about 1000 pnts, and a surface so far. When I select the layout tab it switches and I see a few contours but C3D does not respond. First time I have exp this.
Civil 3D 2013 SP 1, 64 bit
Dell Precision T5600, 16 GB
Win 7 Professional 64 bit
Intel Xeon @ 2.0 GHz
NVIDIA Quadro 4000
View 2 Replies
View Related
Nov 21, 2012
If you make alterations to a model, and then switch to vault menu, your model is red with an asterix (requires saving). If you click check in on this, you get the message that it needs saving, click ok. It appears that it has worked but all the buttons on the toolbar are frozen. if you click the big I all the ribbon greys out and you need to restart Inventor. The only button that still works is Suite Workflows.
I have SP1.1 installed as well as the vault hot fix.
View 5 Replies
View Related
Dec 12, 2013
I'm running AutoCAD 2014 (part of AutoCAD Structural Detailing 2014), & it occasionally freezes on me. I haven't figured out how to reproduce it regularly yet, but it is somewhat predictable. When I run a list routine that opens a dialog box, if I press Escape immediately after the dialog box appears, AutoCAD quits responding & I have to force it to close with the task manager. It doesn't always happen, but it has become a semi-regular event. I've previously used AutoCAD 2010 Mechanical & AutoCAD 2012 (part of Structural Detailing 2012) before with the same routines on this machine with no issue.
Computer Specs:
Dell Inspiron 560
Windows 7 Professional x64
Pentium E6700 3.2 GHz
4GB RAM
NVidia GeForce 8400GS
AutoCAD 2014 doesn't seem to be noticably more resource intensive than 2012 was, so I don't think that's my issue. I'm just trying to make a habit of saving more often & not accidentally running the wrong command.
View 5 Replies
View Related
Dec 14, 2011
My view is freezing in Architecture 2012 and when I close out of my drawing and open it again, the problem is fixed. What am I doing to make it freeze? It seems like it does it the most if I am in isometric. Also, I am working in a project manager and there are no Xref's attached.
View 4 Replies
View Related