AutoCAD Map 3D :: Object Data Linked To External Database

Jul 14, 2011

For some reason, I can't seem to find all the right steps in the right order to accomplish this.  Maybe what I'm trying to do isn't possible.

Using either Map3D 2011 or Map3D 2007:

I have a database (SQL Server) and a drawing (.DWG) with object data fields.  For simplicity, lets say the database field names match the object data field names.  The key field in the object data is already filled in.  I would like to link to the database so the rest of the object data fields are filled from the database.  Is this possible?  If so, how?  The closest I have gotten so far is creating a link template and using mapod2ase, but that creates a separate set of Link Template fields instead of filling in the Object Data fields. 

View 5 Replies


ADVERTISEMENT

AutoCAD Map 3D :: Convert Linked Database Info Into Object Data

Jul 7, 2011

I have 200,000 lines with some object data. LINKED to these lines is a database with some more information. Basically I want to export all of these lines to shape files, converting the information in the linked database to be the new object data. (This is for the client to view the lines on ArcGIS).

I have done this a few times in the past, but working with this volume of lines and data, Its taking an extremely long time.

My question is, could i use autolisp to quickly transfer the database data to object data before i export to shape files? or if there are any other options.

View 3 Replies View Related

AutoCAD .NET :: VB / Map 3D - Reading Object Data Tables From DWG Inside Database

May 23, 2013

Would you have a solution to accessing ODTables for a dwg object only loaded into memory? I have 1000+ dwgs that I want to return a string with the names of the various ODTable names for auding purposes that I would prefer to just side load rather than full load for performance reasons.

 I'm attempting to use something like this (which works fine on an open drawing):

 Public Function ReturnOBJData(acObjIDIn As ObjectId, intOffset As Integer) As String   
 'Don't forget that table is 0 based offset so....plan accordingly    Dim strRet As String = ""    
Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument    
Dim acDb As Database = acDoc.Database    Dim acEd As Editor = acDoc.Editor
[Code] .......

In a fashion along the lines of

Public Function GetTables(strFileIn As String) As List(Of String)    
Dim lstReturn As New List(Of String)    
Dim acMapApp As MapApplication = HostMapApplicationServices.Application    
Dim acActiveProject As Project.ProjectModel = acMapApp.ActiveProject    
Dim acTableList As Tables = acActiveProject.ODTables    Dim acTable As ObjectData.Table   

[Code] ....

The problem is that I can't seem to link the ODTables object off of the memory database object. In this sample, the msgbox always returns a count of 0 where I would expect it to be in the range of 1-4.

View 6 Replies View Related

AutoCAD .NET :: Linking Dwg To External Database

May 10, 2012

How can I link an external database(say access/oracle) to a drawing so that I m able to insert/update attribute directly from the autocad map drawing.

View 1 Replies View Related

AutoCAD Map 3D :: External Database To SHP Files OD Table

Oct 25, 2011

I have shp files and an external database file and I wish to merge the data from the External database to the Shp files OD table.They both have a column with entries matching so I figured I could use a Join to complete this. This is where I have run into difficulties.

I tried to import the spreadsheet using FDO but there is no XYZ data its just pure data. I added dummy XYZ data and tried again but I am unable to insert the data. the checkbox is greyed out, I select the Identity property to match the main title and it does not work.

I tried adding a new data source but I am unable to perform a join with this. right way to import the data from the excel sheet and add / merge the data to the FDO table created by the shp file.

View 3 Replies View Related

AutoCad :: Performing Data Extraction And Linking To External Data With Formulas

Apr 19, 2012

I am trying to link my extracted data from blocks with attributes to an extenal source so that the table I create and place into the drawing already has the formulas I need to due the required calculations. But every time I create and place the table the formulas are not in the table. I include the columes that contain the data but it doesn't seem to be working.

View 2 Replies View Related

AutoCAD Civil 3D :: Open Survey Database In External Program?

Nov 27, 2013

what other programme you can open survey databases in? Up until about Civil3D 2011 you could open them up in MS Access, but the type of database has been changed and I can't do that anymore.

The reason I want to do this is that opening the database in Civil3D does not expose all of the contents of the database eg. prism constants. I would like to see the entire contents of the database.

