project_plotting
project_data_plotting(input_file, layout_json, setup_json, output_file)
工程数据出图(实体/钻孔/块段模型),根据输入文件扩展名自动切换
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_file
|
str
|
输入文件路径(支持实体/钻孔/块段模型文件) |
required |
layout_json
|
LayoutParam
|
绘图布局配置参数 |
required |
setup_json
|
SetupParams
|
绘图设置参数 |
required |
output_file
|
str
|
输出文件路径 |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
成功时返回提示消息,失败时抛出异常 |
Raises:
| Type | Description |
|---|---|
ValueError
|
出图失败时抛出,包含错误消息 |
Source code in dimine_python_sdk\lib\io\project_plotting.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |