AutoCAD 2010 :: Open And Create A Drawing In 2012 From Visual Basic 2010

Jul 1, 2012

I'm doing a program in Visual Basic 2010. In one of the forms I put a button that when clicked must open AutoCAD 2012 and make a drawing in it. The user will decide where to save it.The steps are these:

1. I added the references Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common to the Visual Basic Project. That's OK.

2. I wrote this in the heading of the form's

- Imports Autodesk.AutoCAD.Interop
-Imports Autodesk.AutoCAD.Interop.Common

3. In the event Click of the Button1 I put this:

    Dim acadApp As New AcadApplication 'Create an instance of an AutoCAD Application
    AcadApp.Application.Visible = True 'Show the instance of the AutoCAD Application
    Dim acadDoc As AcadDocument 'Create an intance of an AutoCAD Document
    acadDoc = acadApp.Documents.Open("C:Respaldo TesisDibujo2.dwg") 'Open a Document called Dibujo 2
    'Draw a line
    Dim PT1(2) As Double
[code].....

View 2 Replies


ADVERTISEMENT

AutoCAD 2010 :: 2010 Through 2012 Freezing When Using Open - Windows 7

May 23, 2012

I recently loaded several versions of AutoCAD on to a Windows 7 machine.  ALL versions will open a drawing if double-clicked from windows explorer, but if I try to open through AutoCAD, the program freezes as soon as I click on the "Open" button.  This is true for AutoCAD 2010 through 2012.

Machine Specs:

Dell Optiplex 990
250GB HD
8GB Ram
I7-2600 proc
AMD Radeon HD 6670 (1Gb) Video Card

I also cannot open multiple instances of ANY version of AutoCAD in Windows 7.

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

AutoCAD Inventor :: How To Prepare Visual Studio 2010 Express For Use With 2012

Aug 28, 2011

I'm looking for the complete instruction set prepare Visual Basic Studio 2010 Express to program Inventor 2012 Professional.

At the moment, all I've done is to install VB Studio Basic 2010.  If I'm not mistaken, don't I have to "configure" VB 2010 Express so it can be used with Inventor 2012?

View 5 Replies View Related

AutoCAD 2010 :: Suddenly Unable To Open 2012

Jan 10, 2012

when I try to open the program I get this message:

The application failed to initialize properly (Oxc0000034) Click on OK to terminate the application.

View 9 Replies View Related

AutoCAD 2010 :: Save Xrefs In Drawing In 2012?

Jun 16, 2011

How do I save xrefs in a drawing in Autocad 2012? 

I´ve been using eTransmit command in previous versions, now that I´ve switched to v2012 there´s no longer support to save all dwg xrefs as dwg references in the eTransmit popup window. My dwg xrefs are instead attached as blocks.

View 9 Replies View Related

AutoCAD 2010 :: 2012 Slow To Open And Save Drawings

May 9, 2012

Autocad 2012 was working fine until a week ago when it started taking a long time to open drawings--even search for drawings on our network.  It also takes at least 30 seconds to save files, where it used to take 5 seconds at most. 

I found the AutoCad 2012 and AutoCad LT 2012 SP1 Ribbon Hotfix, which sounded like my problem, but it is for Product Version F.107.0.0 and I have Product Version F.51.0.0.

View 5 Replies View Related

AutoCAD 2010 :: 2012 Open File Navigation Error

Mar 13, 2013

Using AutoCAD 2012 SP2 on WinXP.

On a file server, when a folder permission has been set to "deny delete" we cannot navigate to that folder in the open file dialog box.

View 3 Replies View Related

AutoCAD 2010 :: Drawing Circles On Angled Piece In 2012 In 3D?

May 14, 2013

I am trying to draw a circle on an angled face on a valve I made, and am not too sure of the best way to do it.

Here is a front view showing the angle. I need to use the face at the top that is on a 22* angle or so

[URL]

Here is a top view showing the 10 holes I need to make at the proper angle. The blue lines are showing where each of my holes will need to be with a fitting on it as well

[URL]

View 3 Replies View Related

AutoCAD 2010 :: 2012 - Turn Off Accudraw That Pops Up When Drawing A Line?

Aug 13, 2013

Just upgraded from 2010 to 2012. How do I turn off this new "accudraw" that pops up when drawing a line?  And can I disable it permanently? (accudraw is the only thing I can equate it to).

View 2 Replies View Related

