AutoCAD .NET :: Changes To Form Not Visible While Debugging?

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


ADVERTISEMENT

AutoCAD .NET :: No Form Visible In 32bit Compiled DLL

Apr 10, 2013

I have an application that I have built that runs fine in AutoCAD 2013 in Win7. I need the same application to work in AutoCAD 2013, XP- 32-bit.

I am using Interopp.dll and Interop.Common.dll that I know are specific for each 64-bit vs. 32-bit. So I changed thoses references and recompiled.

In the XP version, I get no errors when I load the .DLL, however all I get when I execute the command is a tab along the bottom, no form pop's up.

View 4 Replies View Related

AutoCAD .NET :: Debugging ARX Application

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</TargetFrameworkVersi​on>:  
<PropertyGroup Label="Globals"> <TargetFrameworkVersion>v3.5</TargetFrameworkVersi​on> </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

AutoCAD .NET :: Why Is Debugging Process Slow

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

AutoCAD .NET :: Jig - No Single Step Debugging?

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

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 View Related

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.

View 5 Replies View Related

AutoCAD Inventor :: Debugging 2012 Addin With VS2010

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

AutoCAD .NET :: Gets Slower When Loading For Each VS 2010 Express Debugging Session?

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

AutoCAD .NET :: Incurring Fatal Error While Running WPF Plugin But Not While Debugging

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

AutoCAD .NET :: 2012 Crash During Debugging Session With Visual Studio 2010

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

InDesign :: Submit Form Button Doesn't Work In Interactive Form Opened In Reader Created In 6

Oct 8, 2012

One of the features I was really looking forward to  in CS6 was creating fillable forms with ONE application. I created a form following the step by step instructions in classroom in  a book for CS6.  When I opened the exported form in Reader X, I get a "This operation is not permitted" error. I opened the completed "end" document in the lesson to make sure  I didn't commit an error, and I got the same message when exporting. I have looked for places in menus to modify security restrictions and I can't find any. I installed the updates and that didn't solve the issue.
 
I saw one solution posted which is to open the document in Acrobat, then do a "save as" option.   Is there anything we can do that doesn't involve buying additional software? If this is not the case, then Adobe seriously needs to change its training and advertising about this functionality.

View 11 Replies View Related

Photoshop :: Components Seem To Be Missing From CS5 Since Debugging PC

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

AutoCAD Inventor :: Form Picture - Parameter Driven Picture On A Form

Apr 10, 2013

I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.

I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...

Is there a particular reason why the Picture Parameter only can be a text parameter?

View 2 Replies View Related

CorelDRAW Graphics Suite X6 :: Apply Color To Form Command Button Loop Form Controls And Save And Get The Color From Registry

Sep 25, 2012

In this lesson we will consolidate code to prevent code reuse. Follow along as we demonstrate by doing the following and more:

Apply a color to a form command button, loop form controls, and save and get the color from registry

Part 2 of  7

cs_setInnerHtml('video_43f4e134-ee93-489d-ba2f-80042d243821','');

[URL]

View 2 Replies View Related

AutoCAD .NET :: How To Using Modeless Form

Nov 26, 2013

I want to AutoCAD do not lock it's space, when my Form is shown on display. But I have an exception when I use modeless dialog.

public void MyCommand ()
{
//-------------------------------------------------
// Using this code, my program works fine, but locks modal space of AutoCAD
System.Windows.Forms.Application.EnableVisualStyles ();
System.Windows.Forms.Application.Run (new  Form1 ());

  // I want to use this instruction to do not lock modal space
  // Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog (new Form1 ());
  //------------------------------------------------- 
}

If I use modeless dialog I can read and write from acad prompt and create block; BUT I can't create BlockReference. 

I get an exception "eLockViolation" in the next code instructions:

//------------------------------------------------------------------------------------------------------------------------------

public void CreateBlockReference (string strBlockName, Point3d Origin) {
using( Transaction t = db.TransactionManager.StartTransaction () )  {
BlockTable btTable = (BlockTable)t.GetObject (db.BlockTableId, OpenMode.ForRead);  // <--- EXCEPTION

[Code] ..........

View 2 Replies View Related

AutoCAD .NET :: How To Restore A Form In C#

Nov 7, 2012

Visual Lisper trying to migrate to .net! how to restore a form?

I have an "about" project which contains 3 forms.

Form1 is displayed by default when the command is called...it contains two buttons which both close form1 & open form2 or form3. What I would like to happen is that when form2 or form3 is closed, form1 will be restored.

This is the code which defines the command & shows form1:

<code begins>
[CommandMethod("EzAbout")]
public void EzAbout()
{
Form1tvf1;
tvf1 = newForm1();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf1, false);
}
<code ends>

This is the code from the button on form1:

<code begins>
private void button1_Click_1(object sender, EventArgs e)
{
this.Close();
Form2 tvf2;
tvf2 = new Form2();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf2, false);
}
<code ends>

This is the code behind the close button on form2...trying to restore form1 (it closes form2 but does not restore form1)

<code begins>
private void closeButton_Click(object sender, EventArgs e)
{
this.Close();
Form1 tvf1;
tvf1 = new Form1();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf1, false);
}
<code ends>

View 6 Replies View Related

AutoCAD .NET :: List Dot Paired To Form

Apr 18, 2012

I try to make a form with à list dot paired:

(("mscorlib.dll" . "2.0.0.0") ("AcdbMgd.dll" . "18.0.0.0"))

A simple form with 2 column and a windows not fix, expandable !

