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", + "
\n", + " \n", + " \"Google
Run in Colab\n", + "
\n", + "
\n", + " \n", + " \"GitHub
View on GitHub\n", + "
\n", + "
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Author(s)Chuong Ho
" + ] + }, + { + "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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
propertyvalue
0None17
1NameLocation Data
2TypeFile
3IconFile
4Hidden0
5Required0
6Material
7UnitFeet
8Client NameOwner
9Project AddressEnter address here
10Project Issue DateIssue Date
11Project NameProject Name
12Project NumberProject Number
13Project StatusProject Status
14WorksetProject Info
15Latitude42.358662
16Longitude-71.05674
17Elevation0
18Timezone-5
19ProjectLocationDefault Site
20Version519453de-fdca-49c5-b457-86c354f1c8b5
21Number of saves32
22Document0f4246de-c6e1-46ab-b241-be47b3f747d1
23Creatornwexportrevit
\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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
DbIdNameTypeIconHiddenRequiredMaterialUnitCreatorSource FileLayerGUID
01MyHouse.nwcFileFile00FeetnwexportrevitNaNNaNNaN
12<No level>LayerLayer00NaNNaNMyHouse.rvt<No level>NaN
23FurnitureCategoryCollection00NaNNaNMyHouse.rvt<No level>NaN
34TableFamilyCollection00NaNNaNMyHouse.rvt<No level>NaN
45TableTypeCollection00NaNNaNMyHouse.rvt<No level>NaN
.......................................
161166Trim-Window-Interior-FlatFamilyCollection00NaNNaNMyHouse.rvtLevel 1NaN
162167Picture FrameTypeCollection00NaNNaNMyHouse.rvtLevel 1NaN
163168Trim-Window-Interior-FlatGeneric Models: Trim-Window-Interior-Flat: Pic...Composite Object00NaNNaNMyHouse.rvtLevel 16d22740f-4d3f-4cc6-a442-8c98ddd1ddb2
164169Picture FrameGeneric ModelsInsert Group00NaNNaNMyHouse.rvtLevel 1NaN
165170Picture FrameGeneric ModelsComposite Object00Wood - StainedNaNNaNMyHouse.rvtLevel 1NaN
\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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
DbIdValue
06296049
117355
221314441
327291310
436303169
543304199
647304395
753305468
857305589
964295917
1069289790
1176291052
1287310501
1399300448
14107295729
15113299937
16118294326
17127291086
18129291127
19131291148
\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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
DbIdVolumeUnboundedHeightBaseOffsetLimitOffsetSpatialElementTypePerimeterAreaNumberViewSpecificUniqueIdIsTransientIsModifiable
069010010Room38.83333387.993056A00101dfa4915-53f5-47c3-8e74-b489f8c02981-000493a101
\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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
DbIdNameTypeFamilyCategoryCategory IdIdCommentsExport to IFCIfcGUID...Interior Wall ClosureWall ThicknessWindow InsetExterior MaterialHeightInterior MaterialWidthOpening HeightOpening WidthTrim Material
06TableTableTableFurniture-2000080296049This is a tableBy Type1j8dGFJJzCngH2Z9ZTqSjk...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
1212' x 4' ACT System2' x 4' ACT SystemCompound CeilingCeilings-2000038314441NaNBy Type3zWs8_Ztr05ReOQCTHbfiv...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
22736\" x 84\"36\" x 84\"Single-FlushDoors-2000023291310NaNBy Type1Ri6dAvFvEOxun_An4x7pU...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
336Power PanelPower PanelElectrical PanelElectrical Equipment-2001040303169NaNBy Type0NRgW6xS996BnWDbZrZ3Me...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
443SingleSingleSwitch-SingleElectrical Fixtures-2001060304199NaNBy Type0NRgW6xS996BnWDbZrZ36k...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
547SingleSingleSwitch-SingleElectrical Fixtures-2001060304395NaNBy Type0NRgW6xS996BnWDbZrZ33Y...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
653TriplexTriplexOutlet-TriplexElectrical Fixtures-2001060305468NaNBy Type1lIsiwmiv1SQUF0GDTDUkl...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
757TriplexTriplexOutlet-TriplexElectrical Fixtures-2001060305589NaNBy Type1lIsiwmiv1SQUF0GDTDUic...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
864Concrete Slab - 6\"Concrete Slab - 6\"FloorFloors-2000032295917NaNBy Type1j8dGFJJzCngH2Z9ZTqSpo...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
969Plastic-SeatPlastic-SeatSeating-LAMMHULTS-PENNE-ChairFurniture-2000080289790This is a chair 2By Type1Ri6dAvFvEOxun_An4x6RE...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
1076190x140 (202,5x150)190x140 (202,5x150)Krevet-002-2Furniture-2000080291052This is update for bedBy Type1Ri6dAvFvEOxun_An4x7tS...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
1187ShoeShoeShoeGeneric Models-2000151310501NaNBy Type0NUBh4uzjElfAA8udrbeBY...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
129960W - 120V60W - 120VTable Lamp - StandardLighting Fixtures-2001120300448NaNBy Type0T_aaLK$L7muvqj8dunBmX...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
13107ASYG18LFCAASYG18LFCAFujitsu General_ASYG18LFCAMechanical Equipment-2001140295729NaNBy Type1j8dGFJJzCngH2Z9ZTqSmk...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
14113Sleep A001NaNNaNRooms-2000160299937Room Just SleepBy Type0T_aaLK$L7muvqj8dunBeW...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
15118F0560 - Wardrobe, TelevisionF0560 - Wardrobe, TelevisionF0560 - Wardrobe, TelevisionSpecialty Equipment-2001350294326This is WardrobeBy Type1j8dGFJJzCngH2Z9ZTqJAf...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
16127Generic - 6\"Generic - 6\"Basic WallWalls-2000011291086NaNBy Type1Ri6dAvFvEOxun_An4x7m_...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
17129Generic - 6\"Generic - 6\"Basic WallWalls-2000011291127NaNBy Type1Ri6dAvFvEOxun_An4x7m7...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
18131Generic - 6\"Generic - 6\"Basic WallWalls-2000011291148NaNBy Type1Ri6dAvFvEOxun_An4x7ny...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
19133Generic - 6\"Generic - 6\"Basic WallWalls-2000011291214NaNBy Type1Ri6dAvFvEOxun_An4x7o_...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
20135Generic - 6\"Generic - 6\"Basic WallWalls-2000011291254NaNBy Type1Ri6dAvFvEOxun_An4x7o6...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
21137Generic - 6\"Generic - 6\"Basic WallWalls-2000011291292I changed this wallBy Type1Ri6dAvFvEOxun_An4x7pi...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
2214248\" x 60\"48\" x 60\"Window-Casement-DoubleWindows-2000014299579NaNBy Type1j8dGFJJzCngH2Z9ZTqTqa...0.18750.50.0NaNNaNNaNNaNNaNNaNNaN
23150Muntin Pattern_2x2Muntin Pattern_2x2Muntin Pattern_2x2Generic Models-2000151299690NaNBy Type1j8dGFJJzCngH2Z9ZTqTsr...NaNNaNNaNMaterial \"Clad - White\", #2646164.541667Material \"Wood - Stained\", #2646171.552083NaNNaNNaN
24155Muntin Pattern_2x2Muntin Pattern_2x2Muntin Pattern_2x2Generic Models-2000151299691NaNBy Type1j8dGFJJzCngH2Z9ZTqTsq...NaNNaNNaNMaterial \"Clad - White\", #2646164.541667Material \"Wood - Stained\", #2646171.552083NaNNaNNaN
25162with Sillwith SillTrim-Window-Exterior-FlatGeneric Models-2000151299692NaNBy Type1j8dGFJJzCngH2Z9ZTqTsp...NaNNaNNaNNaNNaNNaNNaN5.04.0Material \"Clad - White\", #264616
26168Picture FramePicture FrameTrim-Window-Interior-FlatGeneric Models-2000151299693NaNBy Type1j8dGFJJzCngH2Z9ZTqTso...NaNNaNNaNNaNNaNNaNNaN5.04.0Material \"Wood - Stained\", #264617
\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", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
DbIdIsVisibleInUIBuiltInCategoryCategoryTypeIsTagCategoryHasMaterialQuantitiesAllowsBoundParametersCanAddSubcategoryIsCuttableNameIsValid
061OST_FurnitureModel01111Furniture1
1211OST_CeilingsModel01111Ceilings1
2271OST_DoorsModel01111Doors1
3361OST_ElectricalEquipmentModel01110Electrical Equipment1
4431OST_ElectricalFixturesModel01110Electrical Fixtures1
8641OST_FloorsModel01111Floors1
11871OST_GenericModelModel01111Generic Models1
12991OST_LightingFixturesModel01110Lighting Fixtures1
131071OST_MechanicalEquipmentModel01110Mechanical Equipment1
141131OST_RoomsModel00100Rooms1
151181OST_SpecialityEquipmentModel01111Specialty Equipment1
161271OST_WallsModel01111Walls1
221421OST_WindowsModel01111Windows1
\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)