Object Center

Object Center

waseefur.rahman
Advocate Advocate
338 Views
0 Replies
Message 1 of 1

Object Center

waseefur.rahman
Advocate
Advocate

 

Hi,

I am trying to get the center point of object location,
Could it be possible to get it through "Geometric Center"


Dim peo As New PromptEntityOptions(vbLf & "Pick the Window or press ESC to Exit: ")

Dim per As PromptEntityResult = ed.GetEntity(peo)

 

 Dim Windowcenter As ObjectSnapInfo

Windowcenter = ObjectSnapModes.ModeCenter(per)

 

Also attached a dwg.

Could any one guide please..

0 Likes
339 Views
0 Replies
Replies (0)