AutoCAD 2010 :: Match Attribute Values In Same Block

Jan 4, 2013

How to get attribute values to match in the same block? In my titleblock have the clients name displayed a couple of time in the block. I want to be able to change the clients name in one spot and have it change in the other. I have tried to use fields but the field will only display the default value of the attribute.

View 2 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Match Multiple Attribute Values From One Block To Another Block

Feb 12, 2012

I need to match few attribute values from one block to different block. I download a lisp file called; ca.lsp which can match the single attribute value. I modified it for more than one attribute value matching. It is ok but still wish to overcome two issues for batch prcess

1. picking up the blocks by selection

2. click the alternative block numbers of times to match the numbers of attribute values I needed.

How to modify this lisp I can run it by block name selections instead of picking selection which enable me to run batch process for numbers of drawing? That will be good...

Lisp & Demo file attached (Match attribute value, A, B & C to Attribute 1, 2 & 3).

View 3 Replies View Related

AutoCAD 2010 :: Make Attribute Values Match?

Feb 4, 2011

Is it possible to have 4 attributes in a block match or equal each other?  I would like to make it so if I edit an attribute the other 3 attribute contents will update to be the same.

Civil 3D 2014
Win 7

View 6 Replies View Related

AutoCAD 2010 :: Edit Attribute Block And Selects One Of Values And Erase

Jun 22, 2012

I have only one user with this problem. He tries to edit an attribute block and when he selects one of the values and erases it the default value doesn't erase. He then has to enter some text and erase that and it works.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Transfer Attribute Block Values To Another Attribute Blocks

Jul 3, 2012

I wanna transfer my attribute block values to another attribute text blocks , is there any lisp for that?

Is there a possibility for sum tag values of choice attribute blocks to inside of another attribute text block ?

View 2 Replies View Related

AutoCAD VB :: Extract Attribute Values From Block In External Reference?

Mar 23, 2013

is it possible to extract attribute values from an block in an External Reference using VBA ?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Retrieve (2) Attribute Values From One Block

Aug 24, 2011

Here's my situation:

I have a block named "WIDGET-A". And in that block are (4) attribute tags whose names are:

"ID"
"TAG01"
"TAG02"
"TAG03"

