From 26d9a395f9bf2c05e47cbd327a438749a346920f Mon Sep 17 00:00:00 2001
From: Chuong Ho <31106432+chuongmep@users.noreply.github.com>
Date: Sun, 24 Mar 2024 17:09:48 +0800
Subject: [PATCH] add docs navis
---
...lore Navisworks Data With APSToolkit.ipynb | 2179 +++++++++++++++++
APSToolkitPython/setup.py | 2 +-
Readme.md | 1 +
3 files changed, 2181 insertions(+), 1 deletion(-)
create mode 100644 APSToolkitPython/Tutorials/04.04. Explore Navisworks Data With APSToolkit.ipynb
diff --git a/APSToolkitPython/Tutorials/04.04. Explore Navisworks Data With APSToolkit.ipynb b/APSToolkitPython/Tutorials/04.04. Explore Navisworks Data With APSToolkit.ipynb
new file mode 100644
index 0000000..8e2ca4a
--- /dev/null
+++ b/APSToolkitPython/Tutorials/04.04. Explore Navisworks Data With APSToolkit.ipynb
@@ -0,0 +1,2179 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "
\n",
+ " \n",
+ " \n",
+ " Run in Colab\n",
+ " \n",
+ " | \n",
+ " \n",
+ " \n",
+ " View on GitHub\n",
+ " \n",
+ " | \n",
+ "
"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "\n",
+ " \n",
+ " Author(s) | \n",
+ " Chuong Ho | \n",
+ " \n",
+ "
\n",
+ "
"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Requirement already satisfied: aps-toolkit in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (0.4.5)\n",
+ "Collecting aps-toolkit\n",
+ " Downloading aps_toolkit-0.4.6-py3-none-any.whl.metadata (1.9 kB)\n",
+ "Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from aps-toolkit) (2.28.1)\n",
+ "Requirement already satisfied: pandas in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from aps-toolkit) (2.2.0)\n",
+ "Requirement already satisfied: numpy<2,>=1.23.2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pandas->aps-toolkit) (1.23.5)\n",
+ "Requirement already satisfied: python-dateutil>=2.8.2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pandas->aps-toolkit) (2.8.2)\n",
+ "Requirement already satisfied: pytz>=2020.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pandas->aps-toolkit) (2022.7)\n",
+ "Requirement already satisfied: tzdata>=2022.7 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pandas->aps-toolkit) (2023.4)\n",
+ "Requirement already satisfied: charset-normalizer<3,>=2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests->aps-toolkit) (2.1.1)\n",
+ "Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests->aps-toolkit) (3.4)\n",
+ "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests->aps-toolkit) (1.26.13)\n",
+ "Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests->aps-toolkit) (2022.12.7)\n",
+ "Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from python-dateutil>=2.8.2->pandas->aps-toolkit) (1.16.0)\n",
+ "Downloading aps_toolkit-0.4.6-py3-none-any.whl (51 kB)\n",
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m51.9/51.9 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
+ "\u001b[?25hInstalling collected packages: aps-toolkit\n",
+ " Attempting uninstall: aps-toolkit\n",
+ " Found existing installation: aps-toolkit 0.4.5\n",
+ " Uninstalling aps-toolkit-0.4.5:\n",
+ " Successfully uninstalled aps-toolkit-0.4.5\n",
+ "Successfully installed aps-toolkit-0.4.6\n",
+ "\n",
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.3.2\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m24.0\u001b[0m\n",
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n",
+ "Note: you may need to restart the kernel to use updated packages.\n"
+ ]
+ }
+ ],
+ "source": [
+ "%pip install aps-toolkit --upgrade"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from aps_toolkit import Auth\n",
+ "import pandas as pd"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "token = Auth().auth2leg()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "#### Auth Via Google Colab"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# from google.colab import userdata\n",
+ "# client_id = userdata.get('APS_CLIENT_ID')\n",
+ "# client_secret = userdata.get('APS_CLIENT_SECRET')\n",
+ "# auth = Auth(client_id, client_secret)\n",
+ "# token = auth.auth2leg()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "urn = \"dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Y2h1b25nX2J1Y2tldC9NeUhvdXNlLm53Yw\""
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from aps_toolkit import PropDbReaderNavis\n",
+ "prob_reader = PropDbReaderNavis(urn,token)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### I want get document info Cad file"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " property | \n",
+ " value | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " None | \n",
+ " 17 | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " Name | \n",
+ " Location Data | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " Type | \n",
+ " File | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " Icon | \n",
+ " File | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " Hidden | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 5 | \n",
+ " Required | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 6 | \n",
+ " Material | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " 7 | \n",
+ " Unit | \n",
+ " Feet | \n",
+ "
\n",
+ " \n",
+ " 8 | \n",
+ " Client Name | \n",
+ " Owner | \n",
+ "
\n",
+ " \n",
+ " 9 | \n",
+ " Project Address | \n",
+ " Enter address here | \n",
+ "
\n",
+ " \n",
+ " 10 | \n",
+ " Project Issue Date | \n",
+ " Issue Date | \n",
+ "
\n",
+ " \n",
+ " 11 | \n",
+ " Project Name | \n",
+ " Project Name | \n",
+ "
\n",
+ " \n",
+ " 12 | \n",
+ " Project Number | \n",
+ " Project Number | \n",
+ "
\n",
+ " \n",
+ " 13 | \n",
+ " Project Status | \n",
+ " Project Status | \n",
+ "
\n",
+ " \n",
+ " 14 | \n",
+ " Workset | \n",
+ " Project Info | \n",
+ "
\n",
+ " \n",
+ " 15 | \n",
+ " Latitude | \n",
+ " 42.358662 | \n",
+ "
\n",
+ " \n",
+ " 16 | \n",
+ " Longitude | \n",
+ " -71.05674 | \n",
+ "
\n",
+ " \n",
+ " 17 | \n",
+ " Elevation | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 18 | \n",
+ " Timezone | \n",
+ " -5 | \n",
+ "
\n",
+ " \n",
+ " 19 | \n",
+ " ProjectLocation | \n",
+ " Default Site | \n",
+ "
\n",
+ " \n",
+ " 20 | \n",
+ " Version | \n",
+ " 519453de-fdca-49c5-b457-86c354f1c8b5 | \n",
+ "
\n",
+ " \n",
+ " 21 | \n",
+ " Number of saves | \n",
+ " 32 | \n",
+ "
\n",
+ " \n",
+ " 22 | \n",
+ " Document | \n",
+ " 0f4246de-c6e1-46ab-b241-be47b3f747d1 | \n",
+ "
\n",
+ " \n",
+ " 23 | \n",
+ " Creator | \n",
+ " nwexportrevit | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " property value\n",
+ "0 None 17\n",
+ "1 Name Location Data\n",
+ "2 Type File\n",
+ "3 Icon File\n",
+ "4 Hidden 0\n",
+ "5 Required 0\n",
+ "6 Material \n",
+ "7 Unit Feet\n",
+ "8 Client Name Owner\n",
+ "9 Project Address Enter address here\n",
+ "10 Project Issue Date Issue Date\n",
+ "11 Project Name Project Name\n",
+ "12 Project Number Project Number\n",
+ "13 Project Status Project Status\n",
+ "14 Workset Project Info\n",
+ "15 Latitude 42.358662\n",
+ "16 Longitude -71.05674\n",
+ "17 Elevation 0\n",
+ "18 Timezone -5\n",
+ "19 ProjectLocation Default Site\n",
+ "20 Version 519453de-fdca-49c5-b457-86c354f1c8b5\n",
+ "21 Number of saves 32\n",
+ "22 Document 0f4246de-c6e1-46ab-b241-be47b3f747d1\n",
+ "23 Creator nwexportrevit"
+ ]
+ },
+ "execution_count": 5,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_document_info()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### I want get all categories"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "['Item',\n",
+ " 'Project',\n",
+ " 'Location',\n",
+ " 'Identity',\n",
+ " 'Family',\n",
+ " 'Type',\n",
+ " 'Sleep A001',\n",
+ " 'Element',\n",
+ " 'Phase Created',\n",
+ " 'Revit Type',\n",
+ " 'Element Properties',\n",
+ " 'FacingOrientation',\n",
+ " 'HandOrientation',\n",
+ " 'DemolishedPhaseId',\n",
+ " 'Symbol',\n",
+ " 'CreatedPhaseId',\n",
+ " 'Id',\n",
+ " 'WorksetId',\n",
+ " 'Document',\n",
+ " 'Category',\n",
+ " 'Element ID',\n",
+ " 'Level',\n",
+ " 'SketchId',\n",
+ " 'Revit Material',\n",
+ " 'Wall',\n",
+ " 'MEPModel',\n",
+ " 'FloorType',\n",
+ " 'SlabShapeEditor',\n",
+ " 'Room',\n",
+ " 'Hyperlinks',\n",
+ " 'Schedule Level',\n",
+ " 'Phase',\n",
+ " 'UpperLimit',\n",
+ " 'ClosedShell',\n",
+ " 'Custom',\n",
+ " 'Base Constraint',\n",
+ " 'Top Constraint',\n",
+ " 'Orientation',\n",
+ " 'WallType',\n",
+ " 'Exterior Material',\n",
+ " 'Interior Material',\n",
+ " 'Trim Material']"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "categories = prob_reader.get_all_categories()\n",
+ "categories"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Get data by category"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " DbId | \n",
+ " Name | \n",
+ " Type | \n",
+ " Icon | \n",
+ " Hidden | \n",
+ " Required | \n",
+ " Material | \n",
+ " Unit | \n",
+ " Creator | \n",
+ " Source File | \n",
+ " Layer | \n",
+ " GUID | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 1 | \n",
+ " MyHouse.nwc | \n",
+ " File | \n",
+ " File | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " Feet | \n",
+ " nwexportrevit | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " 2 | \n",
+ " <No level> | \n",
+ " Layer | \n",
+ " Layer | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " <No level> | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " 3 | \n",
+ " Furniture | \n",
+ " Category | \n",
+ " Collection | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " <No level> | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " 4 | \n",
+ " Table | \n",
+ " Family | \n",
+ " Collection | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " <No level> | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " 5 | \n",
+ " Table | \n",
+ " Type | \n",
+ " Collection | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " <No level> | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 161 | \n",
+ " 166 | \n",
+ " Trim-Window-Interior-Flat | \n",
+ " Family | \n",
+ " Collection | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " Level 1 | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 162 | \n",
+ " 167 | \n",
+ " Picture Frame | \n",
+ " Type | \n",
+ " Collection | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " Level 1 | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 163 | \n",
+ " 168 | \n",
+ " Trim-Window-Interior-Flat | \n",
+ " Generic Models: Trim-Window-Interior-Flat: Pic... | \n",
+ " Composite Object | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " Level 1 | \n",
+ " 6d22740f-4d3f-4cc6-a442-8c98ddd1ddb2 | \n",
+ "
\n",
+ " \n",
+ " 164 | \n",
+ " 169 | \n",
+ " Picture Frame | \n",
+ " Generic Models | \n",
+ " Insert Group | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " Level 1 | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 165 | \n",
+ " 170 | \n",
+ " Picture Frame | \n",
+ " Generic Models | \n",
+ " Composite Object | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " Wood - Stained | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " MyHouse.rvt | \n",
+ " Level 1 | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
146 rows × 12 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " DbId Name \\\n",
+ "0 1 MyHouse.nwc \n",
+ "1 2 \n",
+ "2 3 Furniture \n",
+ "3 4 Table \n",
+ "4 5 Table \n",
+ ".. ... ... \n",
+ "161 166 Trim-Window-Interior-Flat \n",
+ "162 167 Picture Frame \n",
+ "163 168 Trim-Window-Interior-Flat \n",
+ "164 169 Picture Frame \n",
+ "165 170 Picture Frame \n",
+ "\n",
+ " Type Icon \\\n",
+ "0 File File \n",
+ "1 Layer Layer \n",
+ "2 Category Collection \n",
+ "3 Family Collection \n",
+ "4 Type Collection \n",
+ ".. ... ... \n",
+ "161 Family Collection \n",
+ "162 Type Collection \n",
+ "163 Generic Models: Trim-Window-Interior-Flat: Pic... Composite Object \n",
+ "164 Generic Models Insert Group \n",
+ "165 Generic Models Composite Object \n",
+ "\n",
+ " Hidden Required Material Unit Creator Source File \\\n",
+ "0 0 0 Feet nwexportrevit NaN \n",
+ "1 0 0 NaN NaN MyHouse.rvt \n",
+ "2 0 0 NaN NaN MyHouse.rvt \n",
+ "3 0 0 NaN NaN MyHouse.rvt \n",
+ "4 0 0 NaN NaN MyHouse.rvt \n",
+ ".. ... ... ... ... ... ... \n",
+ "161 0 0 NaN NaN MyHouse.rvt \n",
+ "162 0 0 NaN NaN MyHouse.rvt \n",
+ "163 0 0 NaN NaN MyHouse.rvt \n",
+ "164 0 0 NaN NaN MyHouse.rvt \n",
+ "165 0 0 Wood - Stained NaN NaN MyHouse.rvt \n",
+ "\n",
+ " Layer GUID \n",
+ "0 NaN NaN \n",
+ "1 NaN \n",
+ "2 NaN \n",
+ "3 NaN \n",
+ "4 NaN \n",
+ ".. ... ... \n",
+ "161 Level 1 NaN \n",
+ "162 Level 1 NaN \n",
+ "163 Level 1 6d22740f-4d3f-4cc6-a442-8c98ddd1ddb2 \n",
+ "164 Level 1 NaN \n",
+ "165 Level 1 NaN \n",
+ "\n",
+ "[146 rows x 12 columns]"
+ ]
+ },
+ "execution_count": 8,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_data_by_category(\"Item\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Get all element id"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " DbId | \n",
+ " Value | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 6 | \n",
+ " 296049 | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " 17 | \n",
+ " 355 | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " 21 | \n",
+ " 314441 | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " 27 | \n",
+ " 291310 | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " 36 | \n",
+ " 303169 | \n",
+ "
\n",
+ " \n",
+ " 5 | \n",
+ " 43 | \n",
+ " 304199 | \n",
+ "
\n",
+ " \n",
+ " 6 | \n",
+ " 47 | \n",
+ " 304395 | \n",
+ "
\n",
+ " \n",
+ " 7 | \n",
+ " 53 | \n",
+ " 305468 | \n",
+ "
\n",
+ " \n",
+ " 8 | \n",
+ " 57 | \n",
+ " 305589 | \n",
+ "
\n",
+ " \n",
+ " 9 | \n",
+ " 64 | \n",
+ " 295917 | \n",
+ "
\n",
+ " \n",
+ " 10 | \n",
+ " 69 | \n",
+ " 289790 | \n",
+ "
\n",
+ " \n",
+ " 11 | \n",
+ " 76 | \n",
+ " 291052 | \n",
+ "
\n",
+ " \n",
+ " 12 | \n",
+ " 87 | \n",
+ " 310501 | \n",
+ "
\n",
+ " \n",
+ " 13 | \n",
+ " 99 | \n",
+ " 300448 | \n",
+ "
\n",
+ " \n",
+ " 14 | \n",
+ " 107 | \n",
+ " 295729 | \n",
+ "
\n",
+ " \n",
+ " 15 | \n",
+ " 113 | \n",
+ " 299937 | \n",
+ "
\n",
+ " \n",
+ " 16 | \n",
+ " 118 | \n",
+ " 294326 | \n",
+ "
\n",
+ " \n",
+ " 17 | \n",
+ " 127 | \n",
+ " 291086 | \n",
+ "
\n",
+ " \n",
+ " 18 | \n",
+ " 129 | \n",
+ " 291127 | \n",
+ "
\n",
+ " \n",
+ " 19 | \n",
+ " 131 | \n",
+ " 291148 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " DbId Value\n",
+ "0 6 296049\n",
+ "1 17 355\n",
+ "2 21 314441\n",
+ "3 27 291310\n",
+ "4 36 303169\n",
+ "5 43 304199\n",
+ "6 47 304395\n",
+ "7 53 305468\n",
+ "8 57 305589\n",
+ "9 64 295917\n",
+ "10 69 289790\n",
+ "11 76 291052\n",
+ "12 87 310501\n",
+ "13 99 300448\n",
+ "14 107 295729\n",
+ "15 113 299937\n",
+ "16 118 294326\n",
+ "17 127 291086\n",
+ "18 129 291127\n",
+ "19 131 291148"
+ ]
+ },
+ "execution_count": 13,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_data_by_category(\"Element ID\").head(20)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Get Room Data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " DbId | \n",
+ " Volume | \n",
+ " UnboundedHeight | \n",
+ " BaseOffset | \n",
+ " LimitOffset | \n",
+ " SpatialElementType | \n",
+ " Perimeter | \n",
+ " Area | \n",
+ " Number | \n",
+ " ViewSpecific | \n",
+ " UniqueId | \n",
+ " IsTransient | \n",
+ " IsModifiable | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 69 | \n",
+ " 0 | \n",
+ " 10 | \n",
+ " 0 | \n",
+ " 10 | \n",
+ " Room | \n",
+ " 38.833333 | \n",
+ " 87.993056 | \n",
+ " A001 | \n",
+ " 0 | \n",
+ " 1dfa4915-53f5-47c3-8e74-b489f8c02981-000493a1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " DbId Volume UnboundedHeight BaseOffset LimitOffset SpatialElementType \\\n",
+ "0 69 0 10 0 10 Room \n",
+ "\n",
+ " Perimeter Area Number ViewSpecific \\\n",
+ "0 38.833333 87.993056 A001 0 \n",
+ "\n",
+ " UniqueId IsTransient IsModifiable \n",
+ "0 1dfa4915-53f5-47c3-8e74-b489f8c02981-000493a1 0 1 "
+ ]
+ },
+ "execution_count": 12,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_data_by_category(\"Room\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Get All Element Data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " DbId | \n",
+ " Name | \n",
+ " Type | \n",
+ " Family | \n",
+ " Category | \n",
+ " Category Id | \n",
+ " Id | \n",
+ " Comments | \n",
+ " Export to IFC | \n",
+ " IfcGUID | \n",
+ " ... | \n",
+ " Interior Wall Closure | \n",
+ " Wall Thickness | \n",
+ " Window Inset | \n",
+ " Exterior Material | \n",
+ " Height | \n",
+ " Interior Material | \n",
+ " Width | \n",
+ " Opening Height | \n",
+ " Opening Width | \n",
+ " Trim Material | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 6 | \n",
+ " Table | \n",
+ " Table | \n",
+ " Table | \n",
+ " Furniture | \n",
+ " -2000080 | \n",
+ " 296049 | \n",
+ " This is a table | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqSjk | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " 21 | \n",
+ " 2' x 4' ACT System | \n",
+ " 2' x 4' ACT System | \n",
+ " Compound Ceiling | \n",
+ " Ceilings | \n",
+ " -2000038 | \n",
+ " 314441 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 3zWs8_Ztr05ReOQCTHbfiv | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " 27 | \n",
+ " 36\" x 84\" | \n",
+ " 36\" x 84\" | \n",
+ " Single-Flush | \n",
+ " Doors | \n",
+ " -2000023 | \n",
+ " 291310 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7pU | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " 36 | \n",
+ " Power Panel | \n",
+ " Power Panel | \n",
+ " Electrical Panel | \n",
+ " Electrical Equipment | \n",
+ " -2001040 | \n",
+ " 303169 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 0NRgW6xS996BnWDbZrZ3Me | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " 43 | \n",
+ " Single | \n",
+ " Single | \n",
+ " Switch-Single | \n",
+ " Electrical Fixtures | \n",
+ " -2001060 | \n",
+ " 304199 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 0NRgW6xS996BnWDbZrZ36k | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 5 | \n",
+ " 47 | \n",
+ " Single | \n",
+ " Single | \n",
+ " Switch-Single | \n",
+ " Electrical Fixtures | \n",
+ " -2001060 | \n",
+ " 304395 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 0NRgW6xS996BnWDbZrZ33Y | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 6 | \n",
+ " 53 | \n",
+ " Triplex | \n",
+ " Triplex | \n",
+ " Outlet-Triplex | \n",
+ " Electrical Fixtures | \n",
+ " -2001060 | \n",
+ " 305468 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1lIsiwmiv1SQUF0GDTDUkl | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 7 | \n",
+ " 57 | \n",
+ " Triplex | \n",
+ " Triplex | \n",
+ " Outlet-Triplex | \n",
+ " Electrical Fixtures | \n",
+ " -2001060 | \n",
+ " 305589 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1lIsiwmiv1SQUF0GDTDUic | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 8 | \n",
+ " 64 | \n",
+ " Concrete Slab - 6\" | \n",
+ " Concrete Slab - 6\" | \n",
+ " Floor | \n",
+ " Floors | \n",
+ " -2000032 | \n",
+ " 295917 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqSpo | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 9 | \n",
+ " 69 | \n",
+ " Plastic-Seat | \n",
+ " Plastic-Seat | \n",
+ " Seating-LAMMHULTS-PENNE-Chair | \n",
+ " Furniture | \n",
+ " -2000080 | \n",
+ " 289790 | \n",
+ " This is a chair 2 | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x6RE | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 10 | \n",
+ " 76 | \n",
+ " 190x140 (202,5x150) | \n",
+ " 190x140 (202,5x150) | \n",
+ " Krevet-002-2 | \n",
+ " Furniture | \n",
+ " -2000080 | \n",
+ " 291052 | \n",
+ " This is update for bed | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7tS | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 11 | \n",
+ " 87 | \n",
+ " Shoe | \n",
+ " Shoe | \n",
+ " Shoe | \n",
+ " Generic Models | \n",
+ " -2000151 | \n",
+ " 310501 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 0NUBh4uzjElfAA8udrbeBY | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 12 | \n",
+ " 99 | \n",
+ " 60W - 120V | \n",
+ " 60W - 120V | \n",
+ " Table Lamp - Standard | \n",
+ " Lighting Fixtures | \n",
+ " -2001120 | \n",
+ " 300448 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 0T_aaLK$L7muvqj8dunBmX | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 13 | \n",
+ " 107 | \n",
+ " ASYG18LFCA | \n",
+ " ASYG18LFCA | \n",
+ " Fujitsu General_ASYG18LFCA | \n",
+ " Mechanical Equipment | \n",
+ " -2001140 | \n",
+ " 295729 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqSmk | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 14 | \n",
+ " 113 | \n",
+ " Sleep A001 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " Rooms | \n",
+ " -2000160 | \n",
+ " 299937 | \n",
+ " Room Just Sleep | \n",
+ " By Type | \n",
+ " 0T_aaLK$L7muvqj8dunBeW | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 15 | \n",
+ " 118 | \n",
+ " F0560 - Wardrobe, Television | \n",
+ " F0560 - Wardrobe, Television | \n",
+ " F0560 - Wardrobe, Television | \n",
+ " Specialty Equipment | \n",
+ " -2001350 | \n",
+ " 294326 | \n",
+ " This is Wardrobe | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqJAf | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 16 | \n",
+ " 127 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291086 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7m_ | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 17 | \n",
+ " 129 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291127 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7m7 | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 18 | \n",
+ " 131 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291148 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7ny | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 19 | \n",
+ " 133 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291214 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7o_ | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 20 | \n",
+ " 135 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291254 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7o6 | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 21 | \n",
+ " 137 | \n",
+ " Generic - 6\" | \n",
+ " Generic - 6\" | \n",
+ " Basic Wall | \n",
+ " Walls | \n",
+ " -2000011 | \n",
+ " 291292 | \n",
+ " I changed this wall | \n",
+ " By Type | \n",
+ " 1Ri6dAvFvEOxun_An4x7pi | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 22 | \n",
+ " 142 | \n",
+ " 48\" x 60\" | \n",
+ " 48\" x 60\" | \n",
+ " Window-Casement-Double | \n",
+ " Windows | \n",
+ " -2000014 | \n",
+ " 299579 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqTqa | \n",
+ " ... | \n",
+ " 0.1875 | \n",
+ " 0.5 | \n",
+ " 0.0 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 23 | \n",
+ " 150 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Generic Models | \n",
+ " -2000151 | \n",
+ " 299690 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqTsr | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " Material \"Clad - White\", #264616 | \n",
+ " 4.541667 | \n",
+ " Material \"Wood - Stained\", #264617 | \n",
+ " 1.552083 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 24 | \n",
+ " 155 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Muntin Pattern_2x2 | \n",
+ " Generic Models | \n",
+ " -2000151 | \n",
+ " 299691 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqTsq | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " Material \"Clad - White\", #264616 | \n",
+ " 4.541667 | \n",
+ " Material \"Wood - Stained\", #264617 | \n",
+ " 1.552083 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ "
\n",
+ " \n",
+ " 25 | \n",
+ " 162 | \n",
+ " with Sill | \n",
+ " with Sill | \n",
+ " Trim-Window-Exterior-Flat | \n",
+ " Generic Models | \n",
+ " -2000151 | \n",
+ " 299692 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqTsp | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " 5.0 | \n",
+ " 4.0 | \n",
+ " Material \"Clad - White\", #264616 | \n",
+ "
\n",
+ " \n",
+ " 26 | \n",
+ " 168 | \n",
+ " Picture Frame | \n",
+ " Picture Frame | \n",
+ " Trim-Window-Interior-Flat | \n",
+ " Generic Models | \n",
+ " -2000151 | \n",
+ " 299693 | \n",
+ " NaN | \n",
+ " By Type | \n",
+ " 1j8dGFJJzCngH2Z9ZTqTso | \n",
+ " ... | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " 5.0 | \n",
+ " 4.0 | \n",
+ " Material \"Wood - Stained\", #264617 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
27 rows × 92 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " DbId Name Type \\\n",
+ "0 6 Table Table \n",
+ "1 21 2' x 4' ACT System 2' x 4' ACT System \n",
+ "2 27 36\" x 84\" 36\" x 84\" \n",
+ "3 36 Power Panel Power Panel \n",
+ "4 43 Single Single \n",
+ "5 47 Single Single \n",
+ "6 53 Triplex Triplex \n",
+ "7 57 Triplex Triplex \n",
+ "8 64 Concrete Slab - 6\" Concrete Slab - 6\" \n",
+ "9 69 Plastic-Seat Plastic-Seat \n",
+ "10 76 190x140 (202,5x150) 190x140 (202,5x150) \n",
+ "11 87 Shoe Shoe \n",
+ "12 99 60W - 120V 60W - 120V \n",
+ "13 107 ASYG18LFCA ASYG18LFCA \n",
+ "14 113 Sleep A001 NaN \n",
+ "15 118 F0560 - Wardrobe, Television F0560 - Wardrobe, Television \n",
+ "16 127 Generic - 6\" Generic - 6\" \n",
+ "17 129 Generic - 6\" Generic - 6\" \n",
+ "18 131 Generic - 6\" Generic - 6\" \n",
+ "19 133 Generic - 6\" Generic - 6\" \n",
+ "20 135 Generic - 6\" Generic - 6\" \n",
+ "21 137 Generic - 6\" Generic - 6\" \n",
+ "22 142 48\" x 60\" 48\" x 60\" \n",
+ "23 150 Muntin Pattern_2x2 Muntin Pattern_2x2 \n",
+ "24 155 Muntin Pattern_2x2 Muntin Pattern_2x2 \n",
+ "25 162 with Sill with Sill \n",
+ "26 168 Picture Frame Picture Frame \n",
+ "\n",
+ " Family Category Category Id Id \\\n",
+ "0 Table Furniture -2000080 296049 \n",
+ "1 Compound Ceiling Ceilings -2000038 314441 \n",
+ "2 Single-Flush Doors -2000023 291310 \n",
+ "3 Electrical Panel Electrical Equipment -2001040 303169 \n",
+ "4 Switch-Single Electrical Fixtures -2001060 304199 \n",
+ "5 Switch-Single Electrical Fixtures -2001060 304395 \n",
+ "6 Outlet-Triplex Electrical Fixtures -2001060 305468 \n",
+ "7 Outlet-Triplex Electrical Fixtures -2001060 305589 \n",
+ "8 Floor Floors -2000032 295917 \n",
+ "9 Seating-LAMMHULTS-PENNE-Chair Furniture -2000080 289790 \n",
+ "10 Krevet-002-2 Furniture -2000080 291052 \n",
+ "11 Shoe Generic Models -2000151 310501 \n",
+ "12 Table Lamp - Standard Lighting Fixtures -2001120 300448 \n",
+ "13 Fujitsu General_ASYG18LFCA Mechanical Equipment -2001140 295729 \n",
+ "14 NaN Rooms -2000160 299937 \n",
+ "15 F0560 - Wardrobe, Television Specialty Equipment -2001350 294326 \n",
+ "16 Basic Wall Walls -2000011 291086 \n",
+ "17 Basic Wall Walls -2000011 291127 \n",
+ "18 Basic Wall Walls -2000011 291148 \n",
+ "19 Basic Wall Walls -2000011 291214 \n",
+ "20 Basic Wall Walls -2000011 291254 \n",
+ "21 Basic Wall Walls -2000011 291292 \n",
+ "22 Window-Casement-Double Windows -2000014 299579 \n",
+ "23 Muntin Pattern_2x2 Generic Models -2000151 299690 \n",
+ "24 Muntin Pattern_2x2 Generic Models -2000151 299691 \n",
+ "25 Trim-Window-Exterior-Flat Generic Models -2000151 299692 \n",
+ "26 Trim-Window-Interior-Flat Generic Models -2000151 299693 \n",
+ "\n",
+ " Comments Export to IFC IfcGUID ... \\\n",
+ "0 This is a table By Type 1j8dGFJJzCngH2Z9ZTqSjk ... \n",
+ "1 NaN By Type 3zWs8_Ztr05ReOQCTHbfiv ... \n",
+ "2 NaN By Type 1Ri6dAvFvEOxun_An4x7pU ... \n",
+ "3 NaN By Type 0NRgW6xS996BnWDbZrZ3Me ... \n",
+ "4 NaN By Type 0NRgW6xS996BnWDbZrZ36k ... \n",
+ "5 NaN By Type 0NRgW6xS996BnWDbZrZ33Y ... \n",
+ "6 NaN By Type 1lIsiwmiv1SQUF0GDTDUkl ... \n",
+ "7 NaN By Type 1lIsiwmiv1SQUF0GDTDUic ... \n",
+ "8 NaN By Type 1j8dGFJJzCngH2Z9ZTqSpo ... \n",
+ "9 This is a chair 2 By Type 1Ri6dAvFvEOxun_An4x6RE ... \n",
+ "10 This is update for bed By Type 1Ri6dAvFvEOxun_An4x7tS ... \n",
+ "11 NaN By Type 0NUBh4uzjElfAA8udrbeBY ... \n",
+ "12 NaN By Type 0T_aaLK$L7muvqj8dunBmX ... \n",
+ "13 NaN By Type 1j8dGFJJzCngH2Z9ZTqSmk ... \n",
+ "14 Room Just Sleep By Type 0T_aaLK$L7muvqj8dunBeW ... \n",
+ "15 This is Wardrobe By Type 1j8dGFJJzCngH2Z9ZTqJAf ... \n",
+ "16 NaN By Type 1Ri6dAvFvEOxun_An4x7m_ ... \n",
+ "17 NaN By Type 1Ri6dAvFvEOxun_An4x7m7 ... \n",
+ "18 NaN By Type 1Ri6dAvFvEOxun_An4x7ny ... \n",
+ "19 NaN By Type 1Ri6dAvFvEOxun_An4x7o_ ... \n",
+ "20 NaN By Type 1Ri6dAvFvEOxun_An4x7o6 ... \n",
+ "21 I changed this wall By Type 1Ri6dAvFvEOxun_An4x7pi ... \n",
+ "22 NaN By Type 1j8dGFJJzCngH2Z9ZTqTqa ... \n",
+ "23 NaN By Type 1j8dGFJJzCngH2Z9ZTqTsr ... \n",
+ "24 NaN By Type 1j8dGFJJzCngH2Z9ZTqTsq ... \n",
+ "25 NaN By Type 1j8dGFJJzCngH2Z9ZTqTsp ... \n",
+ "26 NaN By Type 1j8dGFJJzCngH2Z9ZTqTso ... \n",
+ "\n",
+ " Interior Wall Closure Wall Thickness Window Inset \\\n",
+ "0 NaN NaN NaN \n",
+ "1 NaN NaN NaN \n",
+ "2 NaN NaN NaN \n",
+ "3 NaN NaN NaN \n",
+ "4 NaN NaN NaN \n",
+ "5 NaN NaN NaN \n",
+ "6 NaN NaN NaN \n",
+ "7 NaN NaN NaN \n",
+ "8 NaN NaN NaN \n",
+ "9 NaN NaN NaN \n",
+ "10 NaN NaN NaN \n",
+ "11 NaN NaN NaN \n",
+ "12 NaN NaN NaN \n",
+ "13 NaN NaN NaN \n",
+ "14 NaN NaN NaN \n",
+ "15 NaN NaN NaN \n",
+ "16 NaN NaN NaN \n",
+ "17 NaN NaN NaN \n",
+ "18 NaN NaN NaN \n",
+ "19 NaN NaN NaN \n",
+ "20 NaN NaN NaN \n",
+ "21 NaN NaN NaN \n",
+ "22 0.1875 0.5 0.0 \n",
+ "23 NaN NaN NaN \n",
+ "24 NaN NaN NaN \n",
+ "25 NaN NaN NaN \n",
+ "26 NaN NaN NaN \n",
+ "\n",
+ " Exterior Material Height \\\n",
+ "0 NaN NaN \n",
+ "1 NaN NaN \n",
+ "2 NaN NaN \n",
+ "3 NaN NaN \n",
+ "4 NaN NaN \n",
+ "5 NaN NaN \n",
+ "6 NaN NaN \n",
+ "7 NaN NaN \n",
+ "8 NaN NaN \n",
+ "9 NaN NaN \n",
+ "10 NaN NaN \n",
+ "11 NaN NaN \n",
+ "12 NaN NaN \n",
+ "13 NaN NaN \n",
+ "14 NaN NaN \n",
+ "15 NaN NaN \n",
+ "16 NaN NaN \n",
+ "17 NaN NaN \n",
+ "18 NaN NaN \n",
+ "19 NaN NaN \n",
+ "20 NaN NaN \n",
+ "21 NaN NaN \n",
+ "22 NaN NaN \n",
+ "23 Material \"Clad - White\", #264616 4.541667 \n",
+ "24 Material \"Clad - White\", #264616 4.541667 \n",
+ "25 NaN NaN \n",
+ "26 NaN NaN \n",
+ "\n",
+ " Interior Material Width Opening Height \\\n",
+ "0 NaN NaN NaN \n",
+ "1 NaN NaN NaN \n",
+ "2 NaN NaN NaN \n",
+ "3 NaN NaN NaN \n",
+ "4 NaN NaN NaN \n",
+ "5 NaN NaN NaN \n",
+ "6 NaN NaN NaN \n",
+ "7 NaN NaN NaN \n",
+ "8 NaN NaN NaN \n",
+ "9 NaN NaN NaN \n",
+ "10 NaN NaN NaN \n",
+ "11 NaN NaN NaN \n",
+ "12 NaN NaN NaN \n",
+ "13 NaN NaN NaN \n",
+ "14 NaN NaN NaN \n",
+ "15 NaN NaN NaN \n",
+ "16 NaN NaN NaN \n",
+ "17 NaN NaN NaN \n",
+ "18 NaN NaN NaN \n",
+ "19 NaN NaN NaN \n",
+ "20 NaN NaN NaN \n",
+ "21 NaN NaN NaN \n",
+ "22 NaN NaN NaN \n",
+ "23 Material \"Wood - Stained\", #264617 1.552083 NaN \n",
+ "24 Material \"Wood - Stained\", #264617 1.552083 NaN \n",
+ "25 NaN NaN 5.0 \n",
+ "26 NaN NaN 5.0 \n",
+ "\n",
+ " Opening Width Trim Material \n",
+ "0 NaN NaN \n",
+ "1 NaN NaN \n",
+ "2 NaN NaN \n",
+ "3 NaN NaN \n",
+ "4 NaN NaN \n",
+ "5 NaN NaN \n",
+ "6 NaN NaN \n",
+ "7 NaN NaN \n",
+ "8 NaN NaN \n",
+ "9 NaN NaN \n",
+ "10 NaN NaN \n",
+ "11 NaN NaN \n",
+ "12 NaN NaN \n",
+ "13 NaN NaN \n",
+ "14 NaN NaN \n",
+ "15 NaN NaN \n",
+ "16 NaN NaN \n",
+ "17 NaN NaN \n",
+ "18 NaN NaN \n",
+ "19 NaN NaN \n",
+ "20 NaN NaN \n",
+ "21 NaN NaN \n",
+ "22 NaN NaN \n",
+ "23 NaN NaN \n",
+ "24 NaN NaN \n",
+ "25 4.0 Material \"Clad - White\", #264616 \n",
+ "26 4.0 Material \"Wood - Stained\", #264617 \n",
+ "\n",
+ "[27 rows x 92 columns]"
+ ]
+ },
+ "execution_count": 14,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_data_by_category(\"Element\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " DbId | \n",
+ " IsVisibleInUI | \n",
+ " BuiltInCategory | \n",
+ " CategoryType | \n",
+ " IsTagCategory | \n",
+ " HasMaterialQuantities | \n",
+ " AllowsBoundParameters | \n",
+ " CanAddSubcategory | \n",
+ " IsCuttable | \n",
+ " Name | \n",
+ " IsValid | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 6 | \n",
+ " 1 | \n",
+ " OST_Furniture | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Furniture | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " 21 | \n",
+ " 1 | \n",
+ " OST_Ceilings | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Ceilings | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " 27 | \n",
+ " 1 | \n",
+ " OST_Doors | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Doors | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " 36 | \n",
+ " 1 | \n",
+ " OST_ElectricalEquipment | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " Electrical Equipment | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " 43 | \n",
+ " 1 | \n",
+ " OST_ElectricalFixtures | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " Electrical Fixtures | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 8 | \n",
+ " 64 | \n",
+ " 1 | \n",
+ " OST_Floors | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Floors | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 11 | \n",
+ " 87 | \n",
+ " 1 | \n",
+ " OST_GenericModel | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Generic Models | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 12 | \n",
+ " 99 | \n",
+ " 1 | \n",
+ " OST_LightingFixtures | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " Lighting Fixtures | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 13 | \n",
+ " 107 | \n",
+ " 1 | \n",
+ " OST_MechanicalEquipment | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " Mechanical Equipment | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 14 | \n",
+ " 113 | \n",
+ " 1 | \n",
+ " OST_Rooms | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " Rooms | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 15 | \n",
+ " 118 | \n",
+ " 1 | \n",
+ " OST_SpecialityEquipment | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Specialty Equipment | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 16 | \n",
+ " 127 | \n",
+ " 1 | \n",
+ " OST_Walls | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Walls | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 22 | \n",
+ " 142 | \n",
+ " 1 | \n",
+ " OST_Windows | \n",
+ " Model | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " Windows | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " DbId IsVisibleInUI BuiltInCategory CategoryType IsTagCategory \\\n",
+ "0 6 1 OST_Furniture Model 0 \n",
+ "1 21 1 OST_Ceilings Model 0 \n",
+ "2 27 1 OST_Doors Model 0 \n",
+ "3 36 1 OST_ElectricalEquipment Model 0 \n",
+ "4 43 1 OST_ElectricalFixtures Model 0 \n",
+ "8 64 1 OST_Floors Model 0 \n",
+ "11 87 1 OST_GenericModel Model 0 \n",
+ "12 99 1 OST_LightingFixtures Model 0 \n",
+ "13 107 1 OST_MechanicalEquipment Model 0 \n",
+ "14 113 1 OST_Rooms Model 0 \n",
+ "15 118 1 OST_SpecialityEquipment Model 0 \n",
+ "16 127 1 OST_Walls Model 0 \n",
+ "22 142 1 OST_Windows Model 0 \n",
+ "\n",
+ " HasMaterialQuantities AllowsBoundParameters CanAddSubcategory \\\n",
+ "0 1 1 1 \n",
+ "1 1 1 1 \n",
+ "2 1 1 1 \n",
+ "3 1 1 1 \n",
+ "4 1 1 1 \n",
+ "8 1 1 1 \n",
+ "11 1 1 1 \n",
+ "12 1 1 1 \n",
+ "13 1 1 1 \n",
+ "14 0 1 0 \n",
+ "15 1 1 1 \n",
+ "16 1 1 1 \n",
+ "22 1 1 1 \n",
+ "\n",
+ " IsCuttable Name IsValid \n",
+ "0 1 Furniture 1 \n",
+ "1 1 Ceilings 1 \n",
+ "2 1 Doors 1 \n",
+ "3 0 Electrical Equipment 1 \n",
+ "4 0 Electrical Fixtures 1 \n",
+ "8 1 Floors 1 \n",
+ "11 1 Generic Models 1 \n",
+ "12 0 Lighting Fixtures 1 \n",
+ "13 0 Mechanical Equipment 1 \n",
+ "14 0 Rooms 1 \n",
+ "15 1 Specialty Equipment 1 \n",
+ "16 1 Walls 1 \n",
+ "22 1 Windows 1 "
+ ]
+ },
+ "execution_count": 15,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "prob_reader.get_data_by_category(\"Category\")"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.11.1"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
diff --git a/APSToolkitPython/setup.py b/APSToolkitPython/setup.py
index adc7368..7b64084 100644
--- a/APSToolkitPython/setup.py
+++ b/APSToolkitPython/setup.py
@@ -6,7 +6,7 @@
setuptools.setup(
name="aps-toolkit",
- version="0.4.4",
+ version="0.4.6",
author="chuong mep",
author_email="chuongpqvn@gmail.com",
description="A Toolkit Autodesk Platform Services for Python",
diff --git a/Readme.md b/Readme.md
index e7342e6..afc3342 100644
--- a/Readme.md
+++ b/Readme.md
@@ -123,6 +123,7 @@ All Tutorials are available under Jupyter Notebook at [Python Tutorials](./APSTo
- [04.01. Explore Revit Data With APSToolkit](./APSToolkitPython/Tutorials/04.01.%20Explore%20Revit%20Data%20With%20APSToolkit.ipynb)
- [04.02. Explore Compare Revit Data Versions](./APSToolkitPython/Tutorials/04.02.%20Explore%20Compare%20Revit%20Data%20Versions.ipynb)
- [04.03. Explore Acad Data With APSToolkit](./APSToolkitPython/Tutorials/04.03.%20Explore%20Acad%20Data%20With%20APSToolkit.ipynb)
+ - [04.04. Explore Navisworks Data With APSToolkit](./APSToolkitPython/Tutorials/04.04.%20Explore%20Navisworks%20Data%20With%20APSToolkit.ipynb)
- [05. Explore Access Database And Query Items](./APSToolkitPython/Tutorials/05.%20Explore%20Access%20Database%20And%20Query%20Items.ipynb)
- [06. Data Visualization - Analyst BIM Model](./APSToolkitPython/Tutorials/06.%20Data%20Visualization%20-%20Analyst%20BIM%20Model.ipynb)
- [07. Explore Big Data Format Storage](./APSToolkitPython/Tutorials/07.%20Explore%20Big%20Data%20Format%20Storage.ipynb)