如何得到所有图块名 ?
MxDraw网页开发|黄洪辉|2018-05-07 16:44
-
回答:
var database = mxOcx.GetDatabase(); var blkTab = database.GetBlockTable(); var iter = blkTab.NewIterator(); for (; !iter.Done(); iter.Step()) { var blkRec = iter.GetRecord(); alert(blkRec.Name); }