The user will be prompted to pick the value displayed at any of the "TAG##" attributes - they will select the attribute tag they want (we don't know which one it is, we just want to assign that value of the attribute tag they clicked on to a variable called "VAR2".

Now, what we also want AutoCAD to evaluate, behind the scenes, is the value of the attribute tag named "ID" which we know always exists in the block and then assign that value to a variable called "VAR1".

Is there a way for AutoCAD to do this all from only a single user pick on top of an attribute value, in a block whose name isn't always going to be 'WIDGET-A' either.... But the block, whatever it's name, will always have the attribute tag "ID" with a value in it, and we always want to capture the value of whatever attribute tag within the block that the user clicked on.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Remove All Block Attribute Values

Jun 17, 2013

I need a lisp sub-function that can empty all attributes of a specified dynamic block. The idea being that the specified block contains data that changes often and in order to repopulate the block's attributes with new data to replace the old I wish to just blank out the old data first, because it's possible that the new data may not utilize as many attributes and all of the old data must be removed. 

The thing is the block I'm after is on several layouts, CTABs and they all need to be wiped clean.

View 9 Replies View Related

AutoCAD LT :: Importing Drawing As Block With Field References To Attribute Values

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

AutoCAD 2010 :: Default Attribute Values

Apr 27, 2012

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.

View 3 Replies View Related

AutoCAD 2010 :: Change An Attribute From A Value From Another Attribute In The Same Block

Oct 5, 2012

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.

View 2 Replies View Related

AutoCad :: 2010 - Totaling Attribute Values Of Same Blocks?

Mar 23, 2012

I have a attributed block with multiple attributes (called pkey). In some cases these block attributes will the same values save for one, "Total".

example:

pkey #1
Value AA, Value BB, Value CC, Total 20

pkey #2
Value AA, Value BB, Value CC, Total 30

Is there a way by which I can have AutoCad group these blocks together (when extracted into a table for example) and have the SUM of those "Totals" added together to produce a result such as:

Value AA, Value BB, Value CC, Total 50.

I've explored using fields, but I don't think they work in this case, unless I'm using them wrong.

View 2 Replies View Related

AutoCAD 2010 :: How To Avoid Conflict Between Attribute Values

Feb 29, 2012

How to avoid the conflict between the “attribute” values?

I wanted to label the points (stored in txt file) using the lisp file ascpoint.lsp; This requires to build a block with 4 attribute values,But how to ensure that there is no conflict between the labels of the coordinates represented in the 4 attributes? They may overlap depending on the number of characters of the value of each attribute (coordinate).

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Block Attribute Values In Paperspace Multiple Pages

Feb 25, 2013

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.

View 7 Replies View Related

AutoCAD 2010 :: Inserting New Block And Entering Attribute Data By Selecting Another Block?

Aug 13, 2012

Is it possible, via whatever methods (lisp?) to be able to have a premade block with an attribute and insert it into a drawing then assign a value to it by selecting another existing block in the drawing and using one of its own attribute’s values?

For example, say I have a block representing a telephone and it had an attribute called "PhoneNo" and I inserted it into a drawing showing an office floor plan that had blocks in each office space that are telephone junction boxes with attributes "PhoneExtension".  I would like to be able to autocomplete the entering of the “PhoneNo” data by selecting one of the telephone junction boxes in the drawing and using its attribute’s value.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Pass Attribute Values To Dynamic Block Parameters?

Dec 4, 2013

I am looking for a way to use the ATTIN/ATTOUT workflow to bring in data from an excel spreadsheet to drive the size of each of my block's instances. The block will be simple, a rectangle, with width and length parameters. For each entity in my excel/csv file these parameter values are spelled out. I know how to display these parameters in my attributes, but I don't know how, if I were to feed in these values, to drive the geometry. If there's a better way to take a list of width and length values to generate a series of blocks each with a rectangle containing its respective size.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Attribute Blocks - Change 1st Tag Values Automatically According To 2nd Values

Jul 18, 2013

I have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to  2nd values ?

for example :

1st tag (50x50) - 2nd tag ( 100 )    ==> 50x50-100

if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100

if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510

I attached a jpg file for explain much better

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Check Block Attribute Then Change Different Attribute In Block

Aug 31, 2012

select all blocks on certain layers in a drawing, check attribute CIRCUIT in each block if it starts with MS then attribute CONTROL = switched. I hope thats clear enough the way

(defun c:control()
(graphscr)
(Setq sc (ssget "X" '((0 . "INSERT")

[Code].....

View 1 Replies View Related

AutoCAD 2010 :: Attribute Text Twice In A Block?

Apr 27, 2012

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.

View 1 Replies View Related

AutoCAD 2010 :: Attribute Text In A Block

Jul 23, 2013

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. 

View 9 Replies View Related

AutoCad 2D :: Copying Attribute Values To Another Attribute?

Jun 15, 2013

I want to copy attribute values. I'm making a catalogue of all the reinforcements in my drawing so I need to name those reinforcements. So what I want is to make a string of text that I don't need to totally modify everytime. Something like this:

Amount of reinforcement bars - 5
Diameter of the reinforcement - 12
Division of reinforcing bars - 100
Reinforcement bars: 5-T12-k100

So the only attributes I'd edit would be the first three not the last one. So how can this be accomplished?

View 9 Replies View Related

AutoCAD 2010 :: Creating Block With One Attribute (Elevation)

Feb 8, 2013

I am trying to create a block with 1 attribute (ELEVATION) showing a finished floor level and another text (field) to show another level derived by the sum of the attribute value + and additional (fixed) number, say 100.

I have tried using fields inside an ATTRIBUTE or a simple DTEXT but the field does not update, it only picks up the DEFAULT of the attribute, not the user entered input. How can I do this?

attached is the block

View 2 Replies View Related

AutoCAD 2010 :: Block Editing ATTDIA Attribute?

May 16, 2012

trying to set up a system for a less advanced user.

basically they donot like the advanced attribute menu when you edit a block with attributes in them.

looking at the varriables the end user likes the  Attdia set to 1 when you insert a block it then displays nice clean menu which just has the attributes you can edit.

can this be set so when you later edit a block this menu appear rather than the advance attribute editor?

View 2 Replies View Related

AutoCAD 2010 :: Copy Text From One Attribute To Another Within Same Block

Feb 3, 2012

Is there an easy way to transfer the text inserted in one attribute and copy it over to another attribute in the same block?  This is for a titleblock.  We are currently using AutoCAD Electrical.  We need to do this on over 10,000 drawings so we would like to be able to write a script or lisp routine so we could run a batch across all of the drawings.

View 6 Replies View Related

AutoCAD 2010 :: How To Make Attribute Block That Contains A Dimension

Mar 14, 2012

 How to make an attribute block that contains a dimension?

I’m wondering if there is a way to create an attribute block that contains the particular text and the value of the dimension length. More specifically, in the screenshot below in need to show the steel bars (as an attribute) along with the value of the dimension of the bar such that in case the block is stretched then the value of the dimension length changes. I think the block itself needs to be dynamic.

The issue here is having an attribute for the “steel bar type” and its length. The “steel bar type” must be editable while the length must be written automatically to reflect the length of the bar.

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 9 Replies View Related

AutoCAD 2010 :: Block With A Single Attribute Sync

Jun 1, 2012

I have a simple block with a single attribute that I am trying to sync.  Someone previously created this block, defined it on a named layer with the attribute defined on the same layer with a user font, then inserted it on three different layers.  Now, even though I have redefined the block on layer 0, set everything to BYBLOCK, all the attributes are still on those other layers.  And when I try to use ATTSYNC, all the values disappear.  I don't get it.  Isn't ATTSYNC supposed to retain all the values?

How can I get all of these blocks with their attributes and values intact on the same layer?

View 4 Replies View Related

AutoCAD 2010 :: Automatic Stretch In Dynamic Block For Attribute Value?

Jun 7, 2012

We have specialized electrical schematic drawings on what is termed roll-drawings.  These roll-drawings are simply 12" tall and variable width type drawings.  We've had some as short as 24 inches and as long as 900 inches.  As a result we use these section dimensions to distinguish circuit boundaries.  It's not a real dimension, just a way to distinguish what circuit is located where.  I've tried to recreate it using a block for improved automation as currently we just use a lisp routine that draws an arrow and lines.  It looks like the screen capture of my block below.   Is it possible to have the inside endpoints of the lines automatically stretch outwardly toward the arrows as the attribute Value changs?

View 3 Replies View Related

AutoCAD 2010 :: Add Set Of Attribute Data To A Block That Already Exists Within Drawing?

Mar 22, 2012

I am trying to add a set of attribute data to a block that already exists within a drawing.

View 1 Replies View Related

AutoCAD 2010 :: Greater Than Or Equal To Symbol In Block Attribute

May 23, 2013

Is there a way to enter the greater than or equal symbol into a block attribute value...?

For example...TEMP IS >= 20O F

View 1 Replies View Related

AutoCAD 2010 :: Explode Block Without Losing Attribute Text?

Jun 18, 2013

I am using AutoCAD 2012 (Electrical).  I have a few blocks that I pasted in a drawing with text that is contained in attributes. 

I would like to explode these blocks so that I can make some changes to them, but when I do this, I lose the text that is contained in the attributes.  After exploding the blocks, I just see the attribute names rather than the text that they originally contained.

I hate to have to re-type all this info.  If I could somehow choose to choose to convert the text originally contained in attributes to plain old static text, that would be perfect for me.

View 4 Replies View Related

AutoCAD 2010 :: Update Block Attribute With Constant Value In Multiple Drawing?

Mar 27, 2013

I am looking for some code or something which can change the title block revisions from "01" to "02" in multiple drawings.

The title block revision block is set in attributes.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved