其他分享
首页 > 其他分享> > Teigha中Layer is locked

Teigha中Layer is locked

作者:互联网

使用Teigha对CAD数据进行操作时(包括读取),如果CAD图层是锁定状态,就会报错:Teigha.Runtime.Exception:Layer is locked

解决方法:Teigha的GetOject重载方法中,有一个forceOpenLockedLayer参数,可方便解决这一问题。

标签:Layer,locked,Teigha,报错,Runtime,CAD
来源: https://blog.csdn.net/shenjiujun/article/details/122716236