AutoCAD .NET :: Access Drawing Database From A Different Thread

Sep 29, 2011

I'm experimenting with treadsafe progressbar, that would allow me to stop the process.

but for some reason, on this line

Dim _db As Database = AcApp.DocumentManager.MdiActiveDocument.Database

AutoCAD crashes with fatal error This runs on the new thread, so i suppose it has something to do with it, but i have no clue, why this should be a problem.

View 6 Replies


ADVERTISEMENT

AutoCAD Map 3D :: Connecting To Access Database Through ODBC

Feb 5, 2012

I'm using Windows 7 (64 bit) and I have to connect a file (.mdb) created with Microsoft Access 2007 to my Autocad Map 3D 2011 draw. I uninstalled Office, installed the AccessDatabaseEngine_x64.exe and re-installed Office. Then I followed step by step the process shown in the video here  with ODBC but it doesn't worked for me. It says "test connection succeeded" but when I attach the database, it comes up with a red "X" symbol next to it.

View 2 Replies View Related

AutoCAD Map 3D :: Rebuilding Access Database But Retaining Links?

Oct 1, 2013

My company has an access database that has all of our service data on it. I am currently considering rebuilding the database because it is a database with one table and a million fields. I want to split the database up into separate tables with relationships. All of these tables would be linked based on the same key field Service_ID.

Now here is the hard part. The data would be in a one to many relationship with one record for service info and multiple records per service for pipe info. The data is currently linked to objects in AutoCAD Map 3d 2014 based on the Service_ID key field and a "service" link template.

If i rebuild this database, am I going to lose all of my links? or will i retain the links? Also, is there a way to automatically generate links based on the service_ID field? For instance there are 3 records of pipe information for 1 service. Previously all of these records would be in the same table, but now the tables are split. Since they have the same Service_ID as the Service information, will the links show up?

View 9 Replies View Related

AutoCAD Inventor :: Getting Data From Access Database Using ILogic

Aug 2, 2010

I have a program that populates an access database with part parameters. Each Inventor part can look up its own parameter values from the database when supplied with a single parameter, the ID number of the database record. The ID number is derived from a blank part that the program also updates. So in a nut shell, the program populates the blank part's parameters with all database ID numbers that would make up entire assembly. Those parameter values are derived to all the parts in an assembly. This is by far the fastest most efficient way I've found to rapidly generate an entire assembly. In a matter of seconds I can have a new 1000+ part assembly.

 The rumor that Inventor will eventually sever ties with VBA has put this whole process in jeopardy. So I have been looking into using iLogic to perform the same task of looking up the data from Access. I know that iLogic has Excel functions built into it, but because the original program is Access based (changes this is not an option) any way to use iLogic to retrieve data from Access.

View 4 Replies View Related

AutoCAD .NET :: Unable To Access Block Reference In Database

Nov 23, 2012

I inserted a block from a dwg drawing with the following method:
 
