AutoCAD .NET :: Possible To Edit / Change Code While Debugging?
Oct 8, 2012
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?
View 2 Replies
ADVERTISEMENT
Feb 15, 2013
How to edit the member name in an iassembly table using code? The Part Number and Description iproperties are easy to handle. But I am stuck on how to access the member name and edit it. I guessed at some methods, but keep getting errors.
View 4 Replies
View Related
May 16, 2012
I have the following code in a toolbar button that when I click on a setup within this tool it imports that setup into my current dwg. How to edit this code so that it will continue to import the setup of choice into the new drawing..but in addition....set the new one current & delete all previous setups that were in the drawing?
^C^Cfiledia;0;^Rpsetupin;"K:/_BARONE TEMPLATE FILE-2012/BARONE_PAGE_SETUPS.dwt";filedia;1
View 9 Replies
View Related
May 17, 2012
i'm looking for the ui and code to edit the way maya will sort influences in the paint skin weights tool. currently the sorting methods are kinds insufficient. Ideally i would like to be able to sort by locked , and have the ability to make painting sets so i can work on specific areas at a time.
View 1 Replies
View Related
Nov 1, 2012
i have just treid the trial version of photo 11 when i decided to unistall the trail version my old version 8 will not let me edit any photos with the error code 150:30
View 3 Replies
View Related
Jul 31, 2012
I’m unable to debug my arx. For context, I'm on Windows 7-32bit; Visual Studio 2008 SP1 and 2010 SP1 are both installed.
I modified the project file (.vcxproj) by adding
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>:
<PropertyGroup Label="Globals"> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> </PropertyGroup>
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.
View 1 Replies
View Related
May 6, 2013
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.
View 2 Replies
View Related
Jul 15, 2012
Converting my apps from .NET 35 to .NET 40 was not too painful except for the debugging speed! Why is AutoCAD 2013 so slow....
Should I be building my apps on a 32bit box and then do the final build on a 64bit box?
View 1 Replies
View Related
Nov 27, 2013
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.
AutoCAD 2013, Visual Studio 2013, c#
Same with protected override bool Update().
View 1 Replies
View Related
May 14, 2012
I am copying chunks of code from the My First Plugin tutorial and am using the code that opens Inventor to start the form. I have both Inventor 2012 and 2013 installed on my system. I have gone in to the properties and changed the .dll reference file to read out of the bin/PublicAssemblies folder in 2013, however, when I run my Windows Form, it will open Inventor 2012 instead.
View 2 Replies
View Related
May 31, 2013
<Subassembly document name>” = iProperties.Value("Custom", "CUSTOMER P.O. NUMBER") iProperties.ValueInDoc("<Subassembly document name>.iam", "Custom", "CUSTOMER P.O. NUMBER")= Ucase(InputBox("CUSTOMER P.O. NUMBER?", "Create Customer P.O.#", iProperties.Value("Custom", "CUSTOMER P.O. NUMBER")))
View 3 Replies
View Related
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.
View 5 Replies
View Related
Sep 18, 2012
I am trying to rewrite Curtis Waguespack's ilogic code to modify drawing view labels from this post http: [URL]...
The completed label should appear like this
<Description> - Mk <Part Number>
Est Unit Mass = X kg
(Scale 1:1)
At this point I have 2 problems
1. I want to add the physical mass to the second line and would prefer to use the calculated physcial property rather than the a custom iproperty. If editing the view label, it would the property access under physcial properties.
2. I want to rewrite the code so it is selective or per view - in otherwords, I only want it to modify a single view I select once the code is run. At this point I know I need to remove the For loop but I dont have a clue as to how to make it selective.
'start of ilogic codeDim oDoc As DrawingDocument: oDoc = ThisDoc.DocumentoModel = ThisDoc.ModelDocumentDim oSheets As SheetsDim oSheet As SheetDim oViews As DrawingViewsDim oView As DrawingViewoSheets = oDoc.SheetsFor Each oSheet In oSheetsoViews = oSheet.DrawingViews For Each oView In oViews oView.ShowLabel = True
[Code] ......
View 5 Replies
View Related
Jun 20, 2011
I cannot debug an addin for Inventor 2012 from Visual Studio 2010 professional on Win7 64.
I started with a new “Autodesk Inventor Addin” project
Set debug “Start external program” to inventor
Added a form and called it from StandardAddInServer.Activate sub
IF I debug from here inventor starts but form does not open. Addin not loaded.
Move *.addin file to Inventor addins
Now when running debug, form opens but breakpoints do not work. VS reports no errors on build.
View 9 Replies
View Related
Aug 27, 2013
How could I read / change prompted entry through code from title block (for example DIN) within VB.Net?
View 3 Replies
View Related
Aug 27, 2011
How to change the color of layer that will be used within a drawing files for special purposes.
Ideally the code will make the color Red, but change to Black prior to printing.
The "logic" behind the code currently is to differentiate a layer called "Burn" to a highly visible color for the purpose of review by others then, prior to printing, change the color to Black. The firm I'm currently working for uses gray-scale B sided printers only. The firm currently uses Blue for dimension and extension lines so to produce drawings that portray both type of objects "lightly".
View 2 Replies
View Related
Feb 9, 2012
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.
View 3 Replies
View Related
Nov 18, 2013
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?
View 6 Replies
View Related
Jul 14, 2011
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.
View 2 Replies
View Related
May 21, 2013
This has been a little annoying when trying to work on my edge animate projects. As I am using an old 4:3 ratio as my monitor - I don't have a lot of space on my desktop. Whenever I want to insert or edit code in Edge, the code menu pratically takes up my whole screen.
As you can see the font is still large even when it is on 'small' font size. Is there anywhere to change this or do I have to go digging manually into Edge's files?
View 2 Replies
View Related
Oct 20, 2012
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"
View 21 Replies
View Related
Aug 4, 2013
PhotoShop CS5.5: I'm trying to change the color black in a simple, scanned logo to green. I can't get the fill to accept the CMYK formula.
View 1 Replies
View Related
Feb 25, 2012
I have two parts, one uses some parameters from another one by link.
Now I have copied both and need to update ties between copies since a copy still has a link to original part.
Seems like there is no possible to just change or edit a link from one part to another in Parameters window.
Instead to update a new link I should clean all borrowed parameters in all sketches, delete the folder, make new link and set all parameters back. is it possible to change or edit the link in some easy way?
View 4 Replies
View Related
Dec 19, 2013
"Path has discontinuous segments. Use Edit Sketch to change the path geometry"
View 5 Replies
View Related
Mar 11, 2011
How do you change/edit command shortcut keys? For example, I would like to change the keyboard shortcut key for the command COPY to "C" instead of "CO" and CIRCLE to "CR" instead of "C" because I use the COPY command much more than CIRCLE and I'd like to maximize my drafting efficiency. In older versions of AutoCAD, you could open the acad pgp file and edit the info using "wordpad"; however, I have not been able to find that same file for this 2011 version.
My system is:
Gateway AMD Phenom II X4 820 quad-core processor 3 GHz
Windows 7 Professional 64-bit os
ATI Radeon HD 4250 graphics
640 GB hard drive
6 GB DDR3 memory
View 6 Replies
View Related
Sep 27, 2010
i have a drawing i recieved from some one else - that has an ACAD_PROXY_ENTITY in it that i cannot edit or explode or erase or change layer.
View 4 Replies
View Related
Jul 27, 2012
I am new to Civil 3D upgrading from LDD2009. I am trying to edit some point descriptions brought in through a fieldbook import through my survey database. Under my survey database in Survey Points I hit EDIT POINTS and it brings up the SURVEY POINTS EDITOR. My points are listed as white observed points but when I click on the description cell it won't allow me to change anything.
View 7 Replies
View Related
Jun 6, 2012
If I zoom in on a small detail in a large sketch and then issue the "edit sketch" command Inventor changes the view to where the origin is visible on the screen. Is it possible to disable this?
View 2 Replies
View Related
Jun 8, 2011
I just started using 2012. Two problems:
1- Somehow, in my current drawing, everything is layer-locked. There are no Xrefs in this very basic drawing. All layers are unlocked. Yet, any attempt to select any entities results in "x objects were on a locked layer". Again, all layers are unlocked. No Xrefs. No blocks. Just simple lines. All entities appear faded. This happened after viewing a layout in both paper and model spaces. Reviewing the text window shows no strange accidental commands.
2- There is a default set of viewport scales in the status bar at the bottom right. Default scales are all metric. I would like both metric and imperial. I see you can edit which exact scales are in a metric list, and which are in an imperial list. But how do you set what is displayed/available in the status bar button?
View 9 Replies
View Related
Sep 25, 2012
I am using a symbol that includes a several text boxes. Each text box includes "prompted text" and "drawing properties". When I insert the symbol onto a drawing, the "Edit Property Fields" menu appears. In this menu, I can input my prompted field text or see the various "drawing properties".
My question is, how do I change the order that these property fields are displayed? It seems as if it depends on the order that the text boxes were created while defining the symbol definition. Is there any other way to change the display order?
View 3 Replies
View Related
Dec 24, 2012
I am new to the Photoshop animation feature (in C.S. 5.5)., and I am having a problem. When I edit the layers in the second frame, the same changes occur in the first frame. If I add additional frames, they all change whenever I edit one of them. As a result, all of the frames are the same, which makes for a rather uneventful animation.
I have tried unchecking the "propagate frame 1" box, but that has no effect. What am I doing wrong? How can I limit the changes to the selected frame only?
View 6 Replies
View Related