AutoCAD 2010 :: Attribute With Multiple Visibilities
Mar 8, 2013
Is it possible to make a single attribute appear in more than one place on a single block? i.e. We have a title block in which we want the drawing number and revision to appear at both the top and the bottom of the page. We want to be able to change the information in the attribute on the bottom of the page and it automatically update the attribute at the top of the page. Is this possible?
I need to make a block with one attribute named SIZE which will be filled in when the block is inserted into the drawing. On this block I would like to display the value for SIZE in 3 additional places besides the attribute SIZE.
So to make a long story short I would like to take 1 attribute and display it 4 times. If I change the attribute I would like for all 4 displays of it to update with the change.
I've tried making the 2nd, 3rd and 4th occurrences attribute with fields pointing to the value of the 1st attribute object but it is not working. How do I go about accomplishing this.
creating a block with attributes. I did manage to get my block set up and inserted in a dwg, but I am unable to change the "value" of any attribute. Unless I click on the "..." button next to the value field.
What I really want to do is on our fire alarm blocks we have 3 different attributes one for the address, the candela and one for misc info. I want to make an attribute that takes the number from the candela (15,30,75or 110) and change a different attribute to a value depending on which candela we use (such as 15=.078, 30=.113, 75=.195 or 110=.259). But I don't want the .078,.113,.195,.259 to print out on paper, I want to export block information excel file so I can add up all values.
I would like to use my part number in the upper left hand corner of my dwg tab and also on my parts list tab as well as it original location in the title block of my dwg. How can I set this up so when I change the part number in my title block it will also automatically populate the other 2 locations? I am using Lt 2010.
I would like to know if it is possible to have a single attribute fill multiple strings of text. I have text that appears in more than one spot in a block of mine but when inserting the block i would like to be prompted once to fill the attribute.
I'm trying to find a way of filtering the 'work in progress' section visibilities from a plan by view filters. The filter I use is 'Sheet Name' equal '<None>'. Then turning off visibility. It works when used in the Browser organisation filters but not in the view filter for the sheets.
I don't want to create a check box or dialogue box for the sheet as this will add to the required maintenance.
We have a client whom insists on 1/8" text and my blocks are all sized for 3/32". What I wanted to do is create two visibility states for the block. One using the 1/8" text and one using the 3/32" and be able to switch between them. I can get the border of the tag to work, but the text doesn't switch sizes.
Is this even possible? Is there a better way to deal with all my tags and needing to have two different versions of them? (Tags such as fixture tags, note tags, etc...)
I have a block with an attribute and need to change the first three characters of each to a different two characters. I recall my instructor once showing me how i could do this easily without having to click on each block to change the attribute.
i am wondering if it is possible to alter a specific attribute in cca 250 files? I have this template which has like 50-70 attributes,but not all of them are used. I have to change only one attribute in all of the files. For instance, i have an attribute with a specisfic tag, but the content of it is ie MARK, i want to change MARK to PETER, without having to open,click,retype,save,close every file. Is it possible to automatize it somehow? maybe lisp, batch or even VB?
This time I'm wrestling with getting the values from multiple blocks. The blocks all have the same name but at least the attributes have names this time. Each block have exactly 4 attributes, like: att1 (a number representing chronological order), att2 (some data), att3 (the actual date as a string of when the data was added), att4 (some more data)
I need to get and store the attribute's values. I was hoping to make a selectionset of the blocks and step through using the chronological order number.
At this point I have tried several combinations of foreach and ssget "x" (list (cons 2 MYBLOCK)), but I keep getting errors that I'm sure are telling me that I'm not passing the correct information to the function for iterating through. I'm banging my head.
Lisp program, by selecting on screen multiple block attribute and to change those selected (by picking) attributes to colour 252.
At the moment, I'm using a custom macro : ^C^C-ATTEDIT C;252;;
But if I've got a lot of attributes to change, it takes awhile to complete.
I know about BATTMAN but I do not want to change the block entities in that way. The reason I want to change the attributes to colour 252 is because here at this company we do existing drawing in colour 252 and any new equipment on its proper layer colours.
I use civil 2012, and have a drawing with over 400 attribute blocks that are all set to be "green" in the enhanced attribute editor, properties tab. I would like for all of the attributes to be set to "by layer". However, I find that the it only allows me to change one block at a time. As said earllier, I have over 400 blocks.
I need to be able to batch process a bunch of title block attributes automatically.
Block Name: Title Block
Tag Name: SH
Currently they come out with just the number 1, 2 , 3 etc I need to add a leading zero ie 01, 02, 03 etc
All the scripts I have will just replace the number with another
I just want to append the zero infront of the existing number
ie the code will need to read the existing number and decide if its less than 10. if it is less than 10, then the code just needs to append the leading 0. if its 10 or over, then do nothing.
I have a block which includes some Multiple lines attributes.
Now I don't want them to be multiple lines any more.
How can I change them to single line attribute?
In the block editor, the "Multiple lines" in the properties palette is gray out. I have create single line attribute and replace the multiple line attributes one by one.
Why don't make the Multiple lines property editable? This problem is since Multiple line attribute first time introduced.
Interesting thing is single line attributes can easily changed to multiple line attributes through the properties palette!
We have a few hundred drawings that we need to change certain block attributes. We need to change the valve of the text in that attribute from whatever it is (doesn't matter what it is) to a specific text string.
For example: If the attribute is called "name" and has the text string of ALAN in it in some drawing or BRUCE in other drawings, we want to chaneg all drawings to TOM.
I am trying to batch plot to PDF's from a drawing file that has multiple tabs in it. I would like each tab to be a separate PDF file. We are utilizing Acrobat X to write the PDF's. AutoCAD places all of the tabs into one file whether I tell a Multi-sheet file or a Single-sheet file.
I have just noticed when attempting to move the attributes in the blocks of my drawing that the grips have disappeared, where they have gone or how to turn them back on?
I need to create blocks in which the same text appears twice. I've created an invisible attribute to hold the text and created two mtext object containing fields that point to the attribute value.
The text fields show the default value of my attribute but will not change when the attribute is set on an placed instance. After setting the attribute on an instance I've tried UPDATEFIELD and REGEN but still I see the default value.
I have an exisitng attribute that have several line items. I want to add more items to this attribute same attribute. The attribute block name is "JLR24X36" and there are 15 existing tags within this attribute?
I would like to learn is there any possibility to provide renaming the tag name of a created attribute, if there is a way, it could great to learn it from your side.
whenever I make a block with attributed text the block works just fine when I insert it into a drawing like normal. However if I try and open the block drawing by itself the attributed text just turns into normal text after I get this message "Orphan Attdef Objects found & Converted to Text". This problem seems to happen on two of our machines but a third co-workers machine still works fine.
I need to change an attribute tag that was (locked) during the making of the title block.
See screen shots.
Autodesk Plant 3D Premium 2012 Autodesk MEP 2012 HP 3.2 Ghz CPU 16 ram 1TB 7200 rpm SATA 3Gb/s hard drive 2GB DDR3 NVIDIA GeForce GT 530 HP 2311x 23" LED Monitor
I have a block with attributes. When I use the enhanced attribute editor, under text options, the height is grayed out, not allowing me to change the height. How do I fix this?
Is there a way to have attributes automatically update? For example, we often "save block as" from block editor to create a new block. We usually have block name on defpoints layer so designers can see block name on screen.
We now have to edit this text each time new block is created from existing block. If default value of attribute could be the block name it would save time and errors.
I have several title blocks each in their own paperspace pages. Could have the attribute filled in, but more than likely only one page will have values filled in the attributes. I am looking for a VL method for finding which pages title block is filled in so that I can get those values and fill in the equivalent attributes for all of the other pages. Currently I am using a long set of :
(IF (setvar "ctab" "8.5x11") (IF(TBLSEARCH "BLOCK" "TB-8.5x11") (IF (/= "" (get-att "OWNER" "TB-8.5x11")) ; Function to read a named attribute(editblk "TB-8.5x11") ; Function to pull up the attdia(IF (setvar "ctab" "11x17") (IF (TBLSEARCH "BLOCK" "TB-11x17") (IF(/= "" (get-att "CUSTNMFIRST" "TB-11x17")) (progn ; At the last page ditch the [Code]..........
The example is just a very simplified version of what I'm doing. I just need to find the information, if it exists in any page and store it for later. Afterward, I'll fill in each page's Title Block with the stored information.
I know that this can be done much more efficiently. As I am currently flipping through the pages too much action is occurring on the screen and it makes some people nervous. With VL I should be able to run the search quietly, but I would still like to (setvar "ctab" "to the page with the filled attribute value") after the LISP is finished storing values.
how to extract the attribute value of a particular block in multiple drawings to an excel file.
Eg... there are nearly 800 drawings where I need to list down the description and Drawing number which is mentioned in the title block name "Title". The Drawing Number and the description is done in same attribute block. extract the data into an excel file or txt file. All the drawings are saved in one location.