Quantcast
Channel: AutoCAD LT Forum topics
Viewing all articles
Browse latest Browse all 9826

dynamic block with updating atrribute

$
0
0

Hello Everybody,

 

I am looking for some help with attributes in dynamic blocks, I just can't figure it out on my own:

 

The aim is to create a dynamic block which contains a closed polyline (which I can stretch using stretch actions associated with point parameters) and an attribute that displays the area enclosed by the polyline. After I have streched the block to shape in model space using the point parameters I want the attribute to display the resulting area (for which I would need to use the REGEN command i know).

 

Attached is a file with my achievements so far. I can get a field in a text object to do what I want (not included in the file), but I cannot get a field inside the attribute to update after the REGEN command. I need the area to be processed in the attribute because eventually I want to export the information from a number of such blocks with ATTEXT.

 

I have found a block which does exactly what I want, so I know it works, only I would like to understand why that one does and mine doesn't.

 

This should be a good starting point I hope.

 

I am very much looking forward to your help!

 

Coooper


Viewing all articles
Browse latest Browse all 9826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>