[求助]哪位能帮忙看下这行代码在.NET下如何写啊,
<p><font face="Verdana">哪位能帮忙看下这行代码在.NET下如何写啊,acedCommand(RTSTR,"SCALE",RTPICKS,newSs,RTSTR,"",RTPOINT,pt,RTREAL,dScale,0);</font></p><p>其中:<font face="Verdana">newSs是一selectionset</font>。谢谢了</p> 本帖最后由 作者 于 2010-11-17 18:26:45 编辑
http://bbs.mjtd.com/forum.php?mod=viewthread&tid=78074&star=1#18948
public static void test26()
{
Document doc = Application.DocumentManager.MdiActiveDocument;
Editor ed = doc.Editor;
Database db = doc.Database;
var resSel = ed.GetSelection();
if (resSel.Status != PromptStatus.OK)
return;
InvokeArx.Command
(
false,
new ResultTree
{
"scale",
resSel.Value,
"",
new Point3d(10,10,0), 5
}
);
谢谢了,问下你这个是vs哪个版本下写的,有var类型的变量 想问下版主,您的ObjectArx和vs版本各是哪个,找不到InvokeArx.Command这样的方法啊,谢谢啦 <p>InvokeArx.Command在二楼的链接里找</p>
<p>VS2008</p> 谢谢了,仔细研究下
页:
[1]