AutoCAD Map 3D :: Attribute Data Editing By Adding Interval To Number
Jul 30, 2012
Is there a way to edit the an attribute data if it is defined as number to add a value of .3 to the number being displayed in this attribute box. The feature is a point and i'm looing to add the .3 value to elevation attribute value that weren't pulled from a surface or created using object data.
View 1 Replies
ADVERTISEMENT
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
Apr 24, 2012
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.
View 3 Replies
View Related
Jan 20, 2012
Is it possible to add data to a feature data table? Example: The shape file data downloaded from NRCS only has the Soil number for the State. As I check out features I would like to add data for the soil name, soil group, etc. as additional columns in the data table and have it available in the future by checking the feature back in to my local information.
View 2 Replies
View Related
Oct 17, 2011
ACAD LT 2006
I have various blocks with a letter assigned to them as a type. Problem is that some blocks are the same one but have a different letter as an attribute.
Is there a way to extract the number of blocks by a different attribute?
View 0 Replies
View Related
Jun 7, 2013
I am creating a series of Blocks representing cable terminations with labels at each end for terminal number, wire number and wire color for each twisted-cable pair, ie six labels for each pair. There will be blocks for cable configurations with different numbers of pairs. Having created the first block for a single pair, it should be easy to develop the multiple pair versions by copying the elements and renaming the labels, but I have to edit each attribute definition individually - is there a way of globally editing the definitions in the same way that you can edit attribute values when the block is used; eg if I have attribute Tags T1, W1, C1 and want to rename them to T2, W2, C2?
View 3 Replies
View Related
May 10, 2012
I'm trying to add an attribute to an entity, however it seems that the AttributeDefinition requires a Point3d and as such appear in my modelspace. I don't want this, i just wanted it to appear as an attribute with a value when i click on my entity, is there any way of making it so that i does not add into modelspace?
BlockTable bt = (BlockTable)trans.GetObject(db.BlockTableId, OpenMode.ForRead);for (int i = 0; i < prSelectionResult.Value.Count; i++){ // Get the entity the user had selectedEntity ent = (Entity)trans.GetObject(prSelectionResult.Value[i].ObjectId, OpenMode.ForWrite);if (ent.GetType() == typeof(BlockReference)) { // Add attribute to layerBlockReference blockRef = (BlockReference)ent;.
[code]...
View 8 Replies
View Related
Jun 19, 2012
I have a simple hexagon block with one attribute, i need to be able to copy it and as i do it increases the number by one.
the Block name is note1-2006 the attribute name is NOTENUM. I have tried using some other Lisps but i cant ge them to work. Sometimes i have to put 40 of these on a sketch i hate copying and changing the attribute by one everytime. so it would be nice to copy and as i pick mutliple spots it increase number. Dont know if there is a way to ask user to keep same number or increase. This would save me so much time.
View 9 Replies
View Related
Sep 8, 2011
I have a simple block that consists of a point and an attribute that contains the point number. I want to generate a table with point number from the attribute, and x, y and z of the block's insertion point. I want a routine that sets out the blocks and then create the table. The first part of the routine I have (in LISP), I need it to generate the table. I was intended to use the -DATA EXTRACTION but unfortunately it does not allow me to select objects (blocks). Are there other ways to do this? I'm using AutoCAD 2011.
View 5 Replies
View Related
Nov 11, 2011
I currently have a LISP routine that will replace the value of a specific attribute name with sequential numbers in the order that the blocks are selected. Like TCOUNT for attributes - and it only looks for a specific attribute Tag Name called "ID".
However, what I want it to do now, instead of just putting the number into the attribute value, I want the number to be a suffix to the existing default tag value of the tag named "ID" which is "ADDRESS:" for some blocks and "ELEVATION:" for other blocks but the tag name that the routine always has to filter for is "ID". That way the user can pick anywhere on the block - not being forced to pick the tag we want to add numbers to.
What I need the new LISP to do is append a space and then a number to the existing tag value in the block, so that the result would look like "ADDRESS: 1", "ADDRESS: 2", "ADDRESS 3" or "ELEVATION: 1", ELEVATION: 2", etc. depending on whatever the default value for the tag "ID" is.
there are several hundred different block names - but they all have a Tag Name of "ID" - whose default value is sometimes "ADDRESS:" and sometimes "ELEVATION:".
View 8 Replies
View Related
Sep 26, 2013
I am basically trying to determine how many lines are in the mutliline attribute. I have abandoned the idea of directly trying to find the the number of lines and have moved on to trying to fine the height of the multiline attribute. I have included the lisp and sample drawing that will draw a box of the boundingbox around the mutiline attribute.
This block as originally a dynamic block that different visual states. I have tried using the bounding box option on the block itself, however, if there are blocks hidden with the visual state, it will draw the bounding box according to the largest element in dynamic block every time. So I need to determine the height of the multiline attributes instead and adjust the dynamic block accordingly.
View 3 Replies
View Related
Sep 24, 2012
making dynamics blocks and more over utilizing the attribute feature but I have discovered some chnages tat i need to make.
My question right now is, once an attribute is created and put into the block editor is that it? Ifi need to edit it can i edit it? I don't really see an option or command right off that would allow me to do this ?
View 1 Replies
View Related
Mar 4, 2013
Possible to send attribute data that is in our title block to a schedule that is populated with property set definitions? We are not using the Project Navigator at this time.
View 2 Replies
View Related
Dec 10, 2012
is there an option that im missing to allow me to edit attributes in a block? i have set QAFLAGS to 0 and my pickfirst is set to 1.
View 5 Replies
View Related
May 16, 2012
trying to set up a system for a less advanced user.
basically they donot like the advanced attribute menu when you edit a block with attributes in them.
looking at the varriables the end user likes the Attdia set to 1 when you insert a block it then displays nice clean menu which just has the attributes you can edit.
can this be set so when you later edit a block this menu appear rather than the advance attribute editor?
View 2 Replies
View Related
Aug 31, 2011
My code add xdata to any object properly except for a dynamic block with attribute. After code excutes it disappears from screen . Even undo make strange thing. I guess I screw the database somehow. But even audit doesn't show any fix applied.
Attach is a sample drawing. And below is my code.
<CommandMethod("pppp")> _ Shared Sub test1()
Dim Mydwg As Document = Application.DocumentManager.MdiActiveDocument
Dim Mydb As Database = Mydwg.Database Dim Myed As Editor = Mydwg.Editor
Dim MyRegisterApplication As String = "My_R_Cad"
[code].....
View 4 Replies
View Related
Oct 9, 2011
I am adding a center aligned attribute to a drawing that is not open in the autocad editor. the alignment works if i call the function from the main thread like this.
[CommandMethod("center")]public void Add() { Do.AddAttribute(); }
But if the method is executed on another thread (which it is when handling a msmq message) then the attribute is added but the alignment doesn't display even though the property is set (and can be verified in the attribute editor).
private void OnReceiveCompleted(object sender, ReceiveCompletedEventArgs e) { Do.AddAttribute();}
How can i get the attribute alignment to work in another thread?
code is below:
public class Do { public static void AddAttribute() { var path = @"c:WAM444B4-002.dwg";
using (var database = new Database(false, true)) {
database.ReadDwgFile(path, FileShare.ReadWrite, false, password: "");
Transaction transaction = null; try {
[Code] ......
View 1 Replies
View Related
Sep 26, 2012
I 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.
View 9 Replies
View Related
Nov 19, 2013
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.
View 1 Replies
View Related
Oct 19, 2011
we have a block that we use to identify rooms. that block has 3 attributes: rooms name, rooms number and surface area.
A former colleague once showed me how to do this but I can't reach him... How can I inquire the data from an area and tag-it right to the surface area attribute of my block? I don't mean pick a pline, list and edit the block... it's something like pick the closed pline and the "area" data is displayed in the right tag of my block?
View 8 Replies
View Related
Feb 14, 2013
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!
View 3 Replies
View Related
Oct 26, 2012
Any routine where I could keep picking on my exit arrow blocks (showing how many persons exiting from each space) one-by-one and the program would add up the numbers. For example I pick on blocks with numbers of 2, 4 & 3 and I would get 9.
View 3 Replies
View Related
Sep 26, 2013
I am using ACAD Civil3d 2014. I have the map utility loaded
I created a drawing for a client and created blocks to represent handholes. They now need to go back to the blocks and add the HH number and fiber size. How can I add to blank att fields to the blocks so that I can send them the drawing and have them enter the information manually?
I searched around and only see solutions for adding attribute labels to the block.
View 2 Replies
View Related
Mar 28, 2012
How to choose the attribute or field data from a list?
When using the “title block”, attributes and fields to better control the information that belongs to the drawing, then it worth to have a feature that allows selecting this information from a LIST.
For example, if we need to specify “location” of the project, then it is better to have sort of list from which we can select the location of the project the same we do it in the Excel (as shown in the screenshot below).
Is there such feature in the AutoCAD? To choose the information from a list?
View 4 Replies
View Related
Mar 22, 2012
I am trying to add a set of attribute data to a block that already exists within a drawing.
View 1 Replies
View Related
Oct 31, 2012
This was my first go-around attempting to create a custom tool palette for our office. Everything was fine, the palette worked well. All of the block libraries and associated files were initially saved on my local drive. I then moved the files and folders out on the network, repathed all the items on the palette to the new area but for whatever reason when I insert blocks that have attribute data attached It is not recognizing it anymore. I am just trying to get this piece straightened out before I export the palette itself out to the network to share.
View 1 Replies
View Related
Oct 3, 2012
I am currently trying to make my AutoCad more powerful as a tool of Engineer but not Draftmen (My boss never thing about it, I could only get a standard AutoCAD, not AutoCAD-EMP).
I want to make it a tool for myself to analysis the building system, with excel (and VBA)
The first tool I wanted to create is an underground drainage capacity analysis tool. But I meet the first difficulty, how can I automatically transfer the information inside CAD drawing to the excel?
Say, There is a drainage system with 2 manhole and 1 pipe,
the Manhole have 3 attribute : Name, Model, Level, (and the X-Y coordination),
I Create a Block with attribute "Name ; Model ; Level".
and then I insert the Blocks and place it in correct location inside the Layout Plan.
How can I create some script to "Scan" all Block inside the drawing and make an excel file with data like:
Block-Serial, X-Coor, Y-Coor, Rotated Angle, Name, Model, Level.
View 3 Replies
View Related
Apr 21, 2011
1) Problem about viewports :
I am using 2011, I have created 17 viewports in one paper space, there are 2 viewports not showing anything. I deleted 2 viewports with content, then the 2 viewports which were not showing is now showing images.
I started a new drawing, drew something very simple for testing, I could create 63 viewports the 64th is not showing.
I would like to ask what it is to control/affect the number of viewports I can create in one paper space.
2) To Edit an Attributed Block
When double click an attributed block (command = eattedit), the dialog box "Enhanced Attribute Editor" disappeared !
View 6 Replies
View Related
Oct 8, 2012
I am trying to find a way to programmatically move our AutoCAD room tag attribute data to new AEC space property sets. I work in a hospital that has approx. 1 million s.f. and over 3000 rooms. Obviously a daunting task to do room by room.
View 4 Replies
View Related
Nov 16, 2012
I have a drawing template (block) where the drawing number is displayed in two locations (attributes). The same value has to be entered in both attributes.
Is there any way of "echoing" the data from one attribute to other attributes (or text objects)?
View 2 Replies
View Related
Sep 10, 2012
I have attribute data that is entered as a format of 25-6. I need to make these into feet and inches, 25'-6". Is there a way to update these attributes globally or even at least by choosing the block itself? The only thing I can think of is find and replace and I just feel there has to be a better way.
View 9 Replies
View Related