Jeremy Tammik has kindly upgraded and released BipChecker for Revit 2015, you can download it at:
Steps to get it going:
- Download ZIP
- Open SLN in Visual Studio 2013 Express (free)
- Right click on BipChecker in Solution Explorer and open Properties
- Go to Reference Paths and add your Revit program directory
- Build Solution
It should instantly be visible in Revit 2015, Addins, External Tools – even if you have Revit open. While it has many uses, immediately obvious are the fact that it shows whether a parameter is read-write and it also displays GUIDs for Shared Parameters. You can choose whether to display Instance or Type Parameters. Cool.
Here is some sample output:
Jeremy Tammik has done all the heavy lifting on this one, but here is how you can get up and running with it quickly:
- Download this
(or you can also go here https://github.com/jeremytammik/AddMaterials, Download ZIP, Extract and Open in Compiler, Build Solution etc)
- Put the addin and dll here “C:ProgramDataAutodeskRevitAddins2014”
- Put the XLSX here “C:RevitAPIMaterialList.xlsx”
- Open Revit 2014
- Open the sample Revit file from the zip you downloaded in Step 1
- Go to External Tools – AddMaterials
You should see something like this:
A couple of things to keep in mind:
- the addin will copy an existing material from the CSI column as the ‘base’ material, and then modify the other values accordingly. Therefore, there must be a source material in place.
- Similarly, the Revit project file will need Surface and Cut patterns with the appropriate matching names already in the file prior to running the addin. The addin won’t import new Cut / Fill patterns into the project for you.
Recent post by Jeremy about this addin:
The Building Coder: Adding New Materials from List Enhancements
There are a few interesting things there already, including:
- The Building Coder samples
- Export to CNC addin
- Place Family instances based on Text file
- updates to RevitLookup
To get Revitlookup 2014.0.0.5, do this –
Download the ZIP:
Add Reference to Revit Program folder, then Build. Copy DLL etc as necessary (other steps here).
The Building Coder: ExportCncFab on GitHub and RevitLookup Update
Revit Add-Ons: The Building Coder Repository on GitHub
Jeremy shows how you can review a DWG file to determine if the source entities were Text or Labels in Revit. This principle extends further, as he describes:
The differing TypedValue 11 is consistently -2000300 for a text and -2000280 for a label element.
What does this mean?
Well, is actually quite easy.
On seeing these large negative numbers in this specific range, an experienced Revit developer will quickly suspect built-in category or parameter enumeration values.
You can check what they actually represent in the Visual Studio debugger, by jumping to the definition of these enumerations and searching for the specific values.
Looking back at an ancient blog post on the DWG and DXF export Xdata specification confirms that these numbers do indeed represent the built-in category of the source element and thus can be used to distinguish the two.
The Building Coder: DWG Issues and Various Other Updates
Nice tip + addin coming from Trevor Taylor via Jeremy Tammik – it shows how to rename Interior Elevation views by the Room that they reside in.
Here is a complete sample project including a test model in case you’d like to check it out yourself.
Many thanks to Trevor for this useful tool, his research, implementation, and generous sharing.
Read more / via:
The Building Coder: Rename View by Matching Elevation Tag with Room
To follow up the discussion of my quick and dirty Revit model OBJ exporter, I want to point out that Adam Nagy completed his series of posts on the AEC DevBlog on a Revit model exporter and viewer for iOS using an even more minimalistic custom data format for uploading to the cloud and viewing on an iOS mobile device:
- Part 1: Revit add-in to upload geometry data to a storage service
- Part 2: An iOS application to download and display the model using OpenGL
- Part 3: Interactive view orientation and manipulation using gestures
While the OBJ format I looked at is more heavy-weight than Adam’s minimal custom format, my implementation includes some other enhancements which make it quite effective as well.
I have also heard of other home-grown viewer implementations with some support for switchback, individual element tagging and object identification based on VRML and on the Unity gaming engine.
If you are interested in a finely tuned exporter with more complete coverage and control over what gets exported, you might want to take a look at the open source STL exporter.
Finally, for high-end exporter requirements, the Revit IFC exporter is also open source.
The Building Coder: Running Language Code and More Exporters
Thanks to Jeremy Tammik at The Building Coder:
The recording of the Revit 2013 API webcast that we held on May 17 is now available from the ADN DevTech Webcast Recordings Archive, entering “Revit API” as the course topic, or directly from here.
The 34 MB zip file includes:
- Slide deck
- Code Samples
The webcast addresses two main areas: an introduction to Revit programming for beginners, including a quick walkthrough of basic concepts, and a discussion of some of the new functionality provided by the Revit 2013 API, which will be of interest to both beginners and experienced developers. The two parts are roughly equal in length.
The Building Coder: Revit 2013 API Webcast Recording