[VBA]为什么ThisDrawing.Utility.GetPoint赋值的变量只能为Variant
<P>Dim ptCen As Variant '横断端面中心点Option Explicit<BR>''为什么 as AcadPoint不行<BR>Form1.Hide<BR>ptCen = ThisDrawing.Utility.GetPoint(, "拾取中心点:")</P><P>为什么把Dim ptCen As Variant改成Dim ptCen As AcadPoint</P>
<P>就会提示对象变量或 With 块变量没有设置(错误 91)</P> <P>点实体和点坐标是两个概念</P>
页:
[1]