Civil3D 2014 - Windows7 64bit

View 6 Replies View Related

AutoCAD 2010 :: Auto Updating Polyline Area Into External Database

Jun 11, 2012

I am using 2012 autoCad. I have created an external MS access database in 2010. I want to map some fields like Polyline areas to DB field. DBConnect wasn't that much usrful to me for external databse.(Or I might be missing something).

Is there anyway that I can map AutoCAD-2012 Polylines to External database field so that updating polyline auto updates the database??

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Check Attribute Of Block With External Database

Mar 2, 2013

I have a block with:

tag1: XX

tag2: YYYYYY

tag3: ZZZZZZZZ

I have an external file check.txt with string:

XXYYYYYYZZZZZZZZ

I would like to create a lisp program that check the attributes of block using an external database, if tag1+tag2+tag3 = XXYYYYYYZZZZZZZZ ok end program, if not  make a circle on block :

View 3 Replies View Related

AutoCAD Civil 3D :: Survey Database Point Data

Apr 16, 2012

Is there a way to "data shortcut" information imported from a data file into multiple drawings?  If so, is there a way to lock the data points "in place" and not be able to adjust the point location/elevation, but allow the movement the text information around within the drawing.

The goal is to have multiple drawings with these data points and be able to move the text information from the style, but not (in a million years) be able to move the data point itself.  There may be multiple drawings with these points located within them.

View 4 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 :: Link To Database And Populate Drawings With Data

May 16, 2013

I have some files (OK, 11,000 of them) and they have drawings on the bottom and text on the top. I want to erase this text and replace it with data that comes from a database. I don't know where to start.

I need to:
1. preferably find a way to erase the old data on the top, but I could do it manually
2. Insert data from specific fields into specific spots on the drawings.
3. Each drawing would have the same fields but different data corresponding to an account number. The account number is included in the name of the drawing and is a field in the database.

How to get started? I have Map3D as well, which I was told would work better than regular AutoCAD on this, but I also have regular AutoCAD. I can't even figure out how to make the database connection work.

View 9 Replies View Related

AutoCAD Architecture :: Tables With Linked Excel Data

Sep 25, 2012

I have set up some autocad tables that are linked to excel data( using relative path) in an Autocad Architecture project template. In the xref dialog box, the data links are show as relative path e.g.   ..Standards excel file

After creating a new project from this template and right-clicking in one of the cells which have linked data and selecting "data links" and "open data links file" it opens the template excel file, not the excel file within the project folder.

If I use the xref command, select and right click one of the excel data links and select "open" it does open the correct excel file located in the current project folder.

The xref dialog box does show all the data links as relative path e.g.   ..Standardsexcel file.

View 1 Replies View Related

AutoCad :: Data Tables Linked To Excel Spreadsheets

Apr 19, 2012

I have a new issue that I am unsure what to do about.

This has never occurred with previous version of ACAD and this is the first time I created data links with Autocad 2012, and I am using the same procedure that I have successfully used in the past.

I have data tables linked to excel spreadsheets. I used the "TABLE" button on the ANNOTATE ribbon to place the table, and the layout of the cells assumes the layout of the excel spreadsheet, which is what I want.

As long as I don't Scale the table, I can Update the data table links just fine.

However when I scale the table and then update table links, the table layout changes drastically, and is undesirable.

I have tried locking the cells' but that will not fix the problem.

I want to keep the layout of the table that is assumed when I place the table originally. Is there any way to lock it as such?

View 0 Replies View Related

AutoCAD Civil 3D :: Data Linked Excel Table

Mar 15, 2012

How to insert a linked excel table into my drawing, however I have not figured out how to add rows to the table, the option is greyed out.  I can insert rows above and below the (inserted) table but not anywhere in the middle.

I've tried everything I can think of, even removing all the formatting in the .xls spreadsheet to no avail.  The cells are unlocked, I can manipulate the data, but not being able to insert rows is really hindering the efficiency of using a data linked table.

View 9 Replies View Related

AutoCad :: Merged Cells In Data Linked Tables

May 17, 2011

Table styles / Data linked tables. In particular when re-syncing the table from excel, cells that should be merged become unmerged.

