how to i get the coordinates of a block-reference in autocad-VBA?
问题 I am trying to get the coordinates of an autocad blockreference. With the code below I can pick a blockreference in autocad, but it always displays (0,0,0) as insertionpoint... Is the insertionpoint the actual coordinates of a block, or not? Sub GetInsertpoint() Dim oEnt As AcadEntity Dim varPick As Variant Dim brBref As AcadBlockReference Dim arAttR As AcadAttributeReference Dim varAt As Variant Dim i As Double ThisDrawing.Utility.GetEntity oEnt, varPick, vbCr & "Get the block" If TypeOf