AutoCAD .NET :: Store Data In DWG File?
Jun 28, 2011Is there a location I can store large amounts of retrievable data in the DWG file?
View 9 RepliesIs there a location I can store large amounts of retrievable data in the DWG file?
View 9 RepliesWe have some data in SQLite, and i want to know, what is the best practice to store the style. Now my practice is: i finished the stilization, and save them into *.layer files, then load them with workflow into a new drawing. It works fine, but i have some problems and questions:
- The Map layers order is not working well. If i have only one Map layer, with polygon features (they have label), the label is disappear in most cases (its loaded, but the polygons uncover the labels). I have to click the polygon feature, then i need set Draw Order -> Send to Back command (and this is not working well all of the time). In the drawing data is a very useful command to send all hatch to back (hatchtoback). I want to do this, but with feature data.
- I want export the Map layers (with these styles) to drawing layers, so the drawing object get the feature data as object data. I know the mapimport command, this doint as well, but i can't load the style. I need to create drawing layers, wich contains the feature data, and have a nice style (set from *.layer files).
- How many layer can i load with workflow? Is it stable with hundred of layers? Is parallel the fastest method?
In my opinion: Map layer = contains feature data
Drawing layer = contains drawing data
I want to add additional information to objects create using Autocad.
But I want the data to be read by Navisworks Manage.
How can I put the data? Is it using xdata, NOD or any other type?
I'm using Autocad 2011 and visual express 2010
I have my laptop with LR4, I'm using an external HDD to store the RAW data from my camera. This HDD is fed by an external power line so it's not as portable (WD My Book3.5")
So the setup is that LR4 is linked to the external HDD. Whenever I download photos from my CF card, I tell LR4 to copy the images to the external HDD because I don't want my laptop to be filled with RAW. I only export the JPG's to my laptop.
Now here is the tricky part. When I travel, I take my laptop and my lighter external HDD (WD My passport 2.5") because it's portable and needs only USB power.
While traveling I import my photos using LR4 to the secondary HDD (my passport) and I edit them. When I get back home, I would like to "merge" my edited images from the portable HDD (my passport) to the primary HDD (my book).
So essentially I would like to streamline my work as if I'm managing one catalogue on two separate HDD.
My new computer is equipped with an SSD for programs and a 1TB disk for data. How do I configure Elements so it can run from the SSD (C:) but store my picture data on the D: drive?
View 4 Replies View RelatedI 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.
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 upgraded to ACA 2013 and I have had nothing but problems and I want to know if I am alone on this. I have uploaded AEC Section Display and Tag Scale Hotfix, URL....
AutoCAD Architecture 2013 Service Pack 1, URL....
AutoCAD Architecture 2013 & AutoCAD MEP 2013 Content Browser Migration Hotfix. URL....
ACA2013 was released and I have had it on the desk for some time and finally I got the nerve to load the upgrade. This I did in accordance with the instructions. The upgrade went well.
Additional problems with my working files involved, the file will lose data while working in the file, the program will do strange things to the file like I would lose data while in layout tab within a viewport and the data would still be present in the model tab. I have lost printer setup files only to reopen the drawing and find these have returned.I have lost layout tabs completely. I would reload another menu and they would return. I was speaking to another person comparing Autocads and his had the layout tabs and mine did not.I have zoom scaling problems within the layout viewport. I use to be able to zoom, scale, 1/20xp for 1:20 scale and it would not recognise the command.I was informed via Autodesk to load the service pack Autocad_2013_sp1.14_64, this would not work then I was informed to load the service pack Autocad Architecture _2013_sp1_64 which it did successfully. Still had problems with ACA2013. have situations where the shell command will not work ie punch a hole within the object selected.I have changed from the working model tab to layout tab and back to model tab only to have the view change for no reason ie it will go into (+)(custom view)(wire frame) without selecting it.I have lost data, (part of the actual drawing) within my working drawing simply by using the boeleon subtract command.I have situation when you use the push pull command and nothing happens and then you reopen ACA afresh and try it again and this time it will work.I have email Autodesk in the US and it got alll TO HARD for them and they have abandoned me.
I can store some ObjectId from my drawing to text file. After that how we can get back ObjectId from string read from that text file. Or have a diferrent way to store the ObjectID.
View 3 Replies View RelatedAfter I save a file for "Web & Devices," when I open it, it returns this message, "This file contains file info data which cannot be read and has been ignored." Will this cause any problem with the file once I place it in the website I'm building? I've never seen this message before on a photo I've edited. The changes I made involved color correction.
View 9 Replies View RelatedI'm using balloons to get information from parts, then writing that part info to a custom table. I need to keep track of which balloon corresponds to which table row.
Is there some object/property of Balloon where I can store a single number or string? I'm already using the value field, so that's unavailable to me.
Also, one balloon corresponds to one table entry. That means I cannot create a custom iProperty in the part the balloon is attached to since more than one balloon may reference the same part.
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Is it possible to store a String Array to an XRecord?
View 1 Replies View RelatedHow I can get AutoCad to store my preferred "linear dimension" properties (i.e. arrow size, line weight etc).
Currently the standard setting are not what I use and every time I open a new drawing I have to go into amend a new linear properties and also any new linear dims I create has the standard settings.
I usually create one then "match" it's properties but it's still a bind creating the first one correctly.
From the AutoDESK docs [URL] ......
"AutoCAD.Application.ActiveDocument.SelectionSets. Add method
Not needed/provided" in VB.Net
Thus 'Autodesk.AutoCAD.ApplicationServices.Application. DocumentManager.MdiActiveDocument.SelectionSets' will not work.
So, I can't store multiple selection sets in VB.Net?
Why is it not provided? Or is there some other way to do that?
We have been sending images out to contractors, and sometimes when they come back the files are having this error:
the file contains file info data which cannot be read and has been ignored
When I then try to Photoshop Script the file info it throws errors.
I am a new c sharp developer. I want to create a program in C sharp, which can communicate with autocad, when I do click in some area of the drawing, I can call to the c sharp program with the information of the object selected, for example I want to know the four utm coordinates of a rectangle,with those coordinates I want to search in a sql server database, which contains information of the object selected, for example if I select a rectangle, the database must contain the name of the owner, location and display to the user the information.
Otherwise, I want to open the program in c sharp, doing a searching via name of the owner and I want to open the dwg file that contains the utm coordinates of the name provided.
I don't have AutoCad, but I was given a DWG that was created in 2007. It is a map of a lake's water depth vs distance in the east and north directions. Is it possible extract the actual value of water depth from the DWG file? For example the file would contain columns of x-location, y-location, and water depth.
View 7 Replies View RelatedI have been asked to write utility that will open a DWG file, retrieve layer data from the file and put it into a spreadsheet.
I know nothing about AutoCAD but I have been reading on this forum and gathering information. I have found that I have to write a dll that will be used inside of AutoCAD. Here is what I have so far:
1. I have AutoCAD 2008 (will convert to 2011 or 2012 later)
2. I have .NET Framework 4.0
3. I have Visual Studio 2010 Express
4. Needs to be done using VB.NET.
I need to do this using .NET.
Do I need the 2008 API?
Could this be done easier using VBA?
Once I create the dll how do I use it inside AutoCAD?
How do I grab the layer data for studs and braces?
I have a few dozen variables that I am trying to store for use at the command line. I can only append to input area with the actual quickcalc open, how i can reinitialize the global variable list?
View 9 Replies View RelatedMy goal is to be able to store any object type (mainly an image jpg/bmp) inside a part that is not accessable through the normal user interface to be used with my addin.
I have been searching around and it seems like GetPrivateStream is the way to go.
Any working example of GetPrivateStream in vb.net and confirm if it actually stores the data inside the part.
I can't find a solution anywhere or any decent referencing material for this. If there is a better method of achieving this?
I am creating a schedule with a .dxe file, which extracts data from attributes into a schedule. Is there a way to link this file so it is a "relative path" instead of a full path. IE: The .dxe file is liked to the same folder that contains the current drawing, not linked to my C:/AutoCad drawings/Job Name/folder2... I really want to be able to move the drawing and .dxe to a different folder and not have the link broken.
View 4 Replies View Relatedthis dwg file data reading with c#?
View 9 Replies View RelatedI have been trying to create a contour map from survey data my group collected for a project but have not had much luck. I have all of the data in a text file (that is set up correctly) with the northings, eastings and elevations. I can get that to import the points and it is correct but I cannot get the contour lines to draw. I need the intervals to be .25ft with a major line every 4. there is about 1600 different data points.
Steps to create them from a text file? To get the points in the file i used "_MAPIMPORT"
also, the data is in an L shape so how to create a boundary condition to only contour that L shape and not try to connect points on opposite ends of the area?
I am trying to import a Shape file and extract the attribute data associated with the 'lines' (sewer pipes) into text format.
for example a pipe has an attribute showing the pipe diameter and intead of having to manually type it out I would like a way to extract that information.
Is there a way to do it? Whether using a specific method during the importing of the Shape file or another process?
*I use AutoCAD Map 3D 2011.
I am experimenting with a simple form of CAD/CAM and would like to be able to export the coordinates of my drawing to a data file in order to use it as an input file forthe CAM system. I am running AutoCad 2000 and would expect to be able to have this option available under the Plot command but have not been able to see how it can be done. For example, taking the simple case of a rectangle, I would like to be able to write to file the coordinates of the four corners of the drawing.
View 9 Replies View RelatedCan I export the text from autocad 2012 LT to excel file.
View 1 Replies View RelatedI have collected point data for the positions of trees using PocketGIS software. The software produces a csv. file with the Northings and eastings of each point surveyed to which are attached a number of other attributes (e.g. tree tag number, height, species etc.).
Is it possible to import and plot these points directly into AutoCAD?
Can some or all of the attributes be included (i.e. it would be very useful if the positions could be plotted together with the tag number)?
I am trying to convert Store Floor Plans to DXF format for use in JDA software. Problem is, the part number attribute on the fixture (fixture is a block) is visible when you pull the DXF in on the other software. Is there a way to turn off attributes without losing them before I convert the file from AutoCAD? I will be pulling the files back and forth between both software programs.
View 1 Replies View RelatedWhich is the preferred database to store survey points?
View 2 Replies View RelatedHow 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 RelatedI want to export my slope - table - legend to an excel or txt file.
(Of course only the values)
Civil 3D (2013)