i have unchecked excel formatting, as i am using table styles used in autocad, i did try getting it to work starting with excel formatting, but couldn't get styles consistent, and text was much fainter.

As it is now the tables are working well except for the merged cells!

View 1 Replies View Related

AutoCAD Civil 3D :: Survey Database And Data Shortcut Path

Feb 15, 2013

How do you move a survey database and data shortcuts?  Without going into details, sometimes it is necessary to copy portion of projects as new projects.  The survey database along with the drawings our surface, points, linework, etc. need to reference the new directory.  I can set the survey database folder location to the new path but am not certain the information in the dwg is point to the correct location.

The same essentially applies to the data shortcuts.  I'm having trouble getting this to work.  With LD we were able to copy the project and resuscitate the drawing(s).  I tried to use Data Shortcut Editor with the Saveas.  I then attempted to rename the dwg's and path the new location and name but receive an error of Invalid source file. Correct the path or press Esc..

View 1 Replies View Related

AutoCAD 2010 :: Data Linked Excel Table Formatting?

Sep 9, 2011

I recently decided to see how the AutoCAD tables work. I was very happy to learn you could link your Excel spreadsheets with CAD. But now I have a problem.

After inserting the table it refuses to use the table style I have set up. The fonts do not want to change at all. I can change the colour of the text, but not the font.

PS: Using AutoCAD 2011

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Export Data To Any Database Application?

Apr 19, 2013

I would like to save the data generated by LISP program at command prompt area to any data base app or any simillar app from where I can retrieve the stored data again in autocad for further usage. 

For example, A LISP program generate the result as shown in above Fig. I would like to save the data of step 5, "Shear force in tonnage is : 50.868" to any database application or any simillar one from where I can retrieve the stores data for further usage.

View 9 Replies View Related

CorelDRAW Graphics Suite X6 :: No Update - New Folder External Linked Images

Oct 13, 2012

The management of the importation of externally linked images still has the problem in previous versions.

1) You can't import more than one picture at a time, externally connected simultaneously in the document.

2) If you move the picture within it, in a new folder, there is the possibility of assigning the new path to more 'photos at the same time but only one at a time.

So if I have 100 photos to be updated with the new path I have to do with each photo. While it would be much more logical to assign the same path to more 'selected photos.

View 4 Replies View Related

AutoCAD 2013 :: Locked Cells In Data Linked Excel Sheet

Aug 15, 2013

I have been using a lisp routine to strip formatting from a linked excel sheet. (stripmtextV5) .When I try and run it on a sheet today it says some cells are locked. I've changed the cell format in the excel file to unlocked. I have unlocked the cells in the linked table. Yet it still says that some cells are locked...I have even picked in each cell to verify each one is unlocked.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Data Extraction And Database Visibility Counts

Jul 30, 2013

My goal is to have a quantity count of a specific dynamic blocks visibility state and for it to be updated when changes are made, without having to recreate the Table. I want the total amount to be where I have the Fields.

My test drawing is the perfect example, assuming I have all the items that I need in the drawing. I don't want to recreate the Table and re-link each Field to the appropriate cells of the table. Which no one wants to do. In this test drawing the objects in Blue will be used in the final production drawing.

I noticed if I add a new item or remove an item entirely I'll have to redo the Table and fields. Which defeats the time I'm trying to save.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Importing Data From Database / Spreadsheet Into Polyline

Jun 29, 2012

I have a database with the polyline reference/handle (i.e. '13EE6A') and each polyline has a 'door number' associated with it.

I can easily create a query that produces a table of polyline ref and associated door number.

I need to somehow import that door number into the middle of each polyline on the drawing - i.e. if there is a polyline with that handle, put the associated door number in the middle of the polyline on a certain layer. I do NOT need an active link between the database and drawing - it's just to initially populate several thousand rooms numbers!

View 9 Replies View Related

AutoCAD Map 3D :: Add Database As Source For Object

Dec 18, 2012

I'm trying to add a database (excel ) as source for object in Map3D.

I start but when i select the excel file that i've created and stored in my pc map3d says that the cration of the data source doesn't work.

View 7 Replies View Related

AutoCAD .NET :: Add Handler To Object In Database?

