com.supermap.realspace.threeddesigner
类 ImportSettingDGN3DModel
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.threeddesigner.ImportSetting3D
-
- com.supermap.realspace.threeddesigner.ImportSettingDGN3DModel
-
- 所有已实现的接口:
- IDisposable
public class ImportSettingDGN3DModel extends ImportSetting3D
DGN(3DModel)文件导入的参数设置类。继承自ImportSetting3D 类。
-
-
构造器概要
构造器 构造器和说明 ImportSettingDGN3DModel()
默认构造函数,构造一个新的 ImportSettingDGN3DModel 对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。String
getLinkModelsFilePath()
返回保存点外挂模型文件的路径。String
getMaterialLibraryPath()
返回dgn模型的材质库路径。Point3D
getPosition()
返回dgn模型的插入点位置。boolean
isImportLines()
返回导入dgn模型时是否导入线对象。boolean
isStoreGroupedCustomAttributes()
获取DGN导入时是否将元素自定义属性分组存储并添加到属性列表void
setImportLines(boolean bImportLines)
设置导入dgn模型时是否导入线对象。void
setLinkModelsFilePath(String strFilePath)
设置保存点外挂模型文件的路径。void
setMaterialLibraryPath(String strPath)
设置dgn模型的材质库路径。void
setPosition(Point3D point3d)
设置dgn模型的插入点位置。void
setStoreGroupedCustomAttributes(boolean bStoreGroupedCustomAttributes)
设置DGN导入时是否将元素自定义属性分组存储并添加到属性列表-
从类继承的方法 com.supermap.realspace.threeddesigner.ImportSetting3D
getImportMode, getSourceFilePath, getSourceFileType, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetPriCoordSys, setImportMode, setRecalculatePosition, setSourceFilePath, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetPriCoordSys, toFileType, toXmlFileType
-
-
-
-
构造器详细资料
-
ImportSettingDGN3DModel
public ImportSettingDGN3DModel()
默认构造函数,构造一个新的 ImportSettingDGN3DModel 对象。- 从以下版本开始:
- 11.2.0。
-
-
方法详细资料
-
getPosition
public Point3D getPosition()
返回dgn模型的插入点位置。- 返回:
- 插入点位置。
- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.2.0。
-
setPosition
public void setPosition(Point3D point3d)
设置dgn模型的插入点位置。- 参数:
point3d
- 插入点位置。- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.2.0。
-
getMaterialLibraryPath
public String getMaterialLibraryPath()
返回dgn模型的材质库路径。- 返回:
- 材质库路径。
- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.2.0。
-
setMaterialLibraryPath
public void setMaterialLibraryPath(String strPath)
设置dgn模型的材质库路径。- 参数:
strPath
- 材质库路径。- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.2.0。
-
setImportLines
public void setImportLines(boolean bImportLines)
设置导入dgn模型时是否导入线对象。- 参数:
bImportLines
- 是否导入线对象。设置true,表示导入线对象;设置false,表示不导入线对象。- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.3.0。
-
isImportLines
public boolean isImportLines()
返回导入dgn模型时是否导入线对象。- 返回:
- 是否导入线对象。
- 抛出:
IllegalStateException
- 当前对象已被释放。- 从以下版本开始:
- 11.3.0。
-
setLinkModelsFilePath
public void setLinkModelsFilePath(String strFilePath)
设置保存点外挂模型文件的路径。- 参数:
strFilePath
- 保存外挂模型文件的路径。1、默认将dgn模型实例化的对象以点位+模型的形式导入,非实例化的对象导入模型数据集; 2、如果没有设置外挂模型文件的路径,会自动将外挂模型文件输出到udb/udbx文件同级目录下,其他数据库类型的数据源找不到则会执行失败,并输出日志信息。
- 从以下版本开始:
- 12.0.0。
-
getLinkModelsFilePath
public String getLinkModelsFilePath()
返回保存点外挂模型文件的路径。- 返回:
- 保存外挂模型文件的路径。
- 从以下版本开始:
- 12.0.0。
-
setStoreGroupedCustomAttributes
public void setStoreGroupedCustomAttributes(boolean bStoreGroupedCustomAttributes)
设置DGN导入时是否将元素自定义属性分组存储并添加到属性列表- 参数:
bStoreGroupedCustomAttributes
- 类型值为boolean 设置true表示将元素自定义属性分组存储并添加到属性列表中 设置false表示不把元素自定义属性分组存储
-
isStoreGroupedCustomAttributes
public boolean isStoreGroupedCustomAttributes()
获取DGN导入时是否将元素自定义属性分组存储并添加到属性列表- 返回:
- 是否将元素自定义属性分组存储并添加到属性列表, 默认是false
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。- 抛出:
UnsupportedOperationException
- 对象不能被释放,不能调用Dispose方法。- 从以下版本开始:
- 11.2.0。
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.