AutoCAD 2013 :: Updating Block References Resets Block Table Selections?
Sep 4, 2012
We use a number of blocks with block tables for data extraction here, and whenever one of the blocks is modified and updated, all of the block tables reset to the default value. This happens for any block reference change, not just changes to the block table (which makes sense that it would reset).
How can we update these blocks without having to manually change all of the block tables afterwards?
View 2 Replies
ADVERTISEMENT
Jan 9, 2014
I have a block that has to be update in a bunch of drawings -more than 20-. I updated in only one drawing, apply coy paste to the following but the block does not update in the drawing that I am pasting my new block. How is possible to update this block in the following 19 drawings?
View 4 Replies
View Related
Sep 6, 2012
I've made a block with fields linked to attributes (so when I change the value of the "master" attribute, the field values will change).
*NOTE* the fields are contained within a piece of MTEXT and NOT within another attribute.
The fields will not read the "value" of the attributes they are connected to, unless I explode the block (and change the DEFAULT value), or use regular text instead of attributes.
FIELDEVAL - set to 31
UPDATEFIELD - returns: "2 fields found, 2 fields updated" but it doesn't actually update them.
Regen/Regenall/Save - does nothing
BATTMAN - SYNC - does nothing
Lastly, I noticed that if I use "loose" text outside the block, but still link the fields (that are inside the block) to that text, they will update when I change the text contents after regen. AutoCAD is just having trouble using fields+attributes.
View 9 Replies
View Related
Nov 23, 2011
My boss gave me a copy of Autocad 2012. I've messed around with architecture 2010 before so the ribbons are no surprise. One thing I have noticed that's really different is the dynamic block constraints & block table actionblock properties table? I looks very similar to the lookup property table
View 0 Replies
View Related
Mar 7, 2013
It's about "Block Properties Table",I want to use a Block Properties Table to manage a Dynamic Block.
I have defined a Dynamic Block a and its Block Properties Table in Autocad2010,this is the screenshot of the Block Properties Table(a1:d1=100,d2=200;a2:d1=100,d2=400;a3:d1=100,d2=600.) Now I want to insert the Dynamic Block using .NET API.after I input a command,the block of a2(d1=100,d2=400) is inserted. I have the code about it, but the code is not complete. this is the Dynamic Block
this is the the screenshot of the Block Properties Table .
the result:
the code about it:
[CommandMethod("readBlockTable")]
static public void CmdReadBlockTable()
{
Editor ed = Application.DocumentManager.
MdiActiveDocument.Editor;
// select a block reference
[Code].......
View 8 Replies
View Related
Aug 25, 2011
So I'm creating a block with a block table and constraints. The constraints such as Geometric Constraints work just as assumed. When adding in dimensional constraints we start to have more fun. So I have dimensional constraints that use other dimensional constraints to manipulate itself.
EX. dimconC = (dimconB-dimconA)
dimconA is 12
dimconB is 14
dimconC would be 2
Now when ever dimconA or dimconB change dimconC would populate accordingly.
With this I wanted to make an attribute that could be placed in instead of a dimensional constant.
EX dimconC = ((Att1*dimconB)-dimconA)
Att1 is 02
dimconA is 12
dimconB is 14
dimconC would be 16
However when trying to place in formula that references a attribute I keep getting an error "A DEPENDENT EXPRESSION CANNOT BE EVALUATED" So I assumed it was missing an expression from the attribute, however once entering an expression in for it I still get the same error.
(full error message attached)Constraint_Error.JPG
Is this something that is not allowed at all or have I over looked something?
View 2 Replies
View Related
Jan 18, 2012
What are all the block table records?
I've got Model Space & Paper Space(Or Layout Space) under control.
I've got two block reference instances of the same block on a drawing.
If I purge the Drawing the older duplicate block reference disappears.
7867 is the older reference that disappears when I use the purge command.
78A7 is the newer reference, I only want to see this one on my extraction of attributes.
What property of the block reference will tell me that it would be purged if I used the purge command?
As I want to detect what's the old block and which one is the current block reference.
The problem is I only want to extract the attributes from the newer block reference.
The old block reference is coming up... how can I filter that out of my loop results?
I know I could just purge the drawing and my problem would be done with.But I need to do this in a manner that only accesses the drawing from a read-only manner.
View 7 Replies
View Related
Dec 11, 2012
Is there a trick in using a dynamic block in a table cell? When a dynamic block is inserted into a cell, any visibility can be viewed (Properties Manager) in that cell if the visibility state has a block in it. What happens if the visibility state does not have a block. That is, if the view has exploded block so one can use parts in actions etc? Can I view ANY state in a cell regardless if it has a block or not? Or must the visibility states have blocks to be able to use it in the table cell?
View 2 Replies
View Related
Feb 18, 2013
How to flip the direction of dimension constrains in “block table”,
In the screenshot below, the default direction of dimensions constrains are given in the direction of digitizing (by design)
How this direction might be flipped?
For example, in the ArcGIS software, one can see the direction of digitizing as well as flipping it
Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
View 4 Replies
View Related
Feb 9, 2012
I was able to take the attributes from block references in independent .dwg files and and bring them across to a new drawing via import. At this point, there are a few attributes that I would like to be able to add to each block reference once it's created. I've designed a GUI where users can input data, and this input (string data) I'd like to add to the block reference as a tag and a corresponding value.
The basics I understand are to create an attribute reference object. Set the properties / parameters for this object (tag and value (originally as a string) and them append the attribute to the block reference. What i don't know how to do is to actually create the new tags and values in the code so that they can later be appended. I'm in C# and so far i've got this:
foreach (ObjectId id in blockBtr)
{
if (id.ObjectClass == RXClass.GetClass(typeof(AttributeDefinition)))
{
[Code]....
View 6 Replies
View Related
Dec 20, 2012
Is there any way at all to explode all block references in a drawing so that basically all block references no longer exist and they're just sat in their relevant layers.
In short... exploded :p
But I mean one way to get ALL of them.
View 4 Replies
View Related
Jan 24, 2012
I'm having is that this is happening with a dynamic block. I don't know how it got this way...some 'genius' in my office went into this file and screwed something up, and saved it...so now I'm left with the task of fixing it.
When I go into the block, it opens as a regular drawing, with a dynamic block inside of it...as opposed to opening in the block editor. I just need to know how to get this back to the way it should be, without having to redraw the entire thing from scratch. I made a few scrap-copies of the drawing to fool around with and I can't find a solution. I tried deleting the block and purging it, I tried exploding it, and I tried saving it directly from the block editor...nothing worked.
View 5 Replies
View Related
Jan 24, 2013
I am in the process of fixing one of our dynamic blocks. It's a fairly simple fix where there was a typo in one of the names of our items in the lookup that needed to be fixed.
I changed the name of the item in the lookup table. I went and did the test block and it seemed to work fine, but when I bring the block into a drawing, it reverts back to the old lookup as if I did nothing at all.
I made sure that the path was correct and I even just dragged and dropped straight from Windows Explorer to no avail.Does AutoCAD keep referring to the old block? Did I forget to change something else?
View 3 Replies
View Related
Dec 3, 2012
my problem is whenever i make a new block a stretch point appears even if its not a dynamic block . also its not a stretch point, because when i click on it, it just move the block , and it always appear on the coordinates 0,0 it cause me a problem when I insert the block , autocad use this point as a base point , and its very far from the real block .
View 1 Replies
View Related
May 30, 2013
I have 2 drawings with the following content :
Drawing 1 : Contains tree blocks that have a specific scale dependant on the tree size
Drawing 2 : Contains a block with just a point and attribute data about the tree (name, size etc.)
This block is approximatly at the same location as the tree block (0,1 m precision)
Problem I want to join these two items together. In other words, in the tree block that is scaled correctly i want the attribute data with the name, size etc. These blocks don't have a corresponding unique number or something like that.
View 2 Replies
View Related
Mar 22, 2012
I have a problem with selecting all references to a specific dynamic block. When I use the filter below only block “D2” is selected, which is not a dynamic block, Block "Bulb120227” which is a dyn block is not
Dim values() As TypedValue = { _
New TypedValue(0, "INSERT"), _
New TypedValue(-4, "<OR"), _
New TypedValue(2, "D2"), _
New TypedValue(2, "Bulb120227"), _
New TypedValue(-4, "OR>") _
}
How should the filter be done to filter out the dyn block that I want several block should be filtered out in one selection.If it is possible to achieve with just a filter at all?
View 7 Replies
View Related
Nov 25, 2013
We have generic drawings of assemblies we use in layout drawings as standard details. We insert them as blocks with one or two dimensions that vary (geometry remains the same-these are just representative for information).
We could define these as attribute values so that a user types a length that displays in the drawing but if we wish this to be part of a dimension we would have to explode the dimension to manually replace the mtext dim value with an attribute tag.
This seems unsubtle so I edited the dim value to be a field referencing the attribute value and made the tag invisible. This worked in the drawing-the attached shows the attribute tag ALL THREAD and the resultant dimension text (as a field value) replaced with the default value LENGTH.
When the drawing is inserted as a block it duly prompts for a value for ALLTHREAD and any value can be typed-`1200, 3500, 1672 etc. but the dimension does not update from the default value LENGTH, even after using attsync, regenall. So, if the drawing recognizes the attribute then how come it cant recognize the graphic via a field reference and update it? Is it buried too deep in the database hierarchy for LT to make sense of it maybe?
I dont want to explode the dim but it looks like I may have too if this cannot be made to work.
View 2 Replies
View Related
Feb 6, 2013
I have created an annotative block. This block is displayed in a few different viewports at different scales. After I create the block I go and check the viewports and it is displaying well. The linework (polylines and a circle) is annotative as is the text in the block.
However, if I then change the scale/annotative scale of a viewport, the block doesn't seem to update properly. The text within the block updates to the new size although the linework within the block doesn't seem to scale and resets back to the model space size.
I've tried regenning etc with no luck. Is there a command I need to use after changing a viewport scale to force annotative blocks to update?
View 9 Replies
View Related
Jul 20, 2012
I have a drawing that has about 450 identical instances of a block. The block has visibility options to show different things. I don't want to edit the block as there isn't anything wrong with it.
What i need to is update the blocks all together to change visibilities.
View 3 Replies
View Related
Jun 29, 2012
I'm working on a program that cycles through each paperspace layout in a drawing and updates the sheet number and total quantity of sheets in the titleblock attributes. I've updated the block attributes in paperspace before, and it worked fine. Now that I'm trying to cycle through each layout, I cannot get it to work. I have attached my code. I beleive it starts to cycle through the layouts, but it fails when I try to grab the attribute collection.
Public Sub UpdateSheetNumbers() Dim doc As Document = Application.DocumentManager.MdiActiveDocument Dim db As Database = doc.Database Dim ed As Editor = doc.Editor Dim layoutCount As Integer =
[Code].....
View 7 Replies
View Related
Aug 23, 2013
I have a small vba sub wich changes the color and layer of all entities inside a block. It seems to work pretty well for the majority of blocks, but then if I try that on a dynamic block, the definition is correctly altered, but the references aren't updated...
I know for a fact that the definition has been correctly modified because if I type bedit, I can see the definition is modified. Then, in the block editor, if I save the block, the references are correctly updated.
How to force references to update after I made the modifications inside the definition ?
I searched for methods within the VBA Reference and I tried blockRef.Update but it doesn't seem to have any effect.
View 2 Replies
View Related
Jul 2, 2013
Fairly versed with Dynamic blocks here, so the first thing I checked was to make sure that my FIELDEVAL was set to 31 to ensure updates but this one isn't working for me and may be a limitation of the software?
I'm making a dynamic block for my users who aren't familiar with electrical wiring so I am developing a series of blocks for our typical wiring configurations. In this instance, I've setup a pair of attributes to allow the changing of wire color codes and I want to use that single attribute entry to used in multiple other locations that are also connected to that conductor in certain situations. I have setup a field within this block to be the "VALUE" of the object (the attribute) in order to accomplish this. Unfortunately it is only displaying the default value I have for the attribute and will not update either upon insertion of the block or after an edit. Is this beyond the capabilities of Dynamic blocks or do I need to take a different approach?
Find file attached.
View 5 Replies
View Related
Jun 5, 2007
Attached is my latest block that I'm working on. how to keep a field readable (horizontal) when rotated. What I need to do to update a field that is linked to an attribute when the attribute value is changed? The UPDATEFIELD command does not seem to work on it for me.
View 9 Replies
View Related
Jul 4, 2011
So I am Loving the use of Attout and Attin for updating block attributes from a spread sheet...Currently I am producing drawings with names on desks. I have created a block with the attributes of Name and desk.
I am currently updating the drawings blocks so that I can input an excel spreadsheet with over 1500 names into the drawing using Attin (changed the .xls to .txt and roberts your mothers brother)
Unfortunately the spreadsheets I have been given have the name as one field. i.e name: Joe Bloggs, Ideally I would have the information as First Name: Joe last name: Bloggs and create two associated attributes which would enable a nicely displayed block..
is there any way that I can format the block so that the attribute displays as a multi line..e.g.
Joe
Bloggs
not
Joe Bloggs.
I know I can go into each attribute (although trying to remember that command "A something Edit" I think) and edit it like a piece of txt. I would rather not have to go and do that if there is another work around..
View 3 Replies
View Related
Apr 17, 2013
I'm trying to edit our titleblocks. There is information we repeat at the top of the drawing like the drawing name, sheet number, total number of sheets, contract number, etc. It is ridiculous to have to type this information in twice. I tried creating both text and constant attributes at the top and insert field pointing to attributes at the bottom but all I get is ---- when inserted. My inserted field was ->Object->(selected attribute)->Value. I am using version 2011. I would think it should be easy to "repeat" values of attributes inside a block.
View 5 Replies
View Related
May 15, 2013
I am trying to generate a plant list or plant legend in autocad 2004. I have block references that I have created that have block attributes such as qty, plant name and size. I know in other software drafting you can generate a plant list or parts list, but can't find the method in autocad either in help option or in my autocad book.
View 3 Replies
View Related
Jun 20, 2011
Ok over the past few weeks I've got pretty much most of the Dynamic Block stuff down except this feature.
I've attached a drawing. In the middle I used VISIBILITY to have all the different weld types. I need something at the end to where Weld Tails can be added if they're needed but you can only use one Visibility per block. I'm also going to need something at the front of the block for different symbols like "Field Weld" and "All Available". If I can figure the Tails out then I can do the other one.
View 0 Replies
View Related
Jun 8, 2012
Here is what i would like autocad to do
I work in architecture, and every time i create an opening (door, window) i add a block next to it with an attribute to the reference number
I was wondering if it would be possible when creating that little block to give it more information and later on extract the information from it to a table
Ex: door 106-02, steel finish, 3'x7' , isolated, steel frame, 2" thick etc.
View 0 Replies
View Related
Jan 22, 2012
If it is possible to set a block's dimensions to read a table's cell value. Say a rectangle has dimensions x wide by y tall and a table has the x and y values given in cells a1 and b1 linked from an excel spreadsheet.
I would like to link it like this because i have an excel file that will update and then output to AutoCAD. Is this possible and if so how? I have figured out how to link the excel table into AutoCAD. I am using AutoCAD 2012.
View 3 Replies
View Related
Dec 10, 2013
I've created this dynamic block for work. Its an overhead cupboard with 4 doors. My problem is that when i create a table through data extraction the value for the length and height for the doors aren't shown (The column this there with a heading, no value), the length of the cabinet and visibility is though. Do i need to assign an action or something for the value to be displayed?
View 6 Replies
View Related
Aug 15, 2013
I have a recurring problem that I can't seem to figure out. I have my existing grade TIN surface as a data shortcut into my roadway design file, but it sometimes will not update when opening the drawing. The surface profile will not display until the surface is manually synced. Any labels that are associated with that surface (or other object) will just display the ??? because it can't seem to connect to the data. After a manual sync it seems to come back.
View 9 Replies
View Related