PDA

View Full Version : Dynamic polygon Block with Attribute for area value



charlie.bauer341340
2007-03-14, 05:52 PM
I have created a number of dB's that contain stretchable Polylines and added an attribute to display the area of the polygon after it has been inserted into a drawing. The db and attribute works fine until I insert another of the blocks then the attribute stops calculating. Am I out of luck because the object (polygon) name is already used or is there some way to work around this. I hope I'm making sense. What I want to be able to do is extract the area of different parts of a drawing by using db's

Rico
2007-03-14, 06:21 PM
I have created a number of dB's that contain stretchable Polylines and added an attribute to display the area of the polygon after it has been inserted into a drawing. The db and attribute works fine until I insert another of the blocks then the attribute stops calculating. Am I out of luck because the object (polygon) name is already used or is there some way to work around this. I hope I'm making sense. What I want to be able to do is extract the area of different parts of a drawing by using db's
I can almost guarantee that this issue will stem from the fact that the attribute in both blocks is named the same thing. i.e.: area.

if you want to be able to insert both blocks in there then my early guess would be to change the attribute names to be unique.

Thinks again ......

..... hm ..... whatever. worth a shot.

charlie.bauer341340
2007-03-14, 06:35 PM
I have used the same name in attributes where I manually enter information into an attribute without any problem. Is it because I am using a field as part of an equation in the attribute? I have attached a couple of examples. The corners of the polygons are dynamic along with several other aspects of the blocks. Me thinks it might be in the programing of the field.

Rico
2007-03-14, 06:41 PM
I have used the same name in attributes where I manually enter information into an attribute without any problem. Is it because I am using a field as part of an equation in the attribute? I have attached a couple of examples. The corners of the polygons are dynamic along with several other aspects of the blocks. Me thinks it might be in the programing of the field.
yeah that's why i paused. I kind of figured that it might not be that cuz attributes only HAVE to be unique when in the same block ..... lemme see here ....

Chris.N
2007-03-15, 11:59 PM
I have used the same name in attributes where I manually enter information into an attribute without any problem. Is it because I am using a field as part of an equation in the attribute? I have attached a couple of examples. The corners of the polygons are dynamic along with several other aspects of the blocks. Me thinks it might be in the programing of the field.they work for me... unless they don't and i'm missing something...:?

Chris.N
2007-03-16, 12:00 AM
also, when submitting problem blocks, submit them in a drawing that YOU are working in. that way we can see if it's a setting in your drawing template that needs tweaking. most other times it's ok to just post the DB files alone....

charlie.bauer341340
2007-03-20, 01:03 PM
When one of these blocks are inserted multiple times into a drawing the fields in the subsequent blocks do not recognize the polygon as a valid object. The first time the block works as designed. I have attached a drawing showing what I am talking about.


PS sorry for the delay in responding but I have been out of town and just now getting back to my computer.

Rico
2007-03-20, 01:14 PM
When one of these blocks are inserted multiple times into a drawing the fields in the subsequent blocks do not recognize the polygon as a valid object. The first time the block works as designed. I have attached a drawing showing what I am talking about.


PS sorry for the delay in responding but I have been out of town and just now getting back to my computer.
Charlie,

your block seems to work fine for me. Try it again. Use the insert command and see what you come out with. That's what I did and everything works fine for me. I attached the same drawing to show you ....

charlie.bauer341340
2007-03-20, 01:19 PM
I was trying to pull it off a palette which does not work but as you have shown me it works fine from the insert command. Thank you for the insight.

Chris.N
2007-03-20, 02:08 PM
I was trying to pull it off a palette which does not work but as you have shown me it works fine from the insert command. Thank you for the insight.what are your button properties for that block? is the original files the same ones that your palette is referencing?

again, why don't you attach the actuall problem file with all the instances as you are experiencing your problem? maybe it's not the block, but your environment....

charlie.bauer341340
2007-03-20, 02:24 PM
The drawing I attached my last post had the problem I was experiencing in it. The blocks have been modified since the tool palette was created. How can I relate my environment to you?

.chad
2007-03-20, 02:41 PM
The drawing I attached my last post had the problem I was experiencing in it. The blocks have been modified since the tool palette was created. How can I relate my environment to you?take a screenshot. a picture is worth 1000 words afterall.

charlie.bauer341340
2007-03-20, 02:58 PM
I am using a dual monitor with the tool palettes and toolbars on the second screen. Attached are screen shots of the properties of one of the blocks, a screen shot of the block and a screen shot of the tool palette.

Chris.N
2007-03-20, 03:01 PM
The drawing I attached my last post had the problem I was experiencing in it. The blocks have been modified since the tool palette was created. How can I relate my environment to you?sorry about that.... :Oops: i'll look before i leap next time...

i guess the screenshots that chad suggest would be next...

MILADNAZARI004
2007-03-31, 09:11 AM
HELLO charlieb

THIS IS TRUE.FOR YOU.BYE

MILADNAZARI004
2007-03-31, 09:18 AM
HI CHRIS.
FOR YOU.BYE

Chris.N
2007-03-31, 04:14 PM
HELLO charlieb

THIS IS TRUE.FOR YOU.BYEcould you use the "QUOTE" button please? i have no idea what post you are replying to. Thank you.

also, could you please read thru the AUGI Forum GUIDELINES (http://forums.augi.com/faq.php?faq=vb_augi#faq_vb_augi)? All caps is considered 'yelling'. ;)

Chris.N
2007-03-31, 04:16 PM
HI CHRIS.
FOR YOU.BYEok.... :confused: why do i need to know about "burst" command, and why are the DB's in question exploded in the drawing you attached in the reply to me?

i would just like a little more explanation as to why you posted these responses and attachments, that's all.

Thanks!!