求助:VB.NET怎么把一个图元改到其它图层
已经获取图元的ObjectId,怎么把这个图元移动到其它图层? Dim acDb As Database = HostApplicationServices.WorkingDatabaseUsing acTrans As Transaction = acDb.TransactionManager.StartTransaction()
Dim Ent As Entity = acTrans.GetObject(ID, OpenMode.ForWrite)
Ent.Layer = LName
acTrans.Commit()
End Using 非常感谢
页:
[1]