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;
}