サマリー
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".
プロパティ
| プロパティ | 説明 | データ タイプ |
| activeWorldFilePath (読み取り専用) | The path to a .wld3 file being used to adjust the spatial coordinates of features in the file. | String |
| author (読み取り専用) | The provided BIM file author's name. | String |
| bimLevels (読み取り専用) | Returns BIM level names as a JSON array of JSON objects. | String |
| buildingName (読み取り専用) | The building name. | String |
| client (読み取り専用) | The user-provided name of the organization for which the file was created. | String |
| displayUnitSystem (読み取り専用) | The display units: Imperial or Metric. | String |
| externalSources (読み取り専用) | A list of files referenced in this file as a JSON array of a JSON object | String |
| isIFC (読み取り専用) | Indicates whether the BIM workspace is an .ifc file. | Boolean |
| isRevit (読み取り専用) | Indicates whether a BIM workspace is a Revit file. | Boolean |
| landTitle (読み取り専用) | The land title. | String |
| lengthDisplayUnit (読み取り専用) | The length display unit. | String |
| organizationName (読み取り専用) | The organization name. | String |
| organizationDescription (読み取り専用) | The organization description. | String |
| phases (読み取り専用) | Returns a list of construction phases as a JSON array of JSON objects. | String |
| projectAddress (読み取り専用) | The location address of the project. | String |
| projectName (読み取り専用) | The name of the project. | String |
| projectNumber (読み取り専用) | The project number. | String |
| projectStatus (読み書き) | The project status. | String |
| version (読み取り専用) | The BIM file version. | String |
コードのサンプル
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))