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


ADVERTISEMENT

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 :: How To Select Drawing Object Which Is In File

Jul 17, 2012

I am trying to create a small application in C#.Net where by clicking a button, I should be able to select a drawing object in the AutoCAD file to get the object's handle.

I am able to open the Drawing file from the application but unable to figure out how to get the drawing object handle by clicking on it through the application.

View 9 Replies View Related

AutoCAD .NET :: How To Compare Two Drawing File With Object Data

Apr 25, 2012

How to compare two drawing file with object data(two version of the same drawing) . Any source code (C# Arx) then will be much better.

View 7 Replies View Related

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

AutoCAD Inventor :: Changing Reference Object In Drawing File

Apr 9, 2012

I wondered if there is a way of changing view reference from one object to another.

Example.

I have two similar models but drawing done for one.

I could save it as with a different name and replace in all the views referenciing from old model to new one.

Possible? 

View 3 Replies View Related

AutoCAD 2013 :: Access Solid From Drawing File Using Object ARX

Jun 7, 2012

I want to access the solid opened in AutoCAD from dwg file using C++ and Object ARX.

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 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 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 :: 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 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 Inventor :: LT - Path Does Not Pull In File From Database?

Feb 21, 2013

Using Inventor LT - path does not pull in the file from database when using Inventor LT. Inventor LT does launch but file does not open.  

View 3 Replies View Related

AutoCAD Map 3D :: 2012 Enterprise - File Database With SQLLite

Nov 17, 2011

I am using Autodesk 3D Map 2012 Enterprise. I used Infrastructure Administrator 2012 to create a File based schema with the required tables and domains. This has created a DWT file and my understanding is if i create a DWG file using this DWT as the template then i should be able to create the features with the attribute details stored in SQLLite. I am also not very clear whether this SQLLite would be embedded within the DWG.

I have an Utility network asset map of a city with OSMM background and Address Layer 2 in UK which i want to transfer to a DWG file created in this template. The source data is a ESRI filegeodatabase format with data held in 30+ featureclasses. I can convert the featureclasses into SHP files.

a)My problem is how can i import the contents of the shapefile into a DWG file created using the template defined using Infrastructure Administrator 2012 above and indicate that the attribute should go to SQLLite or is it something implicitly handled ?

b) It leaves me wondering as why Autodesk is not stressing on the adoption of SDF which is projected as a DWG with relational datatables? What is the intended use of SDF?

View 4 Replies View Related

AutoCAD Civil 3D :: How To Unset Survey Database From A File

Oct 16, 2012

How do I "unset" a Survey Database from a file. I created a new file and set a working folder to import survey data. Now when I go to File>New to create an unrelated file, the Survey Database and related info is shown in the Toolspace>Survey tab. I don't want this in the file, how do I get rid of it without deleting any info for the previous drawing?

C3D 2012
C3D 2012 sp1
W7Pro 64bit
HP Z400 Workstation
16 GB RAM
Intel Xeon CPU W3565@3.20GHz
NVIDIA Quadro 4000

View 2 Replies View Related

AutoCAD 2010 :: Survey Database Link With Imported File?

Apr 13, 2012

I am looking into using the Survey Database for the first time and noticed it linked back to the imported file from which the points came.  However, my question is when the points are adjusted within the AutoCAD file is there a way for this adjustment to link back into the imported point file. I am trying not to have a situation where the data is different between the imported file and the autocad file.

View 3 Replies View Related

AutoCAD Civil 3D :: Error / The Microsoft Jet Database Engine Cannot Open The File

Aug 28, 2012

We are using AutoCAD Civil 3D Land Desktop Companion 2009 on all machines and one of our machines is getting the message "Error opening Point Database" and then gives the project file pathcogopoints.mdb.

It also gives the message "The Microsoft Jet database engine cannot open the file.  It is already opened exclusively by another user, or you need permission to view its data."  It is not opened by another user and permissions have been given for all machines to access these files.

Background information:  We move older projects to an external hard drive for archiving and occasionally need to access them as the need arises.  We have done this successfully for some time without issue, but now one of our machines is giving the above error.  The other machine, which the external hard drive is connected, does not have this problem.  We tried moving one project file back to the original location and it seemed to work okay, but another file did not.  Some files were created using an older vrsion of AutoCAD, but that has not been a problem with opening them in the past.  All sharing permissions to the external hard drive have been checked and seem to be working properly.

View 2 Replies View Related

AutoCAD Civil 3D :: Survey Database Settings Change On Import Of FBK File

Nov 20, 2013

Recently we have discovered a problem (bug?) with the survey database. We usually import our field data from our Trimble controllers into the survey database (SDB) through Trimble Link. We have been very careful to get all the survey database settings right, so that the data comes through correctly and have been successful up until the last few weeks. We find this a good workflow, where we are able to make edits to our field data (change target heights etc) easily in the SDB and comparisons with Trimble Business Center and direct output on-screen in the controller confirm that our data is reliable. We often have both GPS (long Network RTK vectors from the nearest network base station) and total station observations in the same file.

