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

Teigha中Layer is locked

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

Teigha中Layer is locked

 

相关文章: