View Full Version : Attributes are created and want to add geometry to those attributes
iangold
2017-03-05, 08:17 AM
I have a drawing which has many rooms and open areas with attribute information but the boundary limits are not identified, now i have to make poly lines and than add to these attributes to identify the limits. what is the best way to achieve that or any lisp that i select the object/Poly line and it adds to attribute.
Any help in this regard will be highly appreciated.
Wanderer
2017-03-06, 03:11 PM
I have a drawing which has many rooms and open areas with attribute information but the boundary limits are not identified, now i have to make poly lines and than add to these attributes to identify the limits. what is the best way to achieve that or any lisp that i select the object/Poly line and it adds to attribute.
Any help in this regard will be highly appreciated.
Which software?
iangold
2017-03-07, 05:54 AM
Which software?
Wanderer i am using Autocad 2012.
Wanderer
2017-03-07, 02:31 PM
Wanderer i am using Autocad 2012.
Thanks. I'll move this over to the AutoCAD forum, as it'll be better served there.
I don't know of a lisp, which is possible I guess but..
If it were me I would simply add an attribute to your block (assuming room tag?).
(remember to attsync after you create the new attribute) This is assuming you don't have that attribute already???
Then have a field looking at an Object's Area property (which in your case will be the polyline room outline).
Then you simply "edit field" while in the block attribut edit, and select your polyline for each room/room tag.
Not real automated but not too bad if you have say 10-15 rooms.
iangold
2017-03-08, 06:35 AM
I don't know of a lisp, which is possible I guess but..
If it were me I would simply add an attribute to your block (assuming room tag?).
(remember to attsync after you create the new attribute) This is assuming you don't have that attribute already???
Then have a field looking at an Object's Area property (which in your case will be the polyline room outline).
Then you simply "edit field" while in the block attribut edit, and select your polyline for each room/room tag.
Not real automated but not too bad if you have say 10-15 rooms.
Thanks for the reply, Actually we are dealing with As built drawings and there are thousands of instances where we have to do that so its very tedious to make these attributes over again and apply fields. Looking for a way that we could add poly-lines to existing attributes.
cadtag
2017-03-08, 12:20 PM
suspect there's some confusion of terms here --- what exactly do you mean when you say 'attribute' ? if you LIST one, what does AutoCAD say it is? part of a block? or??
MMccall
2017-03-08, 12:26 PM
If you copy a the block that has an attribute with a field linked to an object (polyline?) and the object, the new pasted block & object will be linked just like the originals were. Edit the object to fit the new space.
If you copy a the block that has an attribute with a field linked to an object (polyline?) and the object, the new pasted block & object will be linked just like the originals were. Edit the object to fit the new space.
Good point, I think I've actually seen a Dynamic block with a stretchable boundary that will update the area in a field.
So there is that too.
Actually I found it (attached) I think I got it here in AUGI many years back in the DB sharing forum.
This has (2) blocks with stretchable boundaries.
HTH
iangold
2017-03-28, 05:10 AM
Thanks Guys for your help, but i am still unable to solve this issue.
Below is attached a sample drawing, where i have blocks and attributes already defined, and now i have to attach the geometry(polylines), please have a look and suggest a solution.
Thanks
MMccall
2017-03-28, 12:07 PM
Think of this the other way around. You're attaching the contents of the block's attributes to the line geometry with fields.
iangold
2017-03-29, 05:16 AM
Think of this the other way around. You're attaching the contents of the block's attributes to the line geometry with fields.
Thanks MMccall,
Yeah its very close to what i am looking for, actually it updates two fields, one is area and another is PERSON_QUANTITY. i dont want to change PERSON_QUANTITY field. another question, how can i disassiate or chang an object feild in block.
MMccall
2017-03-29, 11:35 AM
To disassociate a field in an attribute all you need to do is open the attribute editor and overwrite the field (the text with the gray backgound)
To edit a field, open the attribute editor, select the field, right click and choose edit field.
iangold
2017-04-03, 08:23 AM
Which command you are using for attribute editor. i am unable to edit fields with battman.
Which command you are using for attribute editor. i am unable to edit fields with battman.
You don't use BATTMAN to edit attributes, use "Enhanced Attribute Editor" (usually comes up when you double-click on the block with attributes) or... just plain attribute editor (command: ddatte)
MMccall
2017-04-04, 01:54 AM
You can also hold down the Ctrl key when double clicking the attribute and edit it in place as if it were mtext.
iangold
2017-04-04, 04:07 AM
Many Thanks for Excellent demonstration.
- - - Updated - - -
MMccall,
Many Thanks for your support.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.