BIM File Workspace properties

Resumen

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".

Propiedades

PropiedadExplicaciónTipo de datos
activeWorldFilePath
(Sólo lectura)

The path to a .wld3 file being used to adjust the spatial coordinates of features in the file.

String
author
(Sólo lectura)

The provided BIM file author's name.

String
bimLevels
(Sólo lectura)

Returns BIM level names as a JSON array of JSON objects.

String
buildingName
(Sólo lectura)

The building name.

String
client
(Sólo lectura)

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

String
displayUnitSystem
(Sólo lectura)

The display units: Imperial or Metric.

String
externalSources
(Sólo lectura)

A list of files referenced in this file as a JSON array of a JSON object

String
isIFC
(Sólo lectura)

Indicates whether the BIM workspace is an .ifc file.

Boolean
isRevit
(Sólo lectura)

Indicates whether a BIM workspace is a Revit file.

Boolean
landTitle
(Sólo lectura)

The land title.

String
lengthDisplayUnit
(Sólo lectura)

The length display unit.

String
organizationName
(Sólo lectura)

The organization name.

String
organizationDescription
(Sólo lectura)

The organization description.

String
phases
(Sólo lectura)

Returns a list of construction phases as a JSON array of JSON objects.

String
projectAddress
(Sólo lectura)

The location address of the project.

String
projectName
(Sólo lectura)

The name of the project.

String
projectNumber
(Sólo lectura)

The project number.

String
projectStatus
(Lectura y escritura)

The project status.

String
version
(Sólo lectura)

The BIM file version.

String

Muestra de código

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("%-12s %s" % ("Is a Revit file:", desc.isRevit))
print("%-12s %s" % ("Is an IFC file:", desc.isIFC))
print("%-12s %s" % ("Building Name:", desc.buildingName))
print("%-12s %s" % ("Client's Name:", desc.client))