I am having trouble finding a reference for how to use field code. I am trying to create a custom fied in MTEXT that will only display the 1st 25 characters of a filename. I can't find any good resources to explain how field code in AutoCAD works on the web.
I have plotscale field inserted in my layout titleblock, but when it updates (plot preview or plot) it updates the page setup scale 1:1 (1”=1’-0”) not the viewport scale. Is there a way to reference the viewport scale? Are there property settings for linking a viewport with this field?
How to put a field and a sky in my project.. i mean i have the house ready in 3d but i don't know just how to make it look good.. like something like this :
also i want to know from where i can get more colors and materials for painting the house, putting trees plants and etc.
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.....
I created a drawing document in AutoCAD LT using custom drawing properties and then inserted them as the text in blocks using insert field. I did this in AutoCAD 2012. I am now working at a new company that is using 2007. I cannot seem to access the feature in 2007. In what version did this feature become available?
We are using both AutoCAD 2013 and AutoCAD LT 2013, and are having some difficulties doing something that seems reasonable...
Basically, we made a block that has the following attributes:
LENGTH ORDER CUT-OFF MATERIAL CUT-LENGTH CUT-WEIGHT CUT-PER-FOOT
When we define this block, we set the value for "CUT-WEIGHT' as (CUT-LENGTH - WEIGHT-PER-FOOT) and "CUT-LENGTH" as (LENGTH - CUT-OFF)
Those formulas work when we initially create the block. The goal is to be able to change the "LENGTH" and "CUT-OFF" attributes, and have the block automatically calculate the CUT-WEIGHT and CUT-LENGTH based on those values.
The issue is that once the block is created, the formulas no longer work. We have tried Update Fields, we have tried REGEN, REGENALL and more, but nothing seems to work. The only thing we have been able to do is define the block, then basically create the block a second time, with those respective attributes being linked to the initial block, which is both not ideal, and created other problems.
I am attaching a copy of one such block, how to make this block work properly.
The final use of this block is to insert it into Shop Drawings for our Companies Products and then link the block to a table that shows the values of the blocks as a Bill of Materials.
I am unable to currently upload a copy of any Shop Drawings, but if need be, I could ask for a "Dummy" Shop Drawing that I could upload.
I'm using a lot's of field in my plan and i want like to know if it's possible to change de color grey of the field box? Without color would be best for me!
I want to use some thing like the system variable CTAB in a field but have it report another Layout Name in the drawing rather than the Layout that I'm working in. Let me explain.....
I'm producing phasing drawings for a well known supermarket and I use the Layout Tab name to drive the phasing dates within the Layout. ie P1 - Thu 23 Oct. I then use this to populate the title block etc with the system variable CTAB this saves me a whole load of time as I know the dates on the Layout tab name are correct and will therefore be right in the drawings (upwards of 25 drawings per project).
I've just had a request to add some more information into the drawings but this has the date for the next phase ie P2 - Fri 24 Oct, I cant use the CTAB variable as it will report the wrong date ; Is there a way I can report another Layout Tab name with a system variable or through Diesel?
I want to point a field to my layout tab, but all I need in the field is the first few letters/numbers (i.e. X-XX-XXX) whereas the layout tab has much more info. I have done this in the past, but right now I am drawing a blank.
I’m currently in the process of creating new tool palettes and all the components blocks I’m storing, I know the weights of, is there a way to add a custom field in the properties box say the weight for example, so I know how much something will weigh by clicking on its properties .
It it possible to link a field to a layer name? this would make the job that I am doing alot easier. For some reaso the company that I currently work for wants to put the layer discription next to the revcloud instead of just using a delta.
I am trying to figure out if it is possible to change the iProperties default field names. For example, in iProperties, under the Project tab, i want to change the field "Stock Number" to "Drawing Number". I know that i could create my own custom field in a seperate tab, but i think this way would have a much cleaner look and simpler workflow. If it is possible, is it something that i can incorporate into an ipt template? Or will this only change on my system?
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.
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.
Can a field (or something) be inserted into a drawing so that after the drawing has been printed to PDF, digital signatures can be added by the appropriate people/disciplines.
We are trying to begin importing data directly from Tremble field book files into CAD so that we can process survey linework. What we are seeing is a shift of about 2 feet from the imported survey network and what the CSV values are when exported from the data controller.
I am finally trying to take advantage of the "fields" in autocad. I created a section label block which has the scale of the detail ( which I have to change manually). I want the scale to change with the viewport scale.
I am trying to insert a text field into a block attribute and setting that field to display the information of an attribute in another block. What happens is that when I close the file and re-open it the text field loses its connection to the attribute that it is referencing.
Now, I have been able to make this work in the passed, however the difference now is that I am asking the text field to reference an attribute of an annotative block. That appears to be the reason it does not work.
How to make this work with annotative blocks? Is it a system variable I can change?
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?
We created a field that is grabbing an object, the property of the object is the standard scale. Fields will not show the scale, it instead shows the word custom. This appears to be a AutoDesk bug. Please see the attachment.
I have an alignment which is complete in all respects. Profile also has been finalized. now the the survey (joint cross section) has been carried out and the output is in the form of field books. we hav the data in formate like we hav km and than offset left and right and than elevation.
my question is that how to use this data in civil 3d for creating cross sections and computing earth fill quantities.
How can I add leading Zeros to the CurrentSheetNumber Field? I know that the code for this field is: %<AcSm Sheet.Number>% . How can I modify this code so that the CurrentSheetNumber is displayed in the form 0001 instead of just 1?
I recently added the QR Code plugin from the labs to ACAD 2012.
[URL]
It's pretty cool, and I have added it to one of my title blocks so that contractors can access more resources via their phones if they have questions on site. The code can be updated with a simple command QRED.
The downside of this, of course, is that I have to edit my block for every project. The documentation says that the encoded info is stored as XData. Is there a way to access this data via a field, or pass a variable/attribute through to the plugin to male this a bit easier?