Jump to content

Measuring area by point - After Enter it continues to ask for another point...


CE1

Recommended Posts

I can't figure out why my area measurement tool won't give me the area when I try to measure with point. It should give me the are after I put my points and click enter. But when I click enter, it keeps telling me to specify next point or [arc,length,undo]... How do I fix this?

Thanks.

Link to comment
Share on other sites

  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

  • CE1

    12

  • ReMark

    7

  • Emigrato

    3

  • eldon

    1

Top Posters In This Topic

I know measuring the area by object, but I want to do it by point, because I want to measure an area that doesn't have polylines.

Link to comment
Share on other sites

Is there another way you can send me the link or "lisp" I haven't figured out what that is yet :D

The link is blocked by our internet regulations.

Link to comment
Share on other sites

Stop. AutoCAD will continue to keep asking for points until YOU stop picking them. That's the way it works. Pick your last point then hit the Enter key.

Link to comment
Share on other sites

I'm using 2012 at the moment and it does stop. Not sure why you would be seeing something different. I'll have to check out how it works in 2013.

 

I'll be back.

 

Test completed. No difference in 2013.

Link to comment
Share on other sites

I was wondering, maybe it's like a setting or something that's causing the problem. I don't know. It should work like the way described it.

Link to comment
Share on other sites

You could use the BOUNDARY command to create a boundary (one polyline) then use the AREA command with the OBJECT option.

 

If there is a "setting" then it is one I do not recall at the moment. I'll have to think on it and get back to you unless somebody else beats me to it like rkent or nestly.

Link to comment
Share on other sites

ReMark,

 

Yes, It gives me the same result. I click enter on the keyboard and I tried right click and clicking on enter.

 

 

 

ReMark

Do you get the same results if you use the MEASUREGEOM command with ARea option?

Link to comment
Share on other sites

Both commands work as expected in 2013.

 

Is the difference attributable to the fact that you are using a vertical product?

Link to comment
Share on other sites

I am sure it works and that's why I think I need to make a change on something and I don't know what it is. I am just making a simple conceptual site layout. Nothing 3D or anything. I am in the Civil 3D workspace.

 

 

 

 

"ReMark

Both commands work as expected in 2013.

 

Is the difference attributable to the fact that you are using a vertical product?"

Link to comment
Share on other sites

How are you starting the command?

What does the command line say before you start picking?

What does the command line say after you have picked the first point?

Link to comment
Share on other sites

So I just opened a completely new file with nothing in it and the command works fine. So what is wrong with the file I am using? My file is corrupted somehow. Sometimes it doesn't save and I have to audit and then save it again. I don't know why it starts having problems all of a sudden...

Link to comment
Share on other sites

Is there another way you can send me the link or "lisp"

Copy&paste the following code in Notepad, then save the file as AREALABEL.LSP

 

(defun c:AREALABEL (/ ar textht p1)

(alert " CADTUTOR.NET 2012 \n\n Powered by: emigrato@wp.pl  ")

(initget 7)

(setq textht (getreal "\nEnter text height: "))  

(setq p1 (getpoint "\nPick point inside area to label: "))

(while (and p1)

(command "_bpoly" p1 "")     

(command "_area" "_o" "_l")     

(command "_erase" "_l" "")     

(setq ar (rtos (getvar "AREA") 2 2))     

(command "_text" "_m" p1 textht "0" (strcat "Area: " ar " m\\U+00B2"))     

(setq p1 (getpoint "\nPick point inside area to label: "))     )   

(princ)   

)

Link to comment
Share on other sites

Thanks for the codes Emigrato.

 

I just copied everything I have in the file and paste it in a new file. Area command now works fine. I just don't understand how things go wrong in these files sometimes. If I had a more complex file I wouldn't be able to copy/paste. The audit command doesn't seem to correct everything.

Link to comment
Share on other sites

No I didn't. I thought that command deleted all the unused layers.

 

"ReMark

Did you do a command line purge of the drawing first?"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...