The issue is that, as the fbk file is imported, the survey database settings change to reflect the content of the fbk file. The "Atmospheric conditions" and "Curvature and Refraction" settings, which I have purposely left unticked (the controller applies these corrections), become ticked. This throws out our heights, especially on the long GPS lines.

We do have the option for a workaround, which involves going back into the Edit Survey Database Settings after import and updating the data in the sdb, but this is clumsy.

This seems to be similar to the issue that was discussed here.  However, we have only just encountered this issue in the past month or two, which coincides with when we rolled out C3D 2012 Service Pack 4 across the office. We are planning on implementing 2014 soon, so I have tried it out on 2014 as well, with the same result.

Is this something that others are dealing with too? Perhaps there's some sneaky setting somewhere that I haven't found which locks down the SDB settings preventing them from being changed on import? Otherwise, I think this is a bug.

I am also bracing myself for some comments regarding the dangers of using GPS in the SDB!

Civil 3D 2012 SP4

View 7 Replies View Related

AutoCAD .NET :: How To Open Database From Open Drawing

Aug 26, 2012

Once I have the dwg open how do I get to the database?
 
Dim AcadApp As Object = Nothing Dim AcadDoc As Object = Nothing Try AcadApp = GetObject(, "AutoCAD.Application.18") Catch ex As Exception AcadApp = CreateObject("AutoCAD.Application.18") End Try AcadApp.Visible = False Try AcadDoc = AcadApp.Documents.Open("C:UsersPAULDesktopB-03-J-H135.dwg", True) Catch ex As Exception Exit Sub End Try Dim MyDb As Database = AcadApp.DocumentManager.MdiActiveDocument.Database

View 4 Replies View Related

Photoshop :: How Can I Match A File To, Info In A Database

Oct 21, 2006

I'm renaming my image files from the original DSCF_1234 to say 11_1234 the 11 would be for player no 11 if i was covering a football match, what i want to know is, how i match the file to info in a database, & add that info to the image description.

View 6 Replies View Related

Photoshop Elements :: Fileserver Usage - Share Same Database File

Nov 30, 2012

Is it possible to have two machines, both running Photoshop Elements 11, share the same database file?The scenario I'm imagining is one where the images will be stored on a $fileserver and thereby accessible by either of my image-editing machines:
 
1. Dell Desktop PC (Win 7 Pro)
2. Apple MacBook Pro Laptop (OS X 10.7.5)
 
I want to be able to edit images from either machine, but I don't want to create two databases related to the images. I need both machines to use the same database of tags, etc. (Not simultaneously, obviously.)The file server will be one of the following (I haven't determined which one yet):
 
1. a second drive on the desktop PC
2. a third machine (FreeBSD, FreeNAS, Mac Mini, or a Linux box)
3. a NAS device (perhaps from Synology)
 
So, is this possible with Photoshop Elements? Does this bump me into some sort of server license scenario with Adobe? Is there a better way to do this at the home/consumer level, even if it means abandoning Elements for another product (or two products, working in conjunction) from Adobe? (I should mention that although it's a home scenario, we're talking about half a terabyte of images and growing.)

View 6 Replies View Related

Illustrator Scripting :: Get Names Of Placed Images Into Text File For Database?

Jan 7, 2011

I know nothing about scripting in Illustrator, but am willing and interested to give it a try if this sounds doable.  All we want are the names--just a simple list of the names, such as

7009 LL.eps
Rsb shadow design.psd
3_Pt_STA_475_P3.tif
 
of placed images (in our Illustrator CS5 art) into text that we can either import (from a tab- or comma-delimited text file) or paste into our Filemaker database.
 
Right now everyone is RETYPING the names of all placed images into the database, with consequent mistakes, missed images, etc.  Then when we search our database to find which art uses a certain image...results are not to be trusted.
 
(If we could cut/paste from either the Links palette or Document Info, that'd be fine... but nope.  Not in Illustrator, although we were thrilled to see InDesign CS5 has "Copy Info For Selected Links", which is VERY useful.)  In Illustrator, we can export Document Info to a text file, but artists seem to find that long document too unwieldy, and they revert to typing the names, especially if they only have a couple of placed images... and then we're back to error-laden data no matter how careful they try to be.
 
Is such a script even possible?  If so, where/how might I start?  We're on iMacs with the Adobe CS5 suite (and Filemaker 11, if that matters).

View 13 Replies View Related

AutoCAD Inventor :: IPart Drawing Template - One Drawing File Versus Individual Drawings

Jun 21, 2013

Setting up a tabulated ipart drawing template. Which is better...one drawing file with a table or individual drawings for each tabulation? Also does one method work better than the other when introducing vault?

View 1 Replies View Related







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