AutoCAD .NET :: Debugging WinForm In 2014 With VS2010?
Dec 13, 2013
When I place a breakpoint inside a Windows form i get the message "No Source Available" from Visual Studio.
I'm using Application.ShowModalDialog(..) to launch the dialog.
How can people develop code without being able to debug? This has been an issue for some versions now and the NEXTFIBERWORLD=0 is not a solution for me since the whole AddIn acts strange when i do that. All I find when searching for this is the NEXTFIBERWORLD trick.
I've recently ported some code from VS2008 and AutoCAD 2010 and realized that the eNotNewlyCreated exception continues to be raised when inserting blocks in a loop using AddNewlyCreatedObject in code that I'm pretty sure is only being called once.
I wrote some stand+alone application (WinForm=, where user can specify dimensions.Now after button click I want to switch form to current AutoCAD file and prompt user to specify point.
From this point I want to start drawing few lines.And I don't know how to switch to AutoCad and get current drawing space.
I'm just setting myself up on a new PC, and updating a few things along the way. I've gone from VS2005 to VS2010 express, and migrated my projects along the way. The migrated projects worked OK, but I've just started a new project and I can't figure out how to add a start up application for my project.
On the Debug tab in Project Properties, there's no option for startup application like there was in VS2005
Inventor CAD Administrator || Autodesk Inventor 2012 Certified Professional Autodesk AutoCAD 2012 Certified Professional|| Bachelor of Technology (Mechanical)
I migrated to a new computer with INV 2013 and the reference for Inventor does not appear in the list. I've tried reinstalling and also I've manually loaded the dll (Autodesk.Inventor.Interop.dll) but the GetActiveObject command cannot connect to Inventor.
I am using .Net API's with AutoCad 2011. I am using "Calibri" Font in my WinForm Dialog Box with a height 9.75. Loading the dll and functionality is perfect. No issue is there.
BUT, Now the problem is, whenever I am opening that form in AutoCad, the labels of that form is changed as the AutoCad substitute font for missing font files (in my PC it is "simplex.shx") !! But in Combobox, Treeview, Listboxes the same font is used and it is perfect there. Problem is only in the Label. I wonder why this is happening. I used a table layout panel in my form with 3 rows and 4 columns. Now placed the label in one cell of that table layout panel. In fact I placed the combobox, listboxes are also in other cells of that table layout panel.
inside the <PropertyGroup Label="Globals"> node. I switched Platform Toolset from v100 to v90.
Then I launched AutoCAD 2012, loaded my arx solution in VS2010 and from the Tools menu, Attach to Process… I tried to select Attach to Managed v3.5 but it does not exist! All I see is Managed (v2.0, v1.1, v1.0) code or Managed (v4.0) code.
Am I the only one having this much fun with debugging? After sifting the internet I found no similar issues.
I'm using visual studio 2010 and autocad 2012 x64. When I make (visual) changes to a form in the editor between debugging, for example the width of the form, the changes aren't visible on next debugging, it's still the same width as it was before. Same thing for font size, when changed the changes are not showing when debugging again. Almost seems like autocad remebers the previous layout of the form. A new control added between debugging shows up fine.
I tried a lot of sample (mostly from spidernet) using EntityJig. My problem is always the same: I can't walk through "protected override SamplerStatus Sampler" method by single step debugging. If a Break Point inside this overritten method is reached, a new tab "No source available" is shown and debugging stops.
I need a winform control like photoshop in my project, yet it don't like so complex like phote shop, what I need is edit image, room out,zoom in,draw text, rect, change its color and so on, also user can move the object they created
I am moving from VBA to VS2010/12 and I am having my first problem
Firstly, I read that I should install AutoCad 2013 DoNet Wizard to be able to compile and debug my code. After install it I managed to "debug" when I set the brakepoint but I couldn't change the code while debugging...
I did a fast search in this forum and I found some similar issues but they where old posts (before C3D2012 and VS2012). So, is it possible now to edit code while debugging as I was able to do in VBA? This will save me a lot of time. Mostly in my case once I'll make a lot of beginner mistakes...
In some post I found that we should install a virtual machine and run in 32bits mode to be able to edit. This is the best solution?
When running VS 2010 express in debug mode, for either AutoCAD 2010 or 2012, 64 bit, AutoCAD gets slower and slower loading with each subsequent debug session until it becomes intolerable. A system restart is necessary. Is this normal? I see this on a fast machine with tons of ram. During the waits there are patches of white screen in the various AutoCAD interface components. The performance hit is exponential with each session. The first debug is normal, The second is slightly slower. The third is noticeably slower and so on.
I am incurring a fatal error while i am running a plugin i have developed in .NET. I am using AutoCAD 2012 and .NET 4.0. Where the fatal error occurs is when i am filtering a list for specific colors and specific linetypes to populate a listbox with. I did a quite a bit of reading and the only thing i have found is ( in debug compiler is giving a little more memory space for said collection and when i run it in outside of debug it is not. ) Now i dont really understand how to fix this issue or can verify that it really is the issue. is there some type of setting i can change inside of autocad for debugging so it doesn't completely shut down?
Dev env: AutoCAD 2012, VS 2010, ObjectARX.Net 2012
A simple windows form command dll to test within the VS2012 + AutoCAD 2012
Bug: when debugging with VS2012, the first command runs fine and I can debug it with breakpoints etc etc. However, after the first debugging session, if I try "File"->"Open" or "New", file dialog will popup and then my AutoCAD 2012 crashs.
It won't happen if I compiled the dll, and load directly from AutoCAD independantly running instance.
Since my Windows-7 PC went to the shop for a clean up following some suspect virus my CS5 Photoshop seem to have some components missing. I can get into CS5 (I had upgraded from CS3 earlier in the year and now I can't get into CS3 even though the icon is still there.) and upload a photo and use the basic tools but I can't use a lot of the ACTIONS: i.e. I get error messages like The command "Feather" is currently not available or "The command Channel Mixer is currently not available"
I am running AutoCad 2013 LT on a Windows 7 O.S. , 32-Bit, 4gb ram,. After I installed Service Pack (2), getting memory error and crash. Tash manager shows a Acbrowserhost.exe--memory consumption thatcontinuously increases. A co-worker can open the same drawing in AutoCad 2011 LT with no issues. Before the Service Pack was installed, I wasn't having any issues.
I isolated 2 layers in a drawing. While working on those 2 layers being isolated, I again isolated one of those 2 leaving 1 layer. I executed the LAYUNISO command which brought back the last layer (that I had isolated after executing my first LAYISO command), but did not unisolate all of the other layers that were isolated during my first LAYISO command. I attempted using the LAYUNISO command again, but it still remains with only those 2 originally isolated layers and I cannot unisolate the other layers. I have also tried the LAYON command. All of the other layers are on and are not frozen.
I'm using C3D 2014. I created a pipe network, exported it to Hydraflow Storm Sewer, perfermed an analysis, and have HGL/flow data. When trying to import the .STM file, nothing happens. Here's what it does:
1) Import .STM into a Blank/New Drawing -> Creates a pipe network with correct IE, Size, and HGL/Flow Data
2) Import .STM into design drawing -> Choose to Update Network -> No change in network (IE, HGL, etc.)
3) Import .STM into design drawing -> Choose to Create a New Network -> Does not create a new network
I've tried closing C3D, and checking, still no change.
I have just updated to Map3D 2014 and work in 2D Drafting Workspace. In 2013, the export button was located in the Map Drafting tab, Map Output panel. In earlier versions it was under output tab as map 3d export. However, its position in 2014 from 2013 has been replace by a "To FDO Connection". it directs me to the older location of under the output tab - map data transfer - map 3d output, however this does not seem to exist. The only panels I have there are Plot and Export to DWF/PDF, no map data transfer. I can find it if I switch to Map Drafting Workspace in the Map Drafting pulldown - inport/export - export, or if I use the command "mapexport", but from both it only asks where and what to name the file and what type (shp, tab, etc), and then the routine stops and goes back to the drawing instead of opening the dialog to select objects, etc. Some of my clients insist on shp files.
Autocad LT 2014 works fine when one dwg is open, but after opening a second dwg autocad becomes 'selectively sluggish'. By 'sluggish' I mean panning and zooming are choppy, and switching between paperspace layouts is painfully slow. By 'selective' I mean that the program is slow only when working on the second drawing; I can toggle over to the first dwg that was opened and normal functionality resumes. These are not big files, there are not underlays or xrefs or crazy hatches/dynamic blocks/etc. It happens when working locally or off of the file server.
The only way I can have two drawings open and work normally is to open two instances of Autocad LT 2014 and have a drawing open in each -- then, I can switch back and forth as usual, with normal speeds.
running autocad 2014 lt in windows 7. I ran trail program which was prefect. When I downoaded the program from a CD the screen is fadded or pale. How can I get black screen with shape images?
In my AutoCAD 2014, after selecting a grip on an object or a point it will snap to other grip points even when osnap is turned off. Is there a command or variable to turn what appears to be an auto grip snap function off?
on my initial start up, after installing the program, i've been getting this fatal error, "FATAL ERROR: Unhandled access violation reading 0x0000 exception at 92af22dh". I un-installed and re-installed and it still occurs. can't open the program. I'm using windows xp.