AutoCAD 2010 :: Get Sheet Set Manager To Open Up Each Time Open Drawing?

Jan 7, 2013

How do I get my Sheet Set Manager to open up each time I open a CAD drawing? I turned it off and can't remember how to turn it back on. I use command SSautoopen, set to 1 but doesn't alway work. Sometimes if I close AutoCad and reopen it I can got to drop down menu and click on .dst extension and it will open but if I close out of it it won't open again unless I restart AutoCAD. I thought I used a command from the Express Tool menu but can't find it.

View 3 Replies View Related

AutoCAD 2010 :: Cannot Create Deployment Building Design Suite 2012 Premium

Feb 10, 2012

 I been trying to make a deployment of Autodesk Building Design Suite Premiun 2012 from

a pc with XP 32 Bit, XP 64 Bit, and  Windows 7 64 Bit and  the aplicaciton stars well but then after a couple minutes.  I got this error. 

Cannot create deployment - "The copy functions cannot be used D:x86RAC2012

View 2 Replies View Related

AutoCAD 2010 :: Open Drawing Order

Jan 22, 2013

Here is what's happening:

When I open more than one drawing the second drawing that I open does not show (but is opened) I see the first drawing that was already open. If I open a third drawing, the same thing happens the first drawing shows ( but the second and third are both open).

Is this something to do with changing the Quick View Drawings Order? 

View 1 Replies View Related

AutoCAD 2010 :: Can't Open Saved Drawing

Mar 28, 2012

Everytime I try to open my saved drawing, it just opens autocad 2012 with drawing1. I've been working on this drawing for weeks, and have saved and opened it many times without problem, and was working on it this morning and saved it again. Now, i've come back and it will no longer open. I can open other saved dwg files no problem. I've tried renaming the .bak file as a .dwg but that still won't work.

View 5 Replies View Related

AutoCAD 2010 :: Drawing Will Not Open Objectscale Window

Nov 12, 2009

I have a drawing that will not open the objectscale window (annotative scale add/delete). I either select from the right-click menu, or type in objectscale, and nothing happens. I opened a new drawing and the function worked fine in that one, just not in my existing drawing...

View 2 Replies View Related

AutoCAD 2010 :: Workplace Resets When Open New Drawing?

Apr 11, 2013

Every time I open a new drawing(without closing AutoCAD) my workspace resets ea time and I lose all toolbars and settings.

Using AutoCAD 2012

View 4 Replies View Related

AutoCAD 2010 :: Profile Added But When Open New / Other Drawing It Changes?

Nov 7, 2012

We currenlty have our profile loaded but when I open another drawing it changes the layout of the tools in my profile. I then have to reload the profile and all the tools come back to what we want. Why is this happening everytime I open a new/other drawing ?

my profiles are loaded via options see jpg attachment.

View 4 Replies View Related

AutoCAD 2010 :: Amount Of Time A Drawing Has Been Open

Jan 2, 2013

I seem to remember a command that you could input which would show you detail info about when a drawing was originally open and how much time it the drawing had been open. But of course I do not recall what the command was. 

View 6 Replies View Related

AutoCAD 2010 :: Way To Open A Drawing Saved In 2011

Jul 22, 2012

I there a way to open a drawing saved in 2011 ver,into a 2005 ver.

View 1 Replies View Related

AutoCAD 2010 :: Missing Shx Files When Open Drawing - Specify Replacement For Each

Jun 14, 2012

when I open a drawing that's missing an shx file I get a dialog box (see attached).  I put a check mark in the "always perform current choice" item and select the "Specify a replacement for each shx file".  I assume this replaces the missing shx file with the default shx file.  But if I send the drawing to someone else they get the same message.  Did the shx file not get replaced or do I need to do something further?

View 4 Replies View Related

AutoCAD 2010 :: Can't Open Drawing File - Program Not Responding

Mar 22, 2011

keep getting program not responding message when I try to open a drawing.

View 9 Replies View Related

AutoCAD 2010 :: Unable To Open This Drawing / It Contains Incorrect Or Corrupted Information

Jun 6, 2012

(Running AutoCAD 2010 on Win 7, Core i7, 8 GB RAM. All AutoCAD 2010 service packs are up-to-date)

I have a drawing file that keeps giving me this message when I try to open it :

"Unable to open this drawing.It contains incorrect or or corrupted information.The RECOVER command may be able to restore undamaged material from this drawing."

