CAD数据导入时可能会出现一个有关Z属性的错误,这个可以通过代码来打开或关闭IGeometry的Z属性
private void MakeZAwareFalse(IGeometry geometry,bool openOrclose)
{
IZAware zAware = geometry as IZAware;
zAware.ZAware = openOrclose;
}
CAD数据导入时可能会出现一个有关Z属性的错误,这个可以通过代码来打开或关闭IGeometry的Z属性
private void MakeZAwareFalse(IGeometry geometry,bool openOrclose)
{
IZAware zAware = geometry as IZAware;
zAware.ZAware = openOrclose;
}
转载于:https://www.cnblogs.com/MyLucifer/archive/2010/12/01/1893223.html