AutoCAD 2013 :: Why Do Fields In Dynamic Block Require Regen To Update
Mar 20, 2013
I created a dynamic block to represent a room in a floor plan. It displays the dimensions and area of the room and can be stretched. But it's defeating the whole point of being dynamic. The area won't update unless I do a regen.
I've seen comments blaming MTEXT for the problem, so I tried putting the area field in a line of TEXT or DTEXT. It still didn't update unless I did a regen.
Infrastructure DSP '14 / Product DSP '14 / Vault Professional 2014
Dell Precision T1650
Windows 7 Professional SP1 64-bit
Intel E3-1270 V2 3.5GHz / 32G RAM
Nvidia Quadro 2000, Driver 331.82
Space Navigator, Driver Version 6.17.7
View 9 Replies
ADVERTISEMENT
Aug 31, 2012
I have a couple of attributes suing fields within a block. But they don't update on opening. I need to do a manual field update to get them updated to the latest values.Tried various combinations of "fieldeval", but this was no good.
View 5 Replies
View Related
Dec 18, 2013
If I do a command such as regen, or switch between tabs/modelspace, generally anything that seems to involve a screen update, then immediately following that if I try something like a Shift-Tab type of operation, there is no response from autocad until I move the mouse. This is consistent if hardware accelertion is turned on or off, so I can't go blaming the video drivers just yet.
ACad, MEP, 3DS Max
Windows 7x64
X5482 @3.2Ghz 8Gb Ram
Quadro FX1700
View 4 Replies
View Related
Apr 21, 2013
Attached drawing file. What I am after is the ability to be able to stretch the length and/or width and update the two feilds depending on the new distance. At the moment each time I specify the distance parameter as the object it works then when you close and test the block it just shows #### as if that object no longer exsits.
The second problem is i am trying to be able to stretch the comms rack width and to update the door to the rack (the dashed part of the block) to the same length as the width of the rack. Ie atm the rack and door is 600mm and 600mm if the width was updated to 800mm the door will also scale to the same. I attached example in white just below the block.
View 6 Replies
View Related
Oct 23, 2013
I have a job where some one has manually written valves into the titleblock fileds that should be coming from sheetset manager is there a way to reinsert the titleblock and have the fields come back.
View 1 Replies
View Related
Apr 27, 2011
I am using Cad11, VS10 with VB.NET.
I have a simple function that breaks down the file name and populates 3 fields with the correct names. In my template they all get changed correctly, but when I make a new .dwg it takes a few (hopefully unnecessary) steps to get them to change. The very 1st time opening Cad, the fields do not get recognized ( !fieldname1 returns a nil). If I close the .dwg and reopen it the fields pull the correct value but do not change in model space (ex -- !fieldname1 returns 12345, but model space is still showing 54321 in the field). In order to get the value to change I have to type the Field command in Cad, I don't have to do anything in it, I can immediately close the Field form and then do a regen to get model space to show the correct values.
My idea was to hard code in the Field command and hope to be able to close that before the user knows it is even open, but I still don't think that will solve the 1st time Cad is opened problem, and I am having no luck with getting that lisp command to run (like it said, very limited experience with it). It could just be the syntax is wrong since it is so simple but here is what I thought would work.
[code]
ThisDrawing.SendCommand("field" & vbCr)
[/code]
I have a thisdrawing...("!fieldname1" & vbcr) that correctly returns the value in the command bar right above this.
In the command bar 'field' shows up but the form does not open.
View 3 Replies
View Related
Aug 7, 2013
I have been creating new 2D dynamic blocks for our engineering department to use. I was able to combine our old "dynamic" blocks, similar in design, into one new block. There are attributes within in the block to display information regarding which block is selected and shown. This information is then extracted using a LISP routine to be used via Excel for manufacturing.
I have run into problems with some of the fields updating. At times they will update and other times they won't. The attached file has an example of the blocks I'm using. They are the same block. However, the block on the left was placed into a new drawing using CTRL+V. The lone field in the bottom left corner of the block updates correctly when the block properties table is changed and REGEN is run.
The block on the right was inserted into this drawing using the INSERT command. The same field does not update using REGEN. FIELDEVAL is set to 31 based on what I've read in other posts.
Not sure what the difference would be, but I've been seeing it for the past week while creating the new blocks. It's a bit frustating not knowing why it will work sometimes and not others. I've pulled my hair out for long enough trying different things to see if it will work, but to no avail.
View 3 Replies
View Related
Aug 29, 2012
Is there a way that i can put a Field in a block that does not have a locked down specific item to look for? What i'm trying to do is have a block that contains a field linked to an object (Polyline) and read its length. My problem is that when you put a field in a block you have to define what it is looking for so if i select "Object" in the field its asking for that object while i'm in the block editor, is there any way to have it pause for user input so that i can select the object after the block has been inserted?
View 5 Replies
View Related
Oct 31, 2013
I would like to change sub block from a visibility after setting it. Here an example of code to get the right visibility, I don't really know how to update a sub block by name or by handle(seems to change inside dynamic block).
Dim Block As AcadBlock
Dim BlockRef As AcadBlockReference
Dim DynEntBlock As AcadEntity
Dim DynObjRefH As IAcadBlockReference
[Code]........
View 9 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
Sep 21, 2012
I want to be able to update a dynamic block with data from our SQL Server database using a VB.NET program.
The dynamic block is configured to show office locations and has the associated office addresses for each office location embedded within the block. However, over time, offices close, new offices are added, addresses change, and so on. Plus, we have a dynamic block in each sheet size for several template types. So, updating them remotely would be a huge advantage. I'd like to just click a button, and know that the offices in the blocks were up to date and accurate.
Currently, I can use VLISP and the DBX technology to open each file and change the addresses. But, I cannot figure out how to change the visibility state (office name) in the prompt list. Anyhow, I want to drive the changes from a VB external application rather than having to open AutoCAD and run a LISP routine. So...
how to modify the following properties of a dynamic block using VB.NET?
1. The visibility states prompt list. (add, delete, modify)
2. The associated values. (add, delete, modify)
View 3 Replies
View Related
Mar 29, 2011
difference between regen & update?
specially at the point of speed.
(thisdrawing.application.update) phrase can work exactly same with regen ?
which one is preferrable ?
View 2 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
Sep 20, 2012
I have a block in a drawing that will not update after re-insertion of the updated copy of said block (Wait, does that make sense?)
Scenario: Floor plan with the room as a block. I go to the actual block drawing and edit it. I then try to re-insert it into the existing drawing, but the drawing still uses the same block that was originally inserted.
View 9 Replies
View Related
Jul 6, 2010
After I edit a block in the block editor, It regens to a blank black screen. Then I have to zoom extents and zoom back to where the block is. Is this normal? I would think it'd be better if it just put you back to where you were working. I understand the regen probably is necessary to change all the blocks that need to be updated. Just wonder why it puts you to a blank space.
View 7 Replies
View Related
Dec 10, 2012
Is it possible to create 3D dynamic block and export dimension data ? in detail I would like to create a pipe block, use it in a dwg with different length and export data in order to know sum of all blocks with different length.
As alternative, In case 3d dynamic block is not feasible, is it possible to export data to calculate dimension of 3D object?
View 4 Replies
View Related
Feb 12, 2013
I want to create a dynamic block that as I select my pick point to move it over it stretches the box, however at the same time it arays 2 other lines at the same time. The trick is I need the 2 lines that array to renceter them self within the overall box thats being strtched. To put this in exact teerms I'm looking to create a dynamic block of a reinforced concrete slab that you can stretch to the length you want and at teh same time the reinforcing sysmbeol (----- X-----) will array itself and recenter. Is this possible to do?
View 9 Replies
View Related
Mar 14, 2013
I have created a drawing border block for my users to insert into their drawings. Within the block there are dynamic blocks which have visibilty states. However when you insert the border block with the dynamic ones you can't do anything with them? Is there anyway of making the border 'flexible' or something so that it maintains the fact that it is a block with all the attributes but you can use the embedded dynamic ones. Other than the obvious edit block in place or block editor?
View 2 Replies
View Related
Oct 26, 2012
is there a way to make a dynamic block that adapt when using with constrait...i want the block, wich will be a panel with different visibility, to adapt between 2 geometry using coincidence or colinar constraints
so when i change the parameter of the distance between the 2 geometry , the block length will ajust accordingly i'm not new to the dynamic block but to using parameters with it, never done that.
View 1 Replies
View Related
Nov 6, 2013
what I need to do to fix the elevation tag block below? I want the text to rotate and be readable as I rotate the block. Right now the text rotates but it's not readable when it's on the left hand side.
View 3 Replies
View Related
Apr 16, 2013
I have a drawing with multiple instances of a dynamic block. I have a second drawing with said block modified.
I want the first drawing's block to be updated to the modified block without reinserting each block separately.
I don't have the block as a separate file to "insert", only available to copy. With it being dynamic, I don't trust using the block editor and just copy/paste from the modified into the original.
Is there a way to redefine the block?
View 4 Replies
View Related
Oct 16, 2012
How to update the “title block” being inserted as Xref?
I wanted to update the title block (inserted as Xref) as some changes occur in the original dwg but sounds not to work.
How the Xref is updated so that all changes in its original source can be reflected automatically?
Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
View 2 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
Mar 22, 2013
i'am trying to create a block that has 3 components that can change
1- crane model or base
2- crane boom has different lengths and needs to rotate at pivot point
3- crane jib has different length and offsets from the crane boom
How to do this in one block or do you need to have 3 seperate blocks and just piece together.
View 2 Replies
View Related
Mar 2, 2013
Is there a way to use more then one visibility parameter in a dynamic block in autocad 2013
View 1 Replies
View Related
Dec 4, 2012
For my AutoCAD class we are supposed to make a dynamic block of a basic theater flat which we can then stretch into different sizes. I was able to do the vertical stretch no problem, but when it comes to the horizontal stretch, the lines do more of a move action then stretching. I have redone it several times but it still won't stretch properly.
View 1 Replies
View Related
Apr 11, 2012
I have made up an extensive dynamic block library over the year, however in the latest version when I have tried to modify blocks with visibility states you can not cycle through the different states it will just revert back to the first one.
View 3 Replies
View Related
Dec 4, 2013
I'm trying to create a Dynamic Block of an 3/4" x 3/4" aluminium angle with holes:
Depending on the length the number of holes will vary.
The distance between each holes need to be somewhere between 8" and a maximum of 12".
The holes must be centered and start from 1 1/2" up to 2" from each ends.
Each distance must be not more precise then 1/16" (no rounded off dimensions)
I'd like to simply drag the handle of the linear parameters (No lookup or visibility for 2 hole, 3 holes, 4 holes etc.)
View 9 Replies
View Related
Jun 8, 2012
i just upgraded to 2013 and my dynamc block functions have dissappeared. the ones that flip doors etc.
View 1 Replies
View Related
Jul 17, 2013
I have been building a bush cross section.I am building it as a dynamic block as I need copies in many different sizes.
Due to the cross section I am using hatches to indicate different materials (only 2)
When I change some distances linked to actions the hatch remains inside its boundary and conforms to the new shape, most of the grips work perfectly whereas one, the top left grip, misbehaves time after time and breaks the hatch associativity.
I should mention that I had it working perfectly earlier, but was asked to add a fillet onto my drawing and after putting this in and tweaking everything I have no longer been able to reach perfection.
View 5 Replies
View Related