When I recover the file I sometimes get a message that 1 error was fixed, sometimes no errors were detected. Either way, when I close it, and try re-opening (whether or not I SAVE it first), I get the same message. I have tried RECOVERALL, AUDIT, AECTOACAD (those AEC objects can be a problem) and tried changing the AutoCAD version it saves to (eg 2007). None of this works. I also discovered that if I WBLOCK the entire drawing it fixes it for ONE reopen, but becomes corrupted if I save it. This drawing is used as a 'template' (not a .dwt, just a "starting point") for other drawings, so the corruption is spreading.......

I am upgrading to a newr version of AutoCAD soon (hopefully that will fix it?), but this is really slowing down produciton in the meantime....

View 2 Replies View Related

AutoCAD 2010 :: Create New MTEXT In Drawing - Changing Set Width?

Jun 26, 2012

When I create new mtext in my drawings I normally like to have a zero width.

Instead I'm creating new mtext and it has a set width that I am unable to change in the properties window.

I have no problems with changing the justification point.

Is this a setting that I can change?

Plus is it posible to change the default so that I don't have to worry about changing it every time?

View 1 Replies View Related

AutoCAD 2010 :: 2012 Crashing Whenever File Open / Save Or Save As Selected

Jun 27, 2013

I have the student version of AutoCAD 2012 on an HP laptop with Windows 7 Home Premium OS.  I originally installed AutoCAD in June of 2012.  It worked fine for 9 or 10 months but now whenever I select File/Open, File/Save, or File/Save As, AutoCAD stops responding and the spinning blue donut appears.  AutoCAD never comes back and I have to close it from Task Manager.  I uninstalled AutoCAD and reinstalled it, and the process went smoothly.  However I still have exactly the same problem with the File operations.  I apply Windows updates, but other than that have not made any changes to the software on the laptop.  AutoCAD works fine for everything except the File operations.  I am able to save with CTL/S and am able to open AutoCAD files from File Manager. 

View 3 Replies View Related

AutoCAD 2010 :: How To Avoid Nested References Reload Every Time Open Drawing

Feb 23, 2012

How to avoid nested references reload every time I open autocad drawing.  In some drawings I have twenty nested references.  I really need to avoid reload each reference.

View 1 Replies View Related

AutoCAD 2010 :: Unable To Double Click - Can't Close / Open Drawing In Recovery

Sep 25, 2012

The user is running Autocad 2010, and she was able to perform this function last week.  Nothing has changed, and a system reboot did not correct the issue. 

View 2 Replies View Related

AutoCAD 2010 :: Create New CTB File / Insure That Drawing Is Supported By Existing One?

May 26, 2011

How do I create a new CTB file OR insure that a drawing is supported by an existing CTB file? I have tried to start one from scratch using Plot window - when I click on file - it sends me back to MY DOCUMENTS. Is this a glich??

View 9 Replies View Related

AutoCAD 2010 :: Really Basic Sizing Of Objects

Feb 15, 2012

I'm coming back to Autocad after a break of several years and a lot of versions. I'm struggling to remember how to do basic things.

I've got a large drawing containing a lot of tiny hexagons on a layer and I need to increase the size of all of these at the same positions.

View 1 Replies View Related

AutoCAD 2010 :: When Open Large Facility Building Drawing - Mouse Is Jumping On Screen

Dec 17, 2012

When I open a large facility building drawing my mouse is "jumping" on the screen.

The resolution of the mouse does not allow me to select obejects on the screen because the mouse jumps in large increments.

I do not have this problem on smaller drawing, such as electrical schematics.

Is there a setting to increase the resolution of the mouse movemrnt id AutoCAD?

View 9 Replies View Related

AutoCAD 2010 :: Install 2012 And LT 2012 On Same Computer?

Mar 29, 2012

Is this supported by Autodesk, and will installing both products create any issues?

View 3 Replies View Related

AutoCAD 2010 :: Preventing PDF Viewer To Open Drawing File When Plotting To PDF File?

Mar 9, 2012

As an engineering company we have started to convert hundreds of our drawings from AutoCAD to PDF using a batch utility.

However every file that is converted into a PDF file is opened by a PDF Viewer. We want to prevent this.

I opened my *.pc3 file and removed the check from the appropriate box. See below

I press OK, then save the file and close. However when I reopen the file, I see the box for Openining in PDF Viewer has been rechecked. No matter what I do, I cannot permanently remove the check from this box.

View 5 Replies View Related







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