public static ObjectId InsertBlock(string fileName, Point3d insPoint) { var acadDoc = Application.DocumentManager.MdiActiveDocument; var blockId = default(ObjectId); using (var acadLockDoc = acadDoc.LockDocument()) { var dbTemp = new Database(false, true); dbTemp.ReadDwgFile(fileName, FileShare.Read, false, ""); var blockName = Path.GetFileNameWithoutExtension(fileName);
[code]........

View 3 Replies View Related

AutoCAD Inventor :: Material Link To XML / SQL Or Access Database Possible?

Jul 11, 2012

This is my problem, each material in my cie. have a number code

EX.R069ARS407WLD35460

IT'S POSSIBLE TO LINK MY MATERIALS TO A XML, SQL OR ACCESS DATABASE???

View 1 Replies View Related

AutoCAD Map 3D :: 2012 - Refresh Access Database ODBC Connection?

Feb 17, 2012

Here is the Scenario, Win 7, 64 bit, Office 2010, and yes I have installed 64 bit drivers, with Map 2012.

I have an Access Database with Water and Sewer information.  I connect thru FDO and every thing is great.  I make a change or add something to the Access Data Base and I don't see the change until I disconnect and then re-connect?  I was under the assumption that this was a live connection? Is there a way to refresh the connection without having to dis-connect and then re connect?

View 1 Replies View Related

AutoCAD Map 3D :: Microsoft Access 2013 Database Not Compatible With 2014?

Aug 22, 2013

Recently our company upgraded to office 365 with Microsoft Access 2013. I cannot seem to connect to this new format using the task manager. We used to use quite an old version, 2003 I think with no worries. 

Am I doing something wrong or have the developers missed something quite fundamental to Map 3d?

View 4 Replies View Related

AutoCAD Inventor :: Read / Retrieve Information From MS Access Database Using ILogic

Nov 9, 2012

I am currently trying to retrieve data from a MS Access Database, we currently have iProperties with number values in them. An outside programmer created a code which takes these values and exports them to an MS Access Database, where they are then translated to mean something.

Instead of exporting those numbers, I want to use them to find what they ACTUALLY mean within the database and bring that information back into iLogic. (ie. 123456 actually means "1/4 Flat Bar Steel")

In short, I wish to access the MS Access database through iLogic in order to read information from it. 

I have searched for the better part of 3 hours but have not found a good answer or example code of this situation. I am not that experienced in programming, but have worked with the API before for developing Automated Drawings and have an understanding how to navigate through. If there were to be some example code, I can begin to understand the process quite well through this method as well by seeing how to go about coding this.

View 2 Replies View Related

AutoCAD Inventor :: Hole And Thread Dialog Box Show Different Thread Types

Oct 4, 2012

I'd like to use an "NPT" Hole Dialog thread but it doesn't show up in the Thread type list.But it does show up in the Thread Dialog/Specifications Tab/ Thread type list so it's available.

 I definitely have "NPT" in my Thread.xls & I have my Options/Files set to point to the correct Design Data folder.

Inventor Suite 2013 Ultimate

View 6 Replies View Related

AutoCAD Inventor :: Cannot Create Thread Hole (thread Option Is Grey Out)

Apr 22, 2013

My colleague installed IV2013. He has excel 2010 installed in his PC also. However he cannot create thread hole (thread option is grey out).

View 4 Replies View Related

Revit :: MS Access Database That Can Export Family Tables?

Sep 15, 2011

MS Access database that can export Family Tables? Or knows of a 3rd party application that all the type information can be houses in a database, and the family table's TXT is just an export. The family tables we create are nemorus, and lengthly family tabels, and Excel just is not cutting the mustard.
 
Or would Autodesk ever include this in Revit?

View 5 Replies View Related

AutoCAD Inventor :: Link Thread Data For The Thread Command

Jul 18, 2012

Autodesk Inventor 2013.

Could not find file C:Program FilesAutodeskInventor 2013Design DataXLS13XLSen-USThread.xls containing thread data.

View 3 Replies View Related

AutoCAD Inventor :: Can't Thread Holes With Thread Tool

Mar 1, 2011

I can drill a hole as needed, but can't thread a hole at all. Not with the Tapped Hole function when drilling the hole, or after drilling the hole then using the Thread Tool. Inventor will just not let me create threads this way outside of cutting a coil.

View 9 Replies View Related

AutoCAD Inventor :: Drawing View Thread Feature Used To Be On By Default

Dec 5, 2013

Is it just me, or did the Drawing View Thread Feature option get switch to default OFF, where it used to be on?  Did I do something on accident to make this happen? how I can get it back by default? 

Inventor Professional 2014
Windows 7, x64
Dual-core i7, 8GB RAM
NVIDIA Quadro FX 880M
HP Elitebook 8540w

View 2 Replies View Related

AutoCAD Inventor :: Changing Thread Format In Drawing File?

Jul 8, 2011

I am attempting to change the thread format in inventor under the dimensions style editor, but it is grayed out and does not let me select anything from the drop down box.  I want to display the thread information so it includes the unit.  For example, this is what it shows now:  1/2 - 14 NPT.   I want to change it to 1/2" - 14 NPT. What I need to do to be able to change the thread format in the dimension style editor?

By the way, I have a lot of drawings to do, so manually typing in 1/2" - 14 NPT will take sometime, so I am looking for a quick and easy fix.

View 7 Replies View Related

AutoCad :: Drawing NPTF Pipe Thread - Male And Female

Nov 10, 2012

I need to know how to draw an NPTF pipe thread, male and female. In 2D. Any good reference book would be welcome. An NPT thread differs slightly from that of an NPTF, but thats OK. I have AUTOCAD 2002. I am trying to update some of our drawings at work.

View 1 Replies View Related

AutoCAD Inventor :: Adding A Thread To The Thread.xls?

Jun 13, 2013

I am trying to add a thread class to the thread.xls. (that part is ok)

The thread is M26x2.0

I can't seem to find any information for me to simply plug in the values into the .xls, so I am thinking that I have to crunch some numbers. which is fine. I just want to make sure that this image below is the correct the reference for this task.

using the pitch, I should be able to calculate all my min and max values, but the xls has class column and a tap drill column, how would I determine these values??

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 6 Replies View Related

AutoCAD Inventor :: Show Thread Features In Drawing View By Default

May 1, 2006

When you have a part with a thread feature, the default setting should show the thread feature in the drawing view...rather than making the user right click the view and select "Display Thread Feature". I don't understand why this doesn't show up in the drawing automatically...it is, after all, a feature on the part.

View 3 Replies View Related

AutoCAD Map 3D :: Database And Drawing Edits At Same Time

Mar 12, 2012

Can you have a database and the dwg file open at the same time and not be in read-only mode?

For example: I have access database file open and editing it while in the dwg file with the graphical info that is linked to the database.

View 8 Replies View Related

AutoCAD .NET :: Updating Drawing / Database After Modifying It

Jun 30, 2012

I have written a command that replaces the given annotative scale of all objects in a drawing, with another annotative scale. Works great, except I can't remove the replaced annotative scale (with SCALELISTEDIT - DELETE button), unless I save the drawing and then open it again.

An annotative scale that is in use, can't be deleted. But since I can delete it after reopening the drawing, I am sure it is not in use anymore.

Is there a way to "refresh" the drawing/database, without reopening it?

View 5 Replies View Related

AutoCAD .NET :: Getting Database Object Of Drawing File?

Aug 8, 2012

How i can get Database object of Drawing file with out opening.

View 1 Replies View Related

AutoCAD 2013 :: Unable To Link Database To Drawing

Jul 31, 2012

I recently received a new computer with windows 7 and installed 2013.  I now cannot link my database to my drawing. 

View 5 Replies View Related

AutoCad :: How To Insert Hidden Line Into Drawing Database

Jul 13, 2013

I need to draw a couple of hidden lines into a drawing. I see that it is not in my database when I go to Modify/Properties, it does not exist. I am using either v 2000, or v 2007 if it matters.

View 5 Replies View Related

AutoCAD Civil 3D :: Survey Database Creation Using Drawing

Mar 14, 2012

I have an AutoCAD file which includes 3d points and lines which represent an existing ground survey. The scheme is approx. 8km and points are spaced in a dense grid. The survey was undertaken using aerial (Lidar) methods, before being rationalised using aerial imagary to identify linear features such as kerbs, fencelines, etc, which are included as 3d polylines. Items have been grouped by the surveyors and adopt individual cad layers and linestyles, etc.

Basically, I want to incorporate all of the points and all 3d polylines into my Civil 3d Survey database in order develop a roads design.

View 4 Replies View Related

AutoCAD 2010 :: Using Database Function To Report Objects Within A Drawing

Jan 1, 2012

My master drawing includes things like network information, drops, V-lans  and bandwidths,

I want to use a database to count various objects/blocks in a drawing. Ideally I want to write a macro button that enables me to export the information in the drawing straight into a database.

View 3 Replies View Related

AutoCAD Civil 3D :: Link Path Of Survey Database In Drawing

Mar 25, 2010

Is there a way to link the path of the survey data base in the drawing, so I do not have to set the working folder every time?

View 9 Replies View Related

AutoCAD .NET :: Difference While Doing Customization With Database / Without Database Services

Aug 6, 2013

I am working on the AutoCAD customization and doing the same by VB.Net & C#.Net. But I just want to know the difference as mentioned below:

1. Insert Block In AutoCAD

Using VB.Net without using DataBase services..Only 1 statement is required to Insert the Block objAcadDocument.ModelSpace.InsertBlock(Required Arguments are here) Using C#.Net with DataBase services

There are many statments are there to insert only 1 block..Like Start Transaction, Lock the document, Get the Object Id Block etc...So my quetion is that when I have to use DataBase services and when not 

what is the advantage of doing customization using DataBase services rather than go for wihout DataBase services.?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Search Database / Tables To Determine If New Layers Present In Drawing

Dec 6, 2013

Is there a way to search the database/tables/whatever to determine if new layers are present in a drawing?

I want to run a script to reconcile new layers in the sheet drawings after having cleaned the xref drawings, and the script bombs if there are no new layers present in the parent drawing.

If I could determine what triggers the layereval/layernotify sequence (tblsearch?) I could include an if or while lisp routine that would invoke the layer command and then reconcile the new layers.

View 9 Replies View Related

AutoCad :: Access To Move Tables And Chairs Around A Drawing

May 30, 2012

I am working in an events organisation that uses AutoCAD to do room drawings for clients. the Event managers are new to CAD and only need to have access to move tables and chairs around a drawing. So we have set them up with pallets.

I have created a profile with the workspace they need on the network, I having trouble getting the customised profile to come up as the default, instead the Vanilla profile comes up and I have to go into options to change the profile to the Company one.

Where do I need to change it so that it chooses the profile I have made first? or should I be doing this a different way?

View 7 Replies View Related

AutoCAD Inventor :: ILogic Access To Drawing Sheet Revision

Sep 27, 2012

how to access the drawing sheet revisions using Ilogic.My company is wanting to start making the default initial rev on a drawing a "-" and inventor does not like to keep this when brought in as a template.

So like normal I am trying to trick it into having the dash until a rev is actually added. 

View 1 Replies View Related







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