摘要:
AutoCAD .net API中可以用如下代码来设置entity的颜色为bylayer,请注意 BYLAYER的colorIndex为256。很简单,光贴代码。 [CommandMethod("SetColorByLayer")]public void SetColorByLayer(){ObjectId objId = GetSelectEntity();using (Transaction trans = HostApplicationServices.WorkingDatabase.TransactionManager.StartTransaction()){Ent 阅读全文
posted @ 2011-09-02 18:31
峻祁连
阅读(3175)
评论(0)
推荐(0)
浙公网安备 33010602011771号