I was given a C3D file with a road alignment including sections. But the all the road data is a block. Is there a way to retrieve all the data in order for me to do some quanities for my estimates on material volumes. When I go to the prospector tab, there are no points, surfaces, or alignments listed.
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.
say you make some parcels in your project with custom data fields like: id_no, permit_no, acres_served etc. you attach an agency provided shape file via an fdo connection that has many fields of information like above.
when you right click on your parcel and do parcel properties you get a tab that lets you input the custom parcel data.
lets say you print an fdo map label showing, say, the id_no, provided in the shape file. Then in your custom parcel properties for id_no you type that in.
is there a way to make an expression to put in the other custom parcel properties that will read, say, the permit_no(id_no) from the fdo like and put that information in the custom parcel property field?
I'm having problems getting super elevation data to transfer to different drawings by means of an alignment data shortcut. I know alignments hold the super elevation data so I've gone into my alignments data shortcut, input my super elevation data, saved and closed. Now when I open my finished grade drawing, reference in my alignment and profiles, then create a corridor from that information, my super elevation didn't transfer with the reference.
I pulled cross sections and it appears is has no clue there is any super elevation data. Also, I tried bringing it directly into the drawing I'm doing my corridors in and it erred saying I must be in the parent alignment drawing. Data shortcuts are pretty much useless to me if super elevation data doesn't transfer.
64 bit Windows 7 Intel Xeon (R) @2.8GHz 6.00GB Ram Civil 3D 2012 Civil 3D 2012 Intel(R) Xeon W3530 @ 2.80GHz 6.00GB Ram Windows 7 Professional
i have created a data band in profile view that should show a created profiles elevation, but some of the the data fields are missing irregulary. Also in the data band that shoud show the diferenece betven the tow profiles - EG and the new profile the data is missing. The EG profiles data and the surface are ok all is shown.
I've just installed Civil3D, 64-bit on windows 7(running on bootcamp) and am trying to insert a georeferenced raster image but have encountered some issues.
1. "Home tab>>Data panel>>>insert An Image" - The data panel is missing and it's also not found in "customize palettes"
2. Trying the data connect route does not work either: Display manager>>>Data>>>Connect To Data - There is no 'Data' option and I cannot connect to Data.
My company produces drawing sets that show the same information in multiple places. I.e. an attribute in drawing A is also shown in a different block in drawing B and a different block in drawing C and in a table. This creates problems in that as soon as one piece of information changes, you have to change it in 14 places... and it creates typos. A LOT of typos. So I'm trying to come up with a good solution as to how to link these pieces of information.
I know how to use data links in a table... but is there a way to link block attributes? Also, am I just barking up the wrong tree? Because in my head, you'd have to manually link all of these things for every new drawing, and they can be easily broken.
Start with a new drawing Drawn a rectangle. Place a block which has an attribute with a number at each corner. ie. 1-4. Convert all objects into one single block. (the attributes become nested). If you use data extraction and retrieve the attribute number, position X and position Y, and output to a table the information displayed is correct. HOWEVER, if you rotate the block and update the link the coordinates become incorrect? This seems to be an issue with nested blocks?
I am new to this company, we manufacture and build panelised buildings. We are 3 users in the drawing office, we all have Pallettes set up in ACAD and our pallettes all reference the same block files on the server.
We do Data extraction when we move into the production phase of any project and we extract all block information into Excel.
The problem is that when these blocks were made very little thought went into the naming of them. So now when ACAD produces a list of the blocks on the drawing I have electrical, plumbing, fittings etc all mixed together, making it time consuming to sort through them and put them together in their separate spreadsheets.
What I am hoping to do is go through our library of blocks and rename them all, simply giving them a single letter prefix at the start of the file name IE E - Single plug, P - Tap, D - 826 Door etc. The problem is obviously if I rename them then all 3 users have to reassign each individual block again to their palettes.
I have questions about exporting data for drawings.We make use of spaces to create a list with room numbers, room use and the area.
we also create plans with office furniture.we have blocks with attributes to extract data like workstation numbers, department, roomnumbers etc.for the info from the spaces we use export property data to create an database file.for the export of the attributes we use dataextraction to crete an .xls file
Is there a way to combine the work so that we can export the attribute data with the export property data?Is there a way to link the blocks (who are within a closed pline) to the pline (space)? Can it be done with lisp or VBA?
I need to create a small table to ID the User, Computer name, Door Key, etc for a floor plan drawing of our office. I'd like to get this done in Excel and link it all so the bldg manager can make changes to the drawing without me. I have created the excel file and created a "name set" in excel for each room. In Autocad 2013 I have inserted a table from a data link and pointed that link to the named range of the room (the named range in excel is an 8 cel block with al the info I need repeated and uniquely named for each room.
This works great...so my next step is to create a block out of the table and make the DATA LINK a variable attribute...that's where I'm stuck. i cannot figure out how to do this. I would love to be able to INSERT BLOCK and have one attribute question...ROOM NUMBER?. That should look to the excel NAMED SET the corresponds and populate the table.
I wanted to get a few opinions regarding exporting data.
We are working with AutoCAD 2013 Vanilla.
We have dynamic blocks with attributes that contain the block Name, Size, Color, material etc...
What is the best way to export the information?
Schedule and linked to a spreadsheet?
(I have experience with schedules but not so much with linking to spreadsheets)
DbConnect? (I know very little on this)
Another way to ask the question;
What is the best way to export the data that I can successfully train 20 designers on how to do it correctly.
So part one is determining the best method,
part two is training a group of designers to use it correctly.
I worked on getting a schedule out and linking to a spreadsheet but even after talking to my reseller support I feel that is too cumbersome. I would like a more streamlined process, you know the one, click here and presto!
I design all of the architectural metal used on most project homes being built in Sydney at the moment.
I draw up balustrade and screening etc.
Basically what I have is a huge collection of complex dynamic blocks that I insert into my drawings, I then change all the variables to suit.
These drawings are then dimensioned, and a parts list manually written out based on the lengths etc of each type of material.
All of these drawings are exact reproductions of what is produced on the factory floor, so it is quite easy to identify the parts, but rather painfull to manually write out a cutting list.
I'd like to add attributes and/or fields for material type and length to each of these dynamic blocks, which update as the blocks are manipulated to the required sizes.
where I get stuck is that there are multiple drawing methods used to create these blocks, and I cannot seem to figure out exactly what I should be naming, and assigning length fields too, or even how to extract or what to extract!
When I extract the data, I get a mess of conflicting and confusing information that is impossible to sort correctly, as I can use the dynamic parameter field for some, but not others, and on others it is a simple line, but on others again they are polylines and the length is useless to me.
I have tried to creat a block with an attribute for each and every individual part, but when I combine these into a complex part and try to assign dynamic parameters as a single dynamic block, the previously blocked and named parts wont behave correctly.
Im not sure if im making much sense here, but in my mind it all seems simple enough, I just cant get it to actually work with my exsiting blocks...
All im really after is a simple BOM, for example, I have a dynamic block with the Style code A0-1, when this is inserted I change 3 different lengths depending on the job. This style code is made up of several components such as a 40 mm square post (coded 40SQ), an 80 sq baseplate (coded PF2) and a 50 x 25 mm handrail (coded HR5025).
I need to extract a length for the 40 sq post, a length for the 50 X 25 handrail and an item count for the baseplate.
There may be 25 of these in a drawing, all at different sizes.
The dynamic block works perfectly for drafting, but not so well for data extraction.
There are over 1100 of these dynamic blocks, created over the last 2 years, and the only missing piece in the drafting puzzle is the extracted cut-list to save a large amount of time, and I just cant get it working.
Is there a methodology I need to learn here? will I need to re-create these blocks to allow for extraction?
I have explained to my boss the theory behind all of this and he is keen for some working examples that the monkeys on the shop floor can read and understand, and Im stuck creating an extraction template that can work, even if just for proof of concept that I can refine over the next few months.
I know ACAD can do this, I know my brain has all the data, I'm just not getting the ACAD>BRAIN interface working here.
I work at a machine shop and have a Dynamic Block setup with quite a number of Blocks in it where I can choose whichever tooling I am working with to place into a drawing.
I am also Data-Linking parts of the drawing to Excel that has information fields to be updated in the drawing for these same toolings.
I would like to setup my drawing so that when I update the data links from the Excel spreadsheet the Dynamic Block I mentioned will also be automatically updated and display the appropriate block drawing for the tooling retrieved from Excel.
I work for a company that makes sheet metal cabinets. Each cabinet we construct has 17 parts that all different different blank sizes and notching. I have a template for each part right now that I have to shrink or stretch to the appropriate size every time we get a custom size order.
What I've created so far is an excel spreadsheet that determines the sizes of all the parts based on the overall height width and depth of the custom cabinet that was ordered. Any way to define a parts properties with a dynamic block and get the width depth or height imported in from the excel spreadsheet to automatically adjust the size.
Seems like Multi-View Blocks are like that hot red-head in high school that you really want to get to know until you get to know them.
I made a bunch of blocks for my electrical plans. Annotative symbols for plan view, 3D blocks for model view, and elevation blocks for elevations. I then started creating the MVBs.
Upon insertion the annotative blocks appear super small and the model view blocks scale way up. The model view blocks are not annotative and are not supposed to scale at all. It seems MVBs see any block inside that is annotative as an indication that the entire MVB shall be annotative. Fustrated, I finally found a work-around that is a bit half-arsed:
I made another block as a sort of holder for the annotative symbols that was set to not be annotative and inserted that into the MVB. VOILA! the MVB itself doesn't scale, but the annotative symbol inside the non-annotative block does. This works fine except for one caveat: I can't edit attributes that are in blocks inside of blocks. If I made another block to use in the MVB for the attributes, it would work, so long as I don't make it annotative, which isn't what I want.
So, A) is there a better work-around than the block-in-a-block-in-a-multi-view-block method, or B) Is there a way to access and edit attribute data of sub-blocks inside a MVB?
Maybe my next thread will be about red-headed Multi-View Blocks with carpets that match the drapes.
i am searching for a lisp for data extractiion from selected blocks. Here Iam attaching sample blocks drawing for reference. These blocks containing visability features. I need output excel in the below snap shot format.
I found a lisp to get block attribute data to a other block. See attachment. I can only apply it to one block. I like to apply it to selected blocks or blocks in a group. Is this possible?
I created a sketch then tried to retrieve dimensions in a drawing from the sketch. When I used the retrieve function, no dimensions appeared. I made sure that the box in the Application Options under the Tools tab was checked for retrieving all dimensions upon placement. I have tried numerous ways to retrieve the dimensions, and while I can place them manually, I really need to be able to retrieve all at once as seen on the sketch.
I have been able to use the retrieve function before on files that I downloaded from a website so I know to use the function.
I'm attaching a file which I am having trouble retrieving dimensions. I am using Inventor 2013 educational version.
This error happened to us, when we tried to get the active layout from the acad document. We are using AutoCAD 2009 & C#.NET 4.0 Framework.
The error is as below:
Unable to cast COM object of type 'Autodesk.AutoCAD.Interop.Common.AcadLayoutClass' to interface type 'Autodesk.AutoCAD.Interop.Common.IAcadLayout'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{C6F55F5A-33AF-4B5F-9949-86C6AEEF1834}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
The piece of snippet looks like the following
using Autodesk.AutoCAD.Interop.Common; AcadApplication acadApp = (AcadApplication)Marshal.GetActiveObject("AutoCAD.Application"); AcadDocument acadDoc = acadApp.ActiveDocument;
//The following line throws the error as stated above
But it can be accessed if we change the property " Embed Interop Types " of DLLs (a) Autodesk.AutoCAD.Interop
(b) Stdole
from True to False
But again it throws the same error when we try to retrieve any methods from the retrieved AcadLayout. The whole application works fine with AutoCAD 2012 after re-referencing the DLLs.
I am using an AutoCAD 2012, when a revised Xref floor plan was send but on a binded file. How to declare or make an Xref file based on the binded file????
I am working on extracting information from DWG with extended Property Set Definitions. I have added Location Property on my Door objects, and would like to retrieve it in my application.
Definition as shown in AutoCAD > Manage > Style Manager > Property Set Definitions
DoorObjects Property Set Name: AtSpaceID Description: Space - SpaceObjects - SpaceID Type: Location (becomes Automatic inside .NET API code) Source: Space - SpaceObjects - SpaceID Space Objects Property Set Name: SpaceID Description: SpaceID Type: Integer
I have tried the .NET API. see Code below. I am stuck at Property Definition Location. Not too sure where I can retrieve the value for my At Space ID at my Door Objects.
I tried the following code below and it throws error such as eInvalid Input or eNot Applicable.
Part of my code
Door doorEntity = trans.GetObject(doorObjID, OpenMode.ForRead) as Door;ObjectIdCollection idsPropSet = PropertyDataServices.GetPropertySets(doorEntity);foreach (ObjectId idPropSet in idsPropSet){ PropertySet propSet = trans.GetObject(idPropSet, OpenMode.ForRead) as PropertySet; PropertySetDefinition propSetDef = [Code]........
I am opening a drawing file whose units are already set to "Architectural - Inches".When im retrieving the coordinates of lines present in drawing it is returning in some other format.How do i change this.Or how do i know in what unit system the values are being returned.
I need to create and maintain a library of hole features of varying shapes and sizes (there will only be around 10 variations). The goal is to be able to programmatically retrieve a feature and then place it in the current part. Ideally I would like to be able to assign each an ID to each feature that I can use to programmatically retrieve it.
My first thought on how to achieve this is to have one master part file that contains all of the features. When I need one I can open that file and somehow copy the appropriate feature and then place it in the target file.
Or maybe it would be better to save each feature in its own part file? I'm not so much looking for code as much as general guidance on whether either of these approaches sound reasonable. Maybe there is a better way to programmatically store and retrieve features from a library?
I have already developed my VB.NET Windows Form app (.NET 4.0 in VS2012) which does some Windows operation on roughly hundreds of AutoCAD drawing files(e.g. purely copy/move/rename type of actions).
Now I need to tell my app to communicate with AutoCAD 2013 and collect some attributes from a specific existing block in all of these drawings and then replace the collected values with some other values passed to AutoCAD by my Form application (see diagram below)
I had a look to couple of AutoCAD .NET blogs and realized how to make DLL files and leverage NETLOAD tool in AutoCAD afterwards but I am afraid DLL files and NETLOAD are not what I am looking after .
I would like to clearly know what is the best pathway to achieve my goal described above.
What about creating an AutoLisp selection set from .NET - is it possible, if so I would prefer to do that instead?
The goal is to create some objects in .NET (using activeX or managed code) and then have some way to access these objects via the command line I'm assuming they only way is using an AutoLISP selection set.
Having tested it in different ways, it looks like at the end, el1 represents the association list that I want my object to have, but it doesn't want to update.
I am modifying stuff in a dynamic block insert entity. There is no "endblk" entity at the end of these definitions and I need to cycle through every entity within the block definition. When it gets to the last entity, I get an error because you cannot entnext passed the last entity. There are 2 things:
1. How to retrieve the # of entities in a block without cycling through it. Or 2. A quick lesson in the *error* function, I cannot figure out how to implement this. I basically want to to say:
(if (entnext myent)) returns a error, don't abort & continue on.