I am having problems with the automatic field updates. I've made a dynamic block with a length parameter "LENGTE (mm)" and a stretch action. In this block I also made a Attribute "LENGTE" the value of this attribute is linked to the length of the parameter with a field. The system variable "FIELDEVAL" is 31, so when I save or plot, or ..., the value of the attribute will be updated to the exact length of the parameter.
Now when I insert the block and stretch the parameter to a desired length and I save the drawing the attribute is updated and it has the same value as the parameter. But when I close the drawing and I open it again AutoCAD changes this value to ###. I tried the command "UPDATEFIELD" but the value doesn't come back. I have made a command string "c^c^_fieldeval;0;0;save;close" so that when i close the drawing AutoCAD sets the system variable FIELDEVAL to 0 then saves it and closes the drawing, so when I open the drawing again AutoCAD doesn't update the fields. That solved the problem. When I open the drawing again, I made a command to put the fieldeval back to the default value "31", so when I change the length parameter the attribute "LENGTE" will be updated again after a save or a plot. But then it goes wrong and AutoCAD changes the value back in ###. What is the reason that AutoCAD can't update that field, it works fine when the drawing stays open but when the drawing has been closed and I open it again it doesn't work anymore?
I'm using ACA2012 x64 but I suppose this question is applicable to all flavors of AutoCAD. Is there a routine that will insert today's date in a drawing and update that entry when the drawing is opened? Fieldeval won't update date fields.
When we insert a Revision Table to a drawing we have the option to update Revision Number property in the drawing. This property is updated whenever we add a Revision Row.
I want Inventor to update the Revision Number property in the model the same way.
If this is not possible, is there a way to automatically map the Revision Number property in the drawing to the Revision Number property in the model?
I'm sure I had linetype scaling updating automatically after a change of viewport scale - perhaps it was a previous release of AutoCAD. Why must I now keep pressing REGENALL to update the linetype scale?
Is there a way to have a block (called test, for arguments sake) within this block we have text (attribute / fiield or whatever).
Now I have an alignment that has stations set every 10 units and on those stations I have inserted the block "test" as part of the alignment label style.
I can get the block inserting correctly, rotation the direction I require etc but what I need is for this block to report the station number.. ie 10, for the first 20 for the second and so on.
About Substitute Shrink wrap parts, it doesn't automatic update when I use UPDATE or even REBUILD ALL inside the LOD with it, even if I don't break the link with the assembly it doesn't update, so I have to go in each assembly with Substitute parts ( with are many in huge projects) and then verify with "Check for updates" in the correct LOD (which in some cases are more than one per assembly). Is there a way to update them direct from the main assembly with rebuild all or something like that ?
I have a field in a block and all the FIELDEVAL variables are set as shown in the screenshot but the field doesn't update on REGEN - I have to issue the UPDATEFIELD command to update the field.
There was a previous thread started in March 2011 with the same problem - is this another unresolved bug? (No connection with Autodesk other than using the products in the real world)
IDSP Premium 2014 (mainly Civil 3D 2014 UKIE SP1 & Infraworks with some limited 3ds Max Design) Win 7 Pro x64, 256Gb SSD, 300Gb 15,000 rpm HDD 16Gb Ram Intel Xeon CPU E5-1607 0 @ 3.00GHz (4 CPUs), ~3.0GHz NVIDIA Quadro 4000, Dual 27" Monitor, Dell T3600
How to make Automatic Update propeties for Flat Pattern Extens. I have write code and setting rules trigerred by event (Before save, Any model Parameter Change) but if some parameter change properties isn't automatic update. So could some one tell me how to solve this problem.
I have one problem in ilogic i developed the model using ilogic rules and dimension values updated through the User interface form.
problem is while entering the values in UI, model updates automatically, but I want to stop automatic update and after entering the all the parameters in the UI then click the done button only update the model.
I've got a block with multiple attributes. This is not a problem to redefine the blocks attributes.
Some of the attributes contains dynamic fields (blockplace holder x y z parameters) When i insert a block with such atributes that includes the blockplaceholder dynamic fields i get
X: InsertionPoint => It is recognized as an Dynamic field but displays InsertionPoint. and does not update the value.
How can i update the fielddata from vb.net?
Part of the code I use (where i think the problem is)
For Each attid As ObjectId In refbtr attent = tr.GetObject(attid, OpenMode.ForRead) If TypeOf attent Is AttributeDefinition Then Dim attdef As AttributeDefinition = attent Dim attref As New AttributeReference() attref.SetAttributeFromBlock(attdef, myBlockRef.BlockTransform) Dim attrefid As ObjectId = myBlockRef.AttributeCollection.AppendAttribute(attref) tr.AddNewlyCreatedDBObject(attref, True) End IfNext
I'm trying to create a field in a block (titleblock) that will automaticly update when I change the viewportscale.It's mostly only 1 viewport, sometimes a second of even 3rd but, they are not important to the titleblock.
I've read aboud fields and diesel expressions. I've tried and it works. there is only 1 problem,It only works with the object (when field expresssion, object, custom scale) in this case the viewport pressent at that time.
When i use the same field with the same expressions, it does not recognize the viewport/object.Is there a way to make the field, diesel expression or even something else, work without it's need for a
object name. Perhabs that the expression gets the viewportname from a lisp, something like: (setq ss(ssget "X")) ;some thing like this Can it be done?
why, when setting up a field on a drawing,... you cannot choose the Revision? It should show up as a Document Field category... but it is not available to choose? How are you supposed to link a revision field in your title block, to the revision set as a file property by Vault? URL.....
know of a way to automatically alternate a background fill color for every other row on a table (gray, white, gray, white, etc.)? I can set up the fill color manually for each row, but if I delete or add a row, I have to manually redo the alternating fill color.
I am creating a drawing template that everyone in my office will use, stored on a shared location. I want the label "Drawn by ...." in the title block to be filled automatically with the drafter's name who created the drawing. It would be easy to just add the field "Author" or "LastSavedBy", but my situation is more complex. Our workstations are identified by a code that consists of first two letters of given and last name, for example John Smith's computer is named JOSM. So if I use "Author" field, then I would get "Drawn By JOSM", but I want to get "Drawn by John Smith".
I would like to some how create a field that contains function:
IF author=JOSM, value=John Smith IF author=MAST, value=Mary Stuart
Is it possible to create such functionality? I found out something about Expressions and Diesel Expressions, but didn't understand much.
I use multiple layouts to produce build drawings and I use the name of the layout tab to identify the sheet on the shop floor.
I currently use a field in the titleblock that calls the system variable ctab, the problem is that whenever you update the fields, they all change to the name of the current tab, not the name of their own tab (by default, when you open the drawing, they all say Model).
I resort to building all of the layouts and converting that field to text prior to printing.
I enter data into an Excel job setup worksheet. I then want to be able to extract data from given cells in the Excel worksheet, and have this become fields in AutoCAD. I do not want to use a table in AutoCAD - I want (ideally) to have the Excel data come in to AutoCAD as a field. I can see that Data Links tends to come in only to a table in AutoCAD.
I want to do something a little different in my math class unit on volume - I want to bring up AutoCAD 2014, and have a 3D solid on the screen. As I change/edit the object, I want the students to see the volume amount change, onscreen. Is there a way I can put in a field, preferably, that with a quick regen will show the volume of a 3D object?
I have created a Field expression inside a multiline text to extract a block attribute value, but i would like the --- value that it shows when there is no data to be extracted from the block to be invisible.
I am using Sheet Set Manager. I can use a field that will enter the sheet number on each layout. I am looking for a way to have a field use this number and minus 1 or add 1 to get the sheet before and sheet after the current sheet.
I know I can create text and use "Insert Field" to have the filename automatically update in the title block. Is there a way to do the same thing with layout names when there are multiple layouts in one drawing file?
Is it possible to use voice recognition to add notes / redline Autodesk 360 drawings in the field on a tablet. For example when inspecting a dock being able to use a stylus to add a redline cloud around a specific pile on a plan drawing and then adding comments via voice recognition would be a real time saver.
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.
I am using several blocks within a drawing (furniture...stock racking, to be precise). I had additional information to add as a new attribute. Opened the block in Block Editor, added the new attribute and saved changes. No change to any of the instances of that block in the drawing? But when I add the same block to the drawing, all new instances have the new information.....which means the block exists, with exactly the same name, in the same drawing in two different forms??? How is this possible and why do the old instances of the block not update to match the current version.
Even more confusing is that if I open an 'old' version of the block in Block Editor....it appears with the new attribute in place and when I close it (saving changes).....it no longer shows that attribute!
Can find no mention of a switch or default that might be causing this.
I am having one query. I always recieves dwg file of diff. units from my clients. I have to convert those drawing dim manually. Is there any way by which i can import those diff units dwg files in my dwg file and get the content of these files automatically converted to the units that i want. I spend lot of time converting units.