BIM 文件工作空间属性
汇总
Describe 函数将返回 BIM 文件工作空间的以下属性。 还支持 数据集 属性组。
对于 BIM 文件工作空间, Describe 函数的 dataType 属性将返回 "BIMFileWorkspace" 值。
属性
| 属性 | 说明 | 数据类型 |
|---|---|---|
|
activeWorldFilePath (只读) |
用于调整文件中要素空间坐标的 |
String |
|
author (只读) |
BIM 文件作者姓名。 |
String |
|
bimLevels (只读) |
将以 JSON 对象的 JSON 数组形式返回的 BIM 级别名称和楼层名称。 |
String |
|
buildingName (只读) |
建筑物名称。 |
String |
|
client (只读) |
为其创建文件的组织的用户提供的名称。 |
String |
|
designOptions (只读) |
设计选项的展平 JSON 数组,包括设计选项名称、选项是否为主选项以及选项集的名称。 |
String |
|
displayUnitSystem (只读) |
指定显示单位, |
String |
|
externalSources (只读) |
作为 JSON 对象的 JSON 数组引用的文件列表 |
String |
|
isIFC (只读) |
指定 BIM 工作空间是否为 |
Boolean |
|
isRevit (只读) |
指定 BIM 工作空间是否为 Revit 文件。 |
Boolean |
|
landTitle (只读) |
土地所有权。 |
String |
|
lengthDisplayUnit (只读) |
长度显示单位。 |
String |
|
organizationName (只读) |
组织名称。 |
String |
|
organizationDescription (只读) |
组织描述。 |
String |
|
phases (只读) |
将以 JSON 对象的 JSON 数组形式返回的建造阶段列表。 |
String |
|
projectAddress (只读) |
工程的位置地址。 |
String |
|
projectName (只读) |
工程的名称。 |
String |
|
projectNumber (只读) |
工程编号。 |
String |
|
projectStatus (读取和写入) |
工程状态。 |
String |
|
version (只读) |
BIM 文件版本。 |
String |
|
worksets (只读) |
将以 JSON 对象的 JSON 数组形式返回的工作集名称列表。 |
String |
代码示例
BIM 文件工作空间属性示例
以下独立脚本可显示 BIM 文件工作空间的属性。
import arcpy
# Create a describe object #
desc = arcpy.Describe("C:/data/project.ifc")
# Print BIM file Workspace properties
print(f"Is a Revit file: {desc.isRevit}")
print(f"Is an IFC file: {desc.isIFC}")
print(f"Building Name: {desc.buildingName}")
print(f"Client's Name: {desc.client}")