My problem how to transfert list to .net (VB) ?

View 6 Replies View Related

AutoCAD Inventor :: Way To Get Columns In Form

Jul 27, 2012

Is there a way to get columns in form? I would like to put

Hole F Type { List the types}  Hole F Location {input box}
Hole N Type { List the types}  Hole N Location {input box}
Hole G Type { List the types}  Hole G Location {input box}

If not this form will be off the monitor.

View 9 Replies View Related

AutoCAD Inventor :: Get Value From A Control At VBA Form

Apr 4, 2013

I'm trying to enter a model parameter value with a VBA form, but I don't know which type of control to use neither how to write the code. I want to enter a number or a value with any control and use this value for modify a model parameter.

I have a simple code with a line:

oModelParams.Item("z").Value = 25

I want to make something like:

assuming that "TextBox1.Value" is a numeric value obtained with a control at the form

oModelParams.Item("z").Value = "TextBox1.Value"

View 1 Replies View Related

AutoCAD .NET :: How To Make Codes Form VBA

Aug 3, 2011

I am new to VB.net and I just wondering if it is possible to use some codes that we use in VBA into VB.net , things like this .
 
Public Sub AddTheCircle() Dim p(0 To 2) As Double, r As Double p(0) = 10: p(1) = 50: p(2) = 0 r = 150 ThisDrawing.ModelSpace.AddCircle p, rEnd Sub

If not , so how to start with VB.net parallel to Autocad ?

View 7 Replies View Related

AutoCAD .NET :: Get Dimension In Custom Form

Feb 22, 2012

Am into Customization of AutoCAD and the project which I am doing is almost completed. There is a small problem. When i double click on Line Dimension i should get a form to change together Line and Dimension, like we have in Inventor. 

Am using C#.net 2010.

View 1 Replies View Related

AutoCAD VB :: Why Can't Zoom Or Pan When Form Is Active

Dec 20, 2012

When an macro of a Lisp is active I can zoom and pan in a drawing. I press Escape to quit.Why can't I do that when a form is active in vba? Is that only because Showmodal is on?

View 1 Replies View Related

AutoCAD Inventor :: Get A Form Onto The Ribbon?

Sep 26, 2013

how I can get a form onto the ribbon or create a custom Icon to run it.

I have read up on afew forums that VB needs to be used in order to achive this but I want to double check.

I dont have VB but if it is the only way to get this to work I will download it.

View 1 Replies View Related

AutoCAD .NET :: Force Modeless Form To Keep Focus?

Mar 20, 2011

how I could force a modeless form to keep focus.  There is a sample on the ObjectARX docs but I can find anything for Dot Net.

View 3 Replies View Related

AutoCAD Inventor :: Global Form Location

Nov 6, 2012

Ok so where are Global Forms saved in 2013?

Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB

View 3 Replies View Related

AutoCAD .NET :: How To Create A Form And Send A Command

Sep 5, 2012

I don’t often used VB.net but I would like to know how I can create a form with a button that will send a command to AutoCAD. I’ve goggled but get nothing near enough to what I find understandable.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Form Trigger

Nov 29, 2012

I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.

my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited.... 

Is there a snippet of code for this? Or is it even possible?

View 2 Replies View Related

AutoCAD Inventor :: Minimizing Groups In A Form

Dec 10, 2013

I am creating a large form.  The goal of the form means I am unable to break it down into smaller forms as there is a great deal of interaction between all levels of the form.  

One of my first fields is a multi-value field (Foundation Type) with four options  (None, Slab, Piers, Wall).   Three of those options have a group of fields lower in the form with between 1 and 5 fields.  

(Multi:Value Option: Example of fields specific to that option)

Slab: Thickness, Edge Depth, Edge Width
Piers:  Diameter, Depth.Offset
Wall:  Footing (T/F), Depth, Width,   

 I currently disable all of the groups of fields that are not part of the active option in the primary multi-value field throught the (Enabling Paramter Name) option with a rule.   This keeps the user from entering values that affect a Foundation Type that is not currently active, but the disabled fields take up a lot of room on my form and may confuse end user less familiar with the system,

The group function in the form has a minimize toggle next to the group name, but the Form Editor does not show any options to manipulate this toggle.    Is there a way to automatically toggle this minimize/maximize function through a rule or other means)?  Or are there any other means of hiding form fields that are not currently enabled?

View 2 Replies View Related

AutoCAD .NET :: Can't Capture Key Events In Windows Form

Mar 15, 2012

I have created a basic add-on that shows a modal windows form. The only issue I am running into is that I am completely unable to capture any key events in the form. I just want to make the escape key close my form, but I'm having no luck. Here is my basic setup:

 <CommandMethod("myCommand")> _Public Sub myCommand() Dim myForm As Form1 = New Form1Autodesk. AutoCAD. Application Services. Application.ShowModalDialog(myForm)End Sub

Then in the form code, I have this, for testing purposes:

Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress MsgBox("keypress") End Sub
 
I've also tried KeyUp and KeyDown. Key presses are working inside the form (I can use the keyboard to select an item in a combobox, for example), but I never hit the event handlers.

View 4 Replies View Related

AutoCAD .NET :: Set Focus To Main Window From Form?

Dec 7, 2013

How to switch focus to AutoCAD document window from my form of C# .NET plug-in.

After user pressed the button, I invite him to input a point, but my form still on top.

And it is nessesary to press minimize button, next to set a Focus on Autocad window, then to pick a point.

It is not handy enough.

I did not find a property to set a focus in class of Application.MainWindow.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved