Thanks to @BIM4GIB we have a script to automatically download the latest Uniclass 2015 tables from the NBS website. You basically download and unzip, then run the script and you get a Uniclass2015 dataset downloaded. Awesome stuff, nice work Rene Pellicer!
From the readme:
1. Copy the folder “Uniclass2015-GetLatest” from the ZIP file to your C:\ (This is critical or the script will fail)
2. Double-click on the “Uniclass2015-GetLatest” shortcut. A PowerShell icon will appear in your taskbar. Click ‘Open’ on the dialog box.
You might have to type “Y” (without the quotes) in PowerShell to confirm you want to run the script, depending on your security settings.
3. Wait approx. 50 seconds. Excel will open and close several times. That is a feature.
4. After the script has run, a dialog box will appear. Click OK
5. You should now see a new spreadsheet called “Uniclass2015-AllTables.xlsx” in C:\Uniclass2015-GetLatest\
6. Classification Manager…
Placing the folder in C drive:
Download script here
I have developed a working BIM360 to on-premises backup mechanism. There were a few different ways to go…
I initially considered:
- Hacking Windows Explorer to touch the files in the BIM 360 node and try and trigger the BIM360 Docs download and copy to local PC or network location
- Developing a Forge app that essentially pulls the desired models out of the BIM 360 cloud to desired location?
In the end, I decided to use the Revit API (Dynamo and Python), along with VirtualBuiltApp, to essentially reverse engineer a folder structure from the local CollaborationCache folder. These ideas are hinted at here.
In simple terms, the BIM 360 Docs on-premises backup workflow is:
- Create a super federated BIM 360 model (with all other BIM 360 models linked into it)
- A Dynamo script reloads all links in order to cache them locally
- The same script interrogates, then determines the target file name and folder from VirtualBuiltApp
- Dynamo then copies the files into their ‘backup’ location on the local network
Some more detail is presented below:
A) Cache Cleaner CMD Script (may not really be necessary, as the ‘reload’ should overwrite superseded cache anyway):
Kill Revit if Open… be careful of below steps, particularly if Revit has crashed recently. You might need these local copies 🙂
cd "%LOCALAPPDATA%\Autodesk\Revit\Autodesk Revit 2018"
for /d %i in (*) do move "%~i" oldCache
B) Manual steps to setup Revit model environment to run the script:
- Open Revit
- Open Federated BIM 360 file (worksets closed)
- Unload all links
- Open all Worksets
C) Dynamo Script:
Run Dynamo (Python) script that reloads and unloads all links (this collects .rvt into cache). Key Python commands to use are: RevitLinkType.Load() and RevitLinkType.Unload(None).
- Coordination Monitor alert, no longer exists
- Instance of link needs Coordination Review
- “Some numerical data within the imported file was out of range. This numerical data has been truncated.”
- “Geometry in the file … has extents greater than 20 miles (33km).”
Local cached Models appear into
%LOCALAPPDATA%\Autodesk\Revit\Autodesk Revit 2018\mainCacheFolder\hostModelIdFolder\LinkedModels\*.rvt
D) Dynamo Script continues to:
Rename and copy to desired target location. How do we determine this?
Using proprietary VirtualBuiltApp schema:
- Use known directory data along with known JSON data for the BIM 360 files (harvested previously by our proprietary systems)
- Build list of target paths
- Run copy from Dynamo to copy to target network directory
Part of the script:
Note: you can actually browse some BIM 360 Docs data in a .sqlite3 file located in path shown below. You can use DB Browser for SQLite as a viewer.
Just to be clear, while the steps below *work* at this time, it apparently is an unsupported and inappropriate workaround and there could be risks (financial or otherwise) for BIM 360 Docs customers who invite free users into their projects. You should only invite:
- BIM 360 Docs users for which you have paid for and applied an entitlement
- BIM 360 Design (C4R) users who have purchased their own entitlement
I expect this workaround may eventually be disabled by Autodesk? You can view if you have exceeded your purchased package of BIM 360 Docs entitlements in the relevant Autodesk Manage pages. For example, it might show 16 of 10 licenses used in red? This is where I think there is potential for Autodesk to back charge users who abuse this current state of affairs.
My advice: check directly with Autodesk about who you can and cannot share your BIM 360 projects with…and proceed accordingly.
You are a paying BIM 360 Docs user and would like to invite a non-paying user to collaborate inside a BIM 360 Docs workspace. Perhaps you just want them to be able to upload and download files, but not Collaborate in Revit…
They need to create a free BIM 360 Docs account, and then get invited to your workspace.
(see above update)
Non Paying User –
- Go to Autodesk BIM 360 Docs – Get BIM 360 Docs (Free Forever)
- Create a BIM 360 Account and Autodesk login if necessary (using email)
Paying User / BIM 360 host admin –
- Go to your Account Admin
- Add the User and Company (using email) (see above update)
- Go to Project Admin
- Add the User
- Go to Document Management
- Share a Folder to the User or their Company
Access and Upload Documents for Free User –
- Login to BIM 360 BIM 360 Docs Sign In
- Click on Change Account
- Select the workspace from the Paying User
- Access the Folder that was Shared to you – you can now Upload and Download with a Free account
Thanks to this forum page for the idea.