PDA

View Full Version : relate polyline m2 data with attribute block+table...



gerit
2009-09-23, 09:41 PM
...i remember having learned that 10 years ago in an acad class.

somehow we created an attributeblock with roomnr, roomname, floor finish, m (auto), m2 (auto)...like a typical block you would use for general arrangement drawings.
then i think we drew a polyline (which was somehow related to the attribute block) and by closing the polyline the attributeblock popped up with the area (m2) and outline (m) were already linked to the polyline. so after placing the attribute block then we had a need block with manually typed text (like roomnr, name floor finish) + automatic linked data (m2 and m).

and finally the m2 data was automatically linked to an exel file (via lisp).

i remember these steps, but i have absolutely no clue anymore how i can actually do it.

i´ve red in the forum about the the m2 output of a polyline into a table or excel file (and think i´ll be able to figure that out), but how do i get an automatic update of the m2 into my attributeblock?

thanks for any help on that!

RobertB
2009-09-24, 12:19 AM
I think you had programming also handling the first part. You can add a field to an attribute reference that looks at the polyline object's Area property, but it does not sound like you were using the normal interface for this process. That means there must have been some code helping the process.

Capt. Computer Crasher
2009-09-24, 01:31 AM
Robert,

I agree with I think there has to be some other involved in what the OP described. I think that the data extractor might help the OP in what he desires however.