Reply

Is there a way to automate measuring perim and area and puting it in as a text annotation


I am doing a lot of the following operation:
Select an area of a complex shape, write down the area, pick the accept button to
have it compute the perimeter and other numbers, and write down the perimeter.
Then I quit this, hit undo to remove anything left behind from this command, and
then go to annotate and create a text box and put in the area and perimeter numbers.
I don't need any of the other metrics that are produced. The text box goes in the
middle of the object that I just measured.
The geometry is strictly 2D.
Is there some way to automate this, as I do a lot of this, and this could speed
up my workflow?
Thanks
3 REPLIES

Re: Is there a way to automate measuring perim and area and puting it in as a text annotation

Courtney,
I have attached an example that may be what you are looking for.
There are two different commands that compute area (Measure Area and Area).
Measure Area is temporary. Area creates an associative object that you can
extract the values.
The area object is on Layer1, which is not displayed. you can display Layer1
to see the Area object.
The properties of an Area object are added to the variable table. Any values
in the variable table are available to display in a callout.
You will notice that the area is bounded by 4 lines. There is a callout
below the 4 lines that displays the area and perimeter of the area object.
Look at the properties of the callout to see how the format is for
displaying these variables.
I used the Property Text button on the Callout Properties dialog to input
the proper syntax for extracting the values.
When you modify the dimensions that drive the lines, this associatively
changes the area and updates the callout.
I know this is a lot to take in, but look through the example. If you have
any questions, please ask.
Regards,
Rick B.


Re: Is there a way to automate measuring perim and area and puting it in as a text annotation


That is the sort of thing that I am looking for. However I have two problems that
I can't find a good solution for. These are:
I can't find a way to highlight one of the orienting arrows that represents an area,
and find out its name, such as A644. The only way I found the variable name when
I created a 2nd one was to look in the variable table, and guess which name it might
be. I would expect there is a more direct way to do this, but I can't find it. (I
found the property text button, but the preview does nothing.)
The 2nd question is about dragging the associative object onto a part of the drawing.
Image a rectangle with a line going across diagonally. The object will drop on one
triangle, or the other, but I can't get it to become attached to both (The entire
original rectangle). With the measure area command, I can shift click to include
several adjacent parts together and get the perimeter of the entire object. I can't
seem to do that for the case of using the associative object and the callout.
If I can get past the 2nd issue, then this will meet my needs perfectly.
The other thing I see is the message "Your software does not allow the creation
of Automation Objects" when I select the property of the X Y orientation object.
It does give me the area and perimeter and a lot of other number, but it does not
show the name of the widget I clicked on.

"Ricky Black" wrote:
>Courtney,
>I have attached an example that may be what you are looking for.
>There are two different commands that compute area (Measure Area and Area).
>Measure Area is temporary. Area creates an associative object that you can
>
>extract the values.
>
>The area object is on Layer1, which is not displayed. you can display Layer1
>
>to see the Area object.
>
>The properties of an Area object are added to the variable table. Any values
>
>in the variable table are available to display in a callout.
>
>You will notice that the area is bounded by 4 lines. There is a callout
>below the 4 lines that displays the area and perimeter of the area object.
>
>Look at the properties of the callout to see how the format is for
>displaying these variables.
>I used the Property Text button on the Callout Properties dialog to input
>
>the proper syntax for extracting the values.
>
>When you modify the dimensions that drive the lines, this associatively
>changes the area and updates the callout.
>
>I know this is a lot to take in, but look through the example. If you have
>
>any questions, please ask.
>
>Regards,
>Rick B.
>
>
>

Re: Is there a way to automate measuring perim and area and puting it in as a text annotation

Courtney,
Can you send a file for me to look at to better understand what you are
doing?
Thanks,
Rick B.