Jun 2, 2011

what is the best way of getting (modified) event triggered for some specific object?

i see a lot of examples doing: if database is modified, then trigger event, then iterate our list to if that object is in it.

is that the better that way, like to add handler to the specific object, and then when each of them is modified, then each of them call handler?

View 3 Replies View Related

AutoCAD .NET :: Import Of External Data

Sep 24, 2013

How I can attach some external data to an AutoCAD object. I found on the internet the object data solution for AutoCAD MAP 3D, but my boss meant, I should find a possibility to import data into AutoCAD without MAP 3D. 

View 2 Replies View Related

AutoCAD Map 3D :: Import Point Data With Object Data?

Jan 20, 2011

how to import point data that has Map Object Data also attached to it? "import it by attaching to a data source".

Example: I have a bunch of manholes. Each MH has X,Y,Z, but also Type, Invert Elevs., Pipe Sizes, Pipe Materials, Pipe Directions, Structure Type/Material, etc. etc. etc. I may have point data representing MH's, airport runway ends, trees, anything you can imagine, with all kinds of data imaginable. 

I want to import this data directly into Autocad/Civil 3D as either Autocad points, lines, or closed polylines (I also have utility lines, parking lots, etc.- all with data associated with it), all with the data attached as object data. I know that anything more complex than points might be hard to explain here, so I am hoping at least for a solution on how to import points - I have 99,999 MH's and obviously I don't want to have to type all that data in one by one.

I basically suck at using sql server. I can get around using the Map workspace and the different tabs. I have never used FDO, and I am not even sure what it is.

I fooled it today by creating 99,999 Autocad points at the correct XYZ, attaching the correct object data to them, then exporting as a shp file. I went into the shp_name.dbf file and edited it to add the data I wanted by cutting & pasting from Excel. then I re-imported the shp file. but, this is a workaround at best.

Surely Map can import objects and their associated data fields, all populated with valid data! all I need is to know how to do it. I mean, if this is not something I can do directly using Map commands should I take the money I earned by surveying 99,999 MH's with my GIS data collector that allows me to assign 101data fields to each object I survey, and buy something better?

C3D 2012 on 64bit Win 7 all up to date
Dell Precision 7core 8GB RAM
NVIDIA Quadro FX 1800M
LDT/C3D user since release 12

View 9 Replies View Related

AutoCAD Map 3D :: Transfer Link Data To Object Data?

Mar 28, 2013

I have a drawing with Objects that have both Object Data and Linked data in an Access database. I need to get information from the linked table to a new linked table for each object.

I have thought that if I get the necessary information from the Linked table record to the object data for each object, I could then convert the Object data to a new link and am looking for a way to copy the data from a field in the Linked Table to the object data.  There is at least one field common to both the OD and Linked Table record.

Is there any automated way to transfer this data?

View 5 Replies View Related

AutoCAD LT :: Transfer Link Data To Object Data

Jun 25, 2013

In my company, they have just upgraded the old version of Autocad LT 2004 to the new 2013 and we have created menu to make our job easy. I have try to transfer the menu file .mnc to 2013 but it's not working or I don't do it the right way.

View 4 Replies View Related

AutoCad :: Object Data To Attribute Data To Perfection?

Oct 15, 2010

I'm working in AutoCAD Map 3D 2008 and Autocad Civil 3D 2009.

The General Task:I want to convert the object data to attribute data so that I can export it to an Excel file, add another column of data, and then import that new data as attribute data.

The Specific Task:I have thousands of campus water meter locations (a block with a small icon, attribute data, and object data) that belong to two different systems, domestic water and lake water. Each of these blocks has object data item (a barcode tag) that I want to show as a label next to the block.

However, before I do that, I want to export that barcode data to an excel file so I add a column (eventually a new piece of attribute data) that says whether or not that specific water meter is radio read or manually read. I want to then import that radio read/manual read excel file back into autocad and have an X appear on the block icon if it is radio read. I also want the barcode information to show up as a label.

My problem:I can't get the barcode object data to export with the locations in one easy excel sheet that I can simply import after I have made my changes.

Find some person on here who knows how to convert object data to attribute data.

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







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