BIM File Workspace properties

Synthèse

The Describe function returns the following properties for a BIM file workspace. The Dataset property group is also supported.

For a BIM file workspace, the Describe function's dataType property returns a value of "BIMFileWorkspace".

Propriétés

PropriétéExplicationType de données
activeWorldFilePath
(Lecture seule)

The path to a .wld3 file that will be used to adjust the spatial coordinates of features in the file.

String
author
(Lecture seule)

The BIM file author's name.

String
bimLevels
(Lecture seule)

The BIM level names that will be returned as a JSON array of JSON objects.

String
buildingName
(Lecture seule)

The building name.

String
client
(Lecture seule)

The user-provided name of the organization for which the file was created.

String
designOptions
(Lecture seule)

A flat JSON array for design options that includes the design option name, whether the option is a primary option, and the name of the option set.

String
displayUnitSystem
(Lecture seule)

Specifies the display units, either Imperial or Metric.

String
externalSources
(Lecture seule)

A list of files referenced as a JSON array of a JSON object

String
isIFC
(Lecture seule)

Specifies whether the BIM workspace is an .ifc file.

Boolean
isRevit
(Lecture seule)

Specifies whether the BIM workspace is a Revit file.

Boolean
landTitle
(Lecture seule)

The land title.

String
lengthDisplayUnit
(Lecture seule)

The length display unit.

String
organizationName
(Lecture seule)

The organization name.

String
organizationDescription
(Lecture seule)

The organization description.

String
phases
(Lecture seule)

A list of construction phases that will be returned as a JSON array of JSON objects.

String
projectAddress
(Lecture seule)

The location address of the project.

String
projectName
(Lecture seule)

The name of the project.

String
projectNumber
(Lecture seule)

The project number.

String
projectStatus
(Lecture et écriture)

The project status.

String
version
(Lecture seule)

The BIM file version.

String
worksets
(Lecture seule)

A list of workset names that will be returned as a JSON array of JSON objects.

String

Exemple de code

BIM File Workspace properties example

The following stand-alone script displays properties for a BIM file workspace.

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}")