AutoCAD .NET :: How To Compare Two Drawing File With Object Data
Apr 25, 2012How 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 RepliesHow 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 RepliesI have a AutoCAD MAP drawing with the pipe size assigned as object data to various lines in the drawing.
Is it possible to display the pipe sizes as a text entity parallel to the line? How would I go about doing this. First prize would be if the value of the text changed whenever the object data is changed.
Is there any way to determine the source drawing of a dref'ed object? I'm not seeing anything in COM or the .NET API's, hopefully I'm just not looking in the right place.
View 5 Replies View RelatedI have imported a shp to dwg. it has the object data attributes.
Suppose I have a point for cities shp imported to dwg. The attribute has name of the city. How can I display the name of the city to each point on the layer of dwg file.
I have centerline data from SHP file that I can either import or attach to. Has a few lines of object data with it including a centerline of road name. Each one unique. When I attach to the data, I can then "join" with it additional data from a database. When I select a line and look at the properties, it contains both the original object data AND the additional data from the database. SO far So good.
When I edit the style and try to add feature labels only part of the labels come in. I end up with a lot of them with only the letters "text" or just not there. If I right-click on the line and select "Show Data Table" I can confirm that there is data for that label. I find nothing in common with the map features that have labels, or don't have labels. Kind of random.
Question: If I import the SHP file and create object data I need to know if there is a way to "ADD" the rest of my data that is in the database to this object data. If so then I think I could define a Template and label each piece with the block with attributes. Is this possible? OR
Is it possible for me to export to a new SHP file after I have connected to the data (both shp file and database).
I imported survey data from a file into the drawing and created a surface from the points and figures. No problem. Engineer wanted to change the datum from assumed to known. At this point all figures have been copied to a new layer flattened and changed to 2D polylines in order to hatch. Then the figures reimported. I raised all the points with the edit datum and raised the figures with edit survey figures. Surface was adjusted and tweaked. Everything was fine. I open the drawing and all the figures are back at assumed datum and the points are on the right datum. Now when I tweak the surface it uses the bogus elevations from the figures. How can I get my figures to save the adjusted elevations?
View 4 Replies View RelatedI would like an VB application that from within autocad can open an excel file,from there select 2 columns containing x,y co-ordinates. Which when selected will draw a polyline in the acad drawing.
I usually do this the long way, but it seems I'm doing it more and more so would like to have it fairly automated.New to VBA and stuck at even opening the excel file....nevermind the actual selecting columns and drawing of the polyline!!!
Is there a way to compare a wall style in a drawing with the wall style in my library...
I ask you that in case where a property change in my library and a wall is already insert in a drawing...
We had customized styles in Inventor 12 Then installed 13 and had some conflicts using the 12 styles. The person who customized the styles is no longer with us so I dont know what all was changed. Our work stations point to a styles network location so we are all on the same page. I would like to know if there is a way to compare the default styles to the custom files so I know what was changed. Then I would keep a log book of style changes as they occur and update the style of the next release b4 company wide installation. Or perhaps there is a better way??
View 1 Replies View RelatedHow i can get Database object of Drawing file with out opening.
View 1 Replies View RelatedI 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.
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
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?
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 RelatedI'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.
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?
I want to access the solid opened in AutoCAD from dwg file using C++ and Object ARX.
View 3 Replies View RelatedHow to compare two similar solid model and found where its differetiate is, and how to compare two similar drawing let say rev.1 to rev.2 and found where its differentiate is?
View 1 Replies View RelatedI need to locate or create a Macro that would read a text file that contains
x postion, y position, and diameter.
Each of the 4000 circles in this file are a different diameter. There is no linear progression.
I have a master shape file that contains parcel ID, owner, tax info., etc. I have another file ( access 2003 -open to better file format suggestions-) which contains parcel ID and a "yes" or " no" entry for whether or not the parcel needs a new water meter. All I want to do is add the water meter information into the other shape file. This would create one shape file with one table with all the information that I need.
Ultimately I will use the information to do a map query and find out spatially where i need new water meters.
Right now i have the master shape file connected though the “Connect to Data” feature. I also have the new data added to the drawing though the Data sources------>attach under the “Map Explorer” Task pane. I attached access file (ver. 2003 .mdb) which has two columns “Parcel ID” and “Meter”.
I right click on the shape file under the display manager and select”Create a Join;” however my water meter table is not listed as an option. Will this not work?
Plan B - I tried to Create and connect to the access file as an ODBC connection. Followed this guy’s directions to a T [URL]. But when i populate my table under the fdo connection the column headings exist ( “parcel ID” and “Meter”) but the actual data is missing. Am I missing something important?
Note: I am running c3d 2012 on a Win 7 64 Bit machine. I also removed office 32 bit apps and installed 64 bit apps to see if that would solve the problem. No go.
I have a user that is having a problem with two particular drawings within AutoCAD.
drawing 1 is 4MB
drawing 2 is 17MB
I believe he is attempting to copy some data from drawing 2 to drawing 1.
*nearly* Everytime he opens these two files and switches to 'Model' autocad crashes displaying the message -
--------------------------- AutoCAD LT Alert ---------------------------
AutoCAD LT cannot continue. You can attempt to save changes into the following file up to the start of the last command: S:****************
After you save your changes, you can open or recover the file.
Should AutoCAD LT try to save your changes?
--------------------------- Yes No ---------------------------
There is problem with my CorelDRAW X6.
After I import different files in my working file, it's getting hard to work- RAM(16GB) is getting completely full and its almost unworkable!
I checked out Object Manager and found stack with "SVG data" and "Locked SVG data" object there under some basic shapes.
Stack is about from 10000 to 100000... Some times even more, but its not possible to select all them because Corel just stops. What is that- "SVG data" and "Locked SVG data" object and why they are so many there?
Without using scripts, is there any way to have rectangles or textboxes act on values coming from a data file? For examplle if the value in a textbox was greater than 10 coming from a data record, could the textbox change color, or any other attribute to make it change from record to recortd as it is being viewed or printed?
View 9 Replies View RelatedI have object data attached to some linework and I want to copy that data to some new entities.Is it possible to copy object data from one entity to another with out having to fill in the table again.
View 3 Replies View RelatedWe need to take polylines from AutoCAD Map 3D to 3ds Max and rename each polyline to have a name of something like "Building Number-Room Number", both of which are defined in our properties for each polyline. Because none of this data is kept on import to Max, we need to do this all in Map 3D, which we are not experienced with. Is there a way to do this, and if so what? We are importing the .dwg files in Max with polylines as splines.
View 2 Replies View RelatedHow can I Get table name of the object data of a selected layer, with C#.
View 4 Replies View RelatedI have an object with an Object Data Table attached filled in with information. Is it possible to copy the table and information from that object to another object? Tried the obvious, Match Properties, and it did nothing.
View 3 Replies View Relatedhow to extract geometrical data (lenght, width, height) from 3d object to a tab or an external file?
View 0 Replies View Relatedis there any way to use data extraction and get the dimensions of the solid. Using dynamic blocks on 3d solid is not an option as far as i know. I tried using block with attributes and field which refer to a dimension line but it's too complicated and takes far more time than just check them by hand.
View 0 Replies View Relatedi have imported a shp file into dwg with their attribute.
how i can display any fields(BLGDID) in autocad dwg. and can i edit this by simply double click editing. can it update in object data's same field.
i dont want to use ADEEDITDATA but task is same .
any simple way
Is there a way to extract information (for an excel spreadsheet) for multiple 3D objects, without turning them into individual blocks?
View 2 Replies View Related