AutoCAD Architecture :: How To Access And Edit Attribute Data Of Sub Blocks Inside MVB
Mar 26, 2011
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 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!
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.
I have stored a few blocks in our library in 2D. They contain attributes such as detail numbers, elevation/sheet numbers, and side attributes for keynotes. But whenever I drag the blocks in now, instead of prompting for the information to be filled out for the attributes it only asks for insertion point and scale and that's it. it inserts the block but no text shows up, not even a default text. There has to be a setting to turn off or on.
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.
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 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?
The way it looks I should be able to edit the propertyset data though an XRef... but all the properties are grayed out. I thought it was because I also had the XRef open... so I closed it. Still the same result.
The discription says "Edit property set data in the current drawing or through external references. Add or Remove property sets."
In VBA, how can I batch convert field attributes in blocks to text attributes while retaining the blocks? Is there a simple way to univerally convert them all at onceusing VBA? The plotted values for the fields must be retained, too.
Explode will not retain the value of the field.
Burst will not work as it explodes the blocks as well.
You can right-click on the field and slelct "Convert to text" from the RCM. So I know that the process exists within CAD, just need to batch the process for a quantity of DWGs at a time - in VBA.
I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks. When I edit the block in block editor, the attributes do not show up. After I explode the block, there is no text. The attached image shows the properties of the block.
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.
I am trying to access the edit original (edit with) option to edit a photo that has not been edited yet. I right click and go through the edit menu and does not appear or is not available? Would I have to reopen it manual in photoshop or is there a way around this to access that setting? it sometimes does not appear on my already edited photos.
I would prefer not to open each photo again, as some files i do not have and were imported into the document with another computer.
Is there a way (or a “trick”) to have one attribute at two different locations inside of one block (I want to avoid filling in the same text twice when this block is inserted or edited)?
I've made annotative blocks and I've made dynamic blocks... My intent is to integrate both but I can't find a way to move dynamic block parameters separately at different annotative scales.
In other words, if I insert an annotative dimension and add multiple scales I can move the dimension grips independently at each scale. If I insert a dynamic block I want to be able to use the dynamic block's action "grips" to do the same. However, with a dynamic block, if I move a stretch action at one annotation scale it moves the action at all annotation scales.
Looking for routine for converting text to attributes inside the block?
In my drawing I hv some attribute blocks having some Text in it. I need to change the Texts inside the blocks as Attribute Texts. I am attaching sample Blocks drawing..
Is there any way to export blocks INSIDE of another dwg?
Background info:
At my company, we have a series of template .dwgs that get copied every time a new project is created. We update the template files as we create new blocks, styles, etc...
When I'm working in a specific project and create a useful block, it would be nice to export that into the template file without having to open the template drawing and insert/redefine it.
At each projects, i need to copy and paste the values of attributes of all instances of a type of block in my drawings, paste them in a excel sheet, it take so much time and is possible to make errors.
Is there hints to read a DWG as a text file and retrieve the attributes values of all these blocks ? I would give special names to these blocks, and also specific quantity of attributes, to work.
I meant Excel VBA, not AutoCAD VBA, cause i will manipulate excel sheets depending on the results.
knows a lisp to extract each attribute value from multi-entity single layer blocks to respective different user-named layers? Say tag1 value to layer1, tag2 value to layer2,entity1 to layer-entity1 .The source blocks are all in one layer containing texts and symbols/entities.
I want to make a block with an attribute. But over the attribute I want to make a hatch. So at the place of the hatch the attribute shouldnt be visible. When I make the block AutoCAD puts the attribute on top. Is there a way that the hatch will be on top?
I am asking the user to select points and insert a block at each of the selected points. On user exit from the point selection I draw a polyline connecting the blocks.
However, I cannot get the already inserted blocks to display until I complete the insertion of all blocks. How do I go about getting them to display as soon as they are inserted? The code segment below is inside a transaction and nothing appears on the screen till this transaction is committed' Pt(0 to 2) is defined as a double and is returned when the user selects a point with function
SelectPoint Do While SelectPoint(Pt) = True Dim MyPoint3D As New Point3d(Pt(0), Pt(1), Pt(2)) InsertBlockAtPoint(MyPoint3D, myTransManager, strBID, _ myBlockTable, CurrentBlockSpace, dwg, True)' strBID is a previously populated structure containing data about the block insertion details and Xdata to be added to the block reference Dim MyPolyPoint3D As New Point3d(Pt(0), Pt(1), 0) myPoints.Add(MyPolyPoint3D)' myPoints is a data set used to plot the polyline
Is there a way to put constraints on text and a rectangle? I'm trying to make a block so if i change the text the rectangle around it grows automatically. I know it's simple enough to just manually extend it but one of my engineers asked me to try and create this for him and i can figure it out.
I have an attribute definition and I need to add its value to an mtext. I added it in mtext insert field it is ok, every thinks work fine it is only needs a regen but it is not a problem.
The problem is when my mtext and att in a block regen does not work in model space, I had to enter block and regen. Is there any way to do it without entrance in block editor?
How do you edit attribute tags (only) and retain the values of the attributes? When I try to redefine a block the attribute values change with ATTSYNC.
Using Enhanced Attribute Editor one can set attribute text rotation to 0 when the block is rotated. But it must be done for each block individually. Is there a way to do this for several blocks at the same time or globally?
I know making block or text annotative does it but it requires redefining block, something I do not want to do.
I need a rectangle block which on insertion prompts me for some data (name/tag/item number) and then displays it (this I can do). This is al pretty straightforward. But I also want to be able to fill in width and height and then have the block stretch to the correct size. So basically what I think I need is to have the value of a parameter refer to the value of an attribute. I've gotten it to work the other way around, where the attribute displays the size of one side of the rectangle (after stretching and regenerating), but I'd really like to have it working the other way.
I've created a dynamic block with two visibility states. The second state is a copy of the first state, but some of the attribute definitions have been moved, along with some of the geometry.
When I insert the block, then toggle between the two visibility states, the geometry changes as I would expect, but the attributes stay in the position dictated on the first state.
How can I make sure that the attributes move for the second state, as I need them to.