Lisp调用VBA请教
<p>(Vlax-Invoke-Method (Vlax-Get (Vlax-Get-Acad-Object) 'ActiveDocument)<br/> 'SendCommand<br/> "(command \"cone\" pt2 D1 H2)"<br/> )</p><p>CAD无法直接执行上面的代码 有办法能让他直接执行吗</p> <p>(Vlax-Invoke-Method (Vlax-Get (Vlax-Get-Acad-Object) 'ActiveDocument)<br/> 'SendCommand<br/> "(command \"cone\" pt2 D1 H2) "<br/>)</p><p>注意"(command \"cone\" pt2 D1 H2) "后面加个空格<br/></p>
页:
[1]