Units of 'Area' in Properties toolbar

Units of 'Area' in Properties toolbar

carl.coghill
Advocate Advocate
9,462 Views
4 Replies
Message 1 of 5

Units of 'Area' in Properties toolbar

carl.coghill
Advocate
Advocate

Hi,

 

I frequently interrogate drawings to find the area of a polyline. I always draw in millimeters, therefore drawing templates are set to this.

 

When I view the properties of a polyline, the area is displayed in mm² (see first screen shot).

 

However, I want to know the area in m². To get this, I open the Quick Calc dialog box (see second screen shot).

 

The Convert from units default to Square meters, which I have to change to Square millimeters (see third screen shot).

 

Is there a way to get the area in the properties to display in m² by default?

 

area properties.JPG

 

Conversion screen.JPG

 

Conversion screen2.JPG

Carl Coghill
Senior Designer
AutoCAD 2018
Windows 7 Professional 64bit
LinkedIn
0 Likes
Accepted solutions (1)
9,463 Views
4 Replies
Replies (4)
Message 2 of 5

cadffm
Consultant
Consultant

 

Is it really needed to use qickcal for nnn divided by a million?

 

Why / For what you need that. What do you do with that m²-Number?

If we know that we can find the best solution for you.

 

(I am thinking you can not pre-define this dialog)

 

 

https://forums.autodesk.com/t5/autocad-forum/area-dialog-box-missing-out/td-p/7334997

 

or

 

 

(defun c:PA0000001 ( / e)
  (and
    (setq e (car(entsel)))
    (vlax-property-available-p (setq e (vlax-ename->vla-object e)) 'area)
    (alert(princ (strcat "\nArea/1.000.000: " (rtos (/ (vla-get-Area e) 1000000.) 2 3))))
  )
 (princ)
)

 

 

 

or

 

 

(defun c:PA0000001 ( / gc:GetObjectIdString _aD en ip  )
  
	(defun gc:GetObjectIdString (obj doc) ; thx4GillesChanteau
	  (or *util* (setq *util* (vla-get-Utility  doc)))
	  (if (vlax-method-applicable-p *util* 'GetObjectIdString)
	    (vla-GetObjectIdString *util* obj :vlax-false)
	    (itoa (vla-get-ObjectId obj))
	  )
	)
 
  (and
    (setq _aD (vla-get-activedocument (vlax-get-acad-object)))
    (setq en (car(entsel)))
    (vlax-property-available-p (setq en (vlax-ename->vla-object en)) 'area)
    (setq ip (getpoint "\nInsertion Point: "))
    (vla-addMText
	   (if (or(= 1 (vla-get-activespace _aD)) (= (vla-get-mspace _aD) :vlax-true))
	       (vla-get-modelspace _aD)
	       (vla-get-paperspace _aD)
	   )
	   (vlax-3d-point ip)
	   0
           (strcat "%<\\AcObjProp Object(%<\\_ObjId " (gc:GetObjectIdString en _aD) ">%).Area \\f \"%lu2%pr3%ct8[1.000000000000000E-006]\">%")
    )
    (command "_.ZOOM" "_o" "_l" "" "_.ZOOM" ".025x")
  )
 (princ)
)

 

Sebastian

0 Likes
Message 3 of 5

Kent1Cooper
Consultant
Consultant
Accepted solution

@carl.coghill wrote:

.... 

Is there a way to get the area in the properties to display in m² by default?

....

 


This has come up before, also from people wanting it to show square feet when they draw with an inch as the drawing unit.  I believe the answer is "no," but you could find some of those discussions with a little Searching, and maybe something from one of them will be helpful for you.

Kent Cooper, AIA
0 Likes
Message 4 of 5

RohanKarche
Community Visitor
Community Visitor

This is a very big problem everyone is facing. I hope Auto cad finds a simple way out by providing a setting that directly convert areas from mm2 to m2. Auto cad can simply add a alternate units dialogue box in properties.

Auto I request you to please provide an Alternative units row in properties section

0 Likes
Message 5 of 5

Kent1Cooper
Consultant
Consultant

@RohanKarche wrote:

.... Auto cad can simply add a alternate units dialogue box in properties.

Auto I request you to please provide an Alternative units row in properties section


We in this Forum are just other Users like you, with limited monitoring by Autodesk employees who are not the programmers that could implement a request like this.  Try going to the >Product Feedback page<.

Kent Cooper, AIA
0 Likes