Looking at Revit macro usage, add-in manager debug/trace functionality and journal analysis in Python and Dynamo – Revit macro study shareback – Add-in manager with debug trace – Journal file analysis – Plugging the HSL colour format... Read more →
Looking at Revit macro usage, add-in manager debug/trace functionality and journal analysis in Python and Dynamo – Revit macro study shareback – Add-in manager with debug trace – Journal file analysis – Plugging the HSL colour format... Read more →
We take yet another look at element ids and maintaining connectivity with IFC GUIDs – Linking IFC export with modified BIM – You cannot control the unique id – You can control the IFC Export GUID... Read more →
Posted on April 29, 2022 at 11:00 in Data Access, Element Relationships, Export, IFC | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Different approaches to prevent modification of certain elements and the latest news on RevitLookup – Prevent modification – RevitLookup updates – RevitLookupWpf – Pilcrow... Read more →
Posted on March 23, 2022 at 11:00 in Data Access, Modeless, RevitLookup, Selection, Update, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am working on a few side projects and proofs of concept for my own and other teams
– RvtParamDrop
exports visible element properties
– RvtLock3r
validates BIM element properties
– Drilling holes in beams...
Read more →
Posted on March 10, 2022 at 11:00 in Data Access, Export, Family, Parameters, Properties, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
We close this year with an eclectic mix of topics – Symbol vs instance geometry clarification – Create new material with texture – RVT dashboard data access – Marking and retrieving a custom element – Advanced remote batch command processing – Midwinter break... Read more →
Posted on December 17, 2021 at 11:00 in Algorithm, Batch, Data Access, Element Relationships, Family, Geometry, Journal, Material, News, Storage | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Increasing numbers of of Python and Dynamo oriented topics in the Revit API discussion forum, and a final deprecated API clean-up – The Building Coder samples clean – Retrieving all elements on level – Get ViewSheet from View – Fabrication transaction in Dynamo... Read more →
Posted on September 06, 2021 at 11:00 in 2022, Data Access, Dynamo, Element Relationships, Filters, Migration, Python, RME, RST, SDK Samples, Update, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, let's look at two Japanese Forge questions, on model groups and the Revit engine language, another RevitLookup enhancement, and, while we're talking about languages, a surprising scientific discovery on naked mole-rat dialects
– Retrieving Revit model group in Forge
– Specifying the Revit UI language in DA4R
– RevitLookup supports ScheduleDefinition
GetField
– Naked mole-rats speak in community dialects
– Van Gogh 360...
Read more →
Posted on February 11, 2021 at 11:00 in .NET, 360, DA4R, Data Access, Forge, Group, I18n, JavaScript, RevitLookup, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
An important insight in using a filtered element collector with a parameter filter, a handy open source OCR tool and a few productivity tips – Parameter filter also checks element type – Capture2Text, a handy OCR tool – Productivity tips... Read more →
Posted on January 29, 2021 at 11:00 in Data Access, Filters, Parameters, Philosophy, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we look at accessing and exporting sheet view coordinates, transforms, images and title block data, including the title block geometry and text values – Extracting title block geometry and text – Element coordinates on sheet – Export view as high quality image... Read more →
Posted on January 21, 2021 at 11:00 in Data Access, Export, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
The wish to be able to programmatically access and modify sketch-based elements is long-standing, e.g., for editing an existing slab boundary. Here is an invitation to take a look at the Revit Preview (aka beta), offering a chance to provide feedback on several new sketch-based element creation and editing APIs... Read more →
Posted on January 20, 2021 at 11:00 in Data Access, Element Relationships, Geometry, News | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we take a look at a fix for the RvtVa3c custom exporter and a Forge issue related to Revit property access – Pull metadata from RVT in BIM 360 – Forge at AU class recordings – RvtVa3c updated and issues fixed... Read more →
Posted on January 11, 2021 at 11:00 in Data Access, Export, Forge, JavaScript, Parameters, va3c | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I played around a bit with the NavisWorks API and discovered a nice Revit project modification tracking tool in Dynamo – Filter for detail lines subcategory – Revit project modification tracking – Retrieving all NavisWorks model properties – Node.js best practices – Early history of programming and C... Read more →
Posted on January 06, 2021 at 11:00 in C++, Data Access, Dynamo, Filters, NavisWorks, Node | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
The week is coming to an end all too quickly... here are some compelling topics before we enter the weekend
– Explaining texture UV
mapping using AVF
– Más Allá de Dynamo Spanish-language book
– A detailed 3D model of a human cell...
Read more →
Many interesting topics on pure Revit API, Forge, BIM360 and AI – Custom export precision – Dismissing a Windows dialogue with JtClicker – AU classes for construction customers – Retrieve sheet metadata in Forge viewer – Determining the BIM 360 project id – AI solves partial differential equations – AI-enhanced video editing... Read more →
Posted on November 03, 2020 at 11:00 in 360, AI, Algorithm, AU, BIM, Data Access, Forge, User Interface, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Topics for today
– Revit 2021 DisplayUnitType
– Eliminated TBC samples deprecated API usage
– Calculating the elbow centre
– FireRevit identifies room location for fire escape routes...
Read more →
Valerii Nozdrenkov shares a powerful solution to save and restore the complete 3D view camera settings and Ehsan Iran-Nejad publishes his set of Revit cheat sheets – Serialising 3D view camera settings – Revit cheat sheets... Read more →
Posted on October 14, 2020 at 11:00 in Data Access, Python, Settings, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Let's start the week with a look at the new RevitLookup CI system and a GraphQL interface for Revit – RevitLookup CI on GitLab – GitLab CI YAML – GraphQL for Revit – The Tamm Tree... Read more →
Posted on August 17, 2020 at 11:00 in Cloud, Data Access, RevitLookup, Server, Settings | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I begin this week with a rather mixed bag of interesting issues from the last – Get MEP duct shape update – Determining differences between DLL versions – BipChecker facelift – Fonts with '@' prefix... Read more →
Posted on June 22, 2020 at 11:00 in .NET, Data Access, Debugging, Parameters, Settings, Update, User Interface, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today we resuscitate a five-year old Revit API answer, still as fresh and useful as ever, followed by Forge and job opportunities truly fresh off the presses – Determining the Revit Camera FOV – Forge Partner Talks – Jobs at Autodesk... Read more →
Posted on April 28, 2020 at 11:00 in Cloud, Data Access, Forge, Job, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Forge Design Automation for Revit or DA4R is really starting to take off – Display custom properties – Upgrade Revit file version – Logging – Input and output files – CesiumJS open source 3D mapping – Banksy's wife hates home office – Virtual Forge accelerator... Read more →
Posted on April 27, 2020 at 11:00 in Accelerator, DA4R, Data Access, Fun, JavaScript, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A nice big egg has been laid just in time for Easter, with the beautiful springtime in full bloom
– Revit 2021
– BIM 360 Docs folder permission API
– Revit 2021 multi-region cloud model API
– Cloud model API changes
– How to open a cloud model
– How to save a local file to a non-workshared cloud model
– SaveAsCloudModel
information in web browser and via the Forge DM API...
Read more →
Posted on April 09, 2020 at 11:00 in 360, 2021, BIM, Cloud, Data Access, Docs, SDK Samples, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, let's highlight two view related data access topics – Get ViewSheet from View – Title block data access... Read more →
Posted on February 13, 2020 at 11:00 in Data Access, Element Relationships, Filters, Parameters, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
As always, interesting topics keep pouring in from the Revit API discussion forum and elsewhere – Torsion Tools GitHub launch and solution overview – Detect command launch – SelectableInViewFilter – Access project location in Forge – Distinguish structural elements and access volume information in Forge... Read more →
Posted on January 21, 2020 at 11:00 in BIM, DA4R, Data Access, Events, Forge, Getting Started, RST | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
An inconclusive struggle to use CurveLoop.CreateViaOffset
leads us once again to thank the powers that be for the integer-based 2D Boolean Clipper library, and some thoughts on project dashboards
– Extracting data for project dashboard
– Specifying a list of offsets to CreateViaOffset
– Alternatives to determine room outline including surrounding walls...
Read more →
Posted on December 18, 2019 at 11:00 in 360, Algorithm, AU, BIM, Data Access, Forge, Geometry | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today is my birthday, so I am trying hard to work less. Very kindly, Alexander Ignatovich provided a gift for the day in the form of a new external command CmdElectricalLoad in The Building Coder samples. showing how to retrieve the value of the `Load` column in the electrical system browser for a specific fixture family instance... Read more →
Posted on November 26, 2019 at 11:00 in .NET, Data Access, Parameters, RME | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we concentrate fully on material, physical and thermal assets – Issues accessing and creating material assets – Access to all material asset properties – No access to material keywords – Access to environment and render settings – Determine full path to texture bitmap... Read more →
Posted on November 05, 2019 at 11:00 in Data Access, Material, Parameters, Settings | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Joshua Lumley shares video #2 in his secret series, access to the CAD link status string and block in DWG export – Secrets of Revit API coding part 2 – Video 2 in the secret series – Getting CAD link status – Making blocks in Revit DWG export... Read more →
Posted on October 15, 2019 at 11:00 in Data Access, DWG, Export, Installation | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Preserving another couple of interesting recent threads from the Revit API discussion forum on various extensible and external topics – Extensible storage reading trouble – External event implementation – External DLL loading – External side face of a pipe... Read more →
Posted on September 26, 2019 at 11:00 in .NET, Data Access, Events, External, Geometry, Storage | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Please note that the European Forge DevCon in Darmstadt is looming imminent. Furthermore, here are some notes on two recent Revit programming discussions and a pointer to some of the top-rated online classes – DevCon Darmstadt – Personal DevCon invitation from Jim Quanci – Sun direction adjusted for project true north – Reading an RVT file without Revit – The top 100 free online courses... Read more →
An important Revit add-in requirement regarding Transport Layer Security (TLS) settings, a short note on accessing PDF image data from an import instance, and an update of the Collada DAE custom exporter for use in Revit 2020 – Required Transport Layer Security (TLS) settings – Accessing imported PDF image data in Revit – Custom Collada exporter updated and fixed... Read more →
Posted on September 06, 2019 at 11:00 in .NET, Data Access, Export, External, Migration, Settings, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
So many interesting discussions and inspiring solutions in the Revit API discussion forum!
Here are a few, plus one non-forum beginner case
– GetSimilarTypes
filters for curtain wall door symbols
– SnappingService
– what does it actually do?
– Get title block label parameters...
Read more →
Posted on September 04, 2019 at 11:00 in Content, Data Access, Element Relationships, Family, Filters, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I have been very busy and motivated indeed setting up a new computer this week. Nonetheless, I was able to keep going full steam with Revit API related issues as well – Setting up a new MacBook – KLH Engineers RevitDeveloperTools snooping tool – Pulling text from annotation tags – Vertex handling – The true meaning of pizza... Read more →
Posted on August 09, 2019 at 11:00 in Data Access, Fun, Geometry, Mac, RevitLookup | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am back from my break and picked up the question about creating dimensions for a filled region boundary – Programmatically creating dimensions for a filled region – Coding suggestion – Final solution... Read more →
Posted on August 05, 2019 at 11:00 in .NET, Data Access, Dimensioning, Element Creation, Geometry | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A recent internal discussion clarifies Revit element identification in Forge, Navisworks and IFC, some new thoughts on consciousness versus AI, and a couple of topics of personal interest – Two Nice summer mountain hikes – Revit element ids in Forge via Navisworks and IFC – Some aspects of consciousness may be beyond reach of ai – Trees might help against global warming – Holidays ahead... Read more →
Posted on July 08, 2019 at 11:00 in Data Access, Element Relationships, Export, Forge, IFC, JSON, Photo, Travel | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am participating in the Forge Accelerator in Barcelona this week. Let me mention some pending Revit API issues before diving into any accelerator topics – AddMaterials enhancements – Retrieving element rotation – Changing the phase created parameter... Read more →
Posted on June 25, 2019 at 11:00 in Accelerator, Data Access, Forge, Material, Parameters, Travel, Update, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we present yet another RevitLookup enhancement, a note on an undocumented built-in parameter change and a neat Forge Design Automation for Revit sample app – RevitLookup family types and parameter definition names – Bitmap aspect ratio built-in parameter renamed – DA4R SketchIt demo generates walls... Read more →
Posted on June 04, 2019 at 11:00 in 2020, DA4R, Data Access, Forge, Migration, Parameters, RevitLookup, Viewer | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
This post is somewhat overdue and hence rather full of various topics, mainly due to my struggles with my MacBook slowing to an unbearable crawl in the heat last week – Accessing BIM360 cloud links – Retrieve RVT preview thumbnail image with Python – Paolo's Dynamo primer and slide deck compendium – Slow MacBook with kernel_task using several 100% CPU – Failings of the political establishment... Read more →
I played around creating a new SectionCutGeo add-in to retrieve the geometry resulting from cutting a family instance in a section view. This was prompted the Revit API discussion forum thread on getting intersection lines from cut in section view – Intersection of section and family instance task – Solution options, geometry elements and view settings – Retrieving curves in the cut plane – Helper methods and external command mainline – Sample model and results – Caveat... Read more →
Posted on May 23, 2019 at 11:00 in Algorithm, Data Access, Family, Geometry, Performance, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
The linked file enhancements introduced in the Revit 2014 API obviously need more awareness – Link enhancements – Conversion of geometric references – Tagging a linked element – Using the stable representation to tag a linked element – List all untagged doors... Read more →
Posted on May 13, 2019 at 11:00 in 2014, Data Access, Element Relationships, Filters, Links | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I avoid answering non-confidential questions in private, as I tell everyone who tries to do so.
However, some non-confidential queries still come in via ADN.
Here are two that came in today that might be of general interest and therefore seem worth sharing
– Batch processing Revit families and documents
– AsString
and AsValueString
results differ...
Read more →
Posted on April 25, 2019 at 11:00 in Cloud, Data Access, Export, Forge, Logging, Parameters, Performance, Server | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Lukáš Kohout brought up an interesting and important issue on changing material texture path with EditScope
– How to set the material texture path?
– Suggestions
– Solution and sample material
– ChangeRenderingTexturePath
method
– Step by step guide
– Test run...
Read more →
Posted on April 02, 2019 at 11:00 in 2018, Data Access, Element Creation, Material, Transaction | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
We have looked at numerous different approaches to determine wall openings in the past, so it seems pretty hard to nail down, and pretty important to solve.
Now Håvard Leding of Symetri contributed yet another exciting idea which highlights a number of surprising aspects,
demonstrates a further creative use case for GetDependentElements
and expands on his
recent RevitLookup enhancement to retrieve and snoop dependent elements
– Get demolished solid
– Why?
– Questions...
Read more →
Posted on March 28, 2019 at 11:00 in Algorithm, Data Access, Dimensioning, Element Relationships, Geometry, Transaction | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, let's look at the Forge architecture, Revit add-in debug, edit and continue, and yet another RevitLookup enhancement – High-level picture of Forge – Debug and continue in a Revit add-in – Snooping appearance assets... Read more →
Posted on March 26, 2019 at 11:00 in .NET, Architecture, Data Access, Debugging, Forge, RevitLookup, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I recently implemented the IfcSpaceZoneBoundaries add-in to link in and analyse IFC file zones and spaces, then prepared it for use in Forge Design Automation. Now I want to add level information to the CSV export. However, the DirectShape
elements created to represent the rooms and zones have no valid level assigned, so their Level
property is invalid.
Happily, we can easily analyse the BIM and generate the equivalent information ourselves
– Retrieve levels sorted by elevation
– Determine level from element elevation
– Carl Bass and Zoox autonomous vehicles
– Physical reasons to be happy to be alive...
Read more →
Posted on March 06, 2019 at 11:00 in Algorithm, Data Access, Element Relationships, IFC, News, Philosophy | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Håvard Leding explores relationships between stable reference of main elements and their sub-elements, related to the intriguing undocumented ElementId
relationships and stable representation magic voodoo.
We need to access the sketch association to the element being sketched.
I printed out stable references for 3 floors, and also the references for each ModelLine
in their 3 Sketch
elements...
Read more →
Posted on February 07, 2019 at 11:00 in Data Access, Element Relationships, Geometry | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am working on extracting room and zone information from IFC files, both geometry and relationships, specifically room and zone boundaries and containment.
My new IfcSpaceZoneBoundaries add-in project retrieves this information, exports it to CSV and demonstrates a host of other important aspects
– What happens on linking in an IFC file?
– Read user configuration input settings from a file
– Log messages, warnings and errors to an output file
– Read the IFC properties stored as shared parameters
– Extract the horizontal boundary information from a DirectShape
element
– Export the relevant data to CSV
– Programmatically link in an IFC file into a Revit RVT project
– Retrieve all currently linked-in IFC files from the Revit application...
Read more →
Posted on February 01, 2019 at 11:00 in .NET, Algorithm, Data Access, Geometry, IFC, JSON, Links | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Håvard Leding of Symetri added three new commands to RevitLookup – Three new RevitLookup commands – About "Snoop Pick Face" – About "Pick Linked Element" – Running in a family document... Read more →
Posted on January 18, 2019 at 11:00 in Data Access, Element Relationships, Family, Geometry, RevitLookup, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, I present a little exploration of how to access zones defined in an IFC file in Revit. If you are following this blog closely, you might guess that this is related to the room boundary CSV exporter project that I recently discussed. For this exploration, I installed and used RevitPythonShell. Here are the detailed steps – Importing IFC zones into Revit – Installing and using RevitPythonShell – Programmatically accessing IFC zones in Revit... Read more →
Posted on January 15, 2019 at 11:00 in Data Access, Element Relationships, IFC, Links, Python, RevitLookup | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Let's highlight a nice interactive didactical Python-based Revit API learning challenge on how to get the bounding box from a Revit element and determine its centre – Cyril's Python HVAC blog – Rotating elements around their centre in Python – Retrieve element and bounding box from picked reference – Use location point instead of bounding box centre – Final working solution... Read more →
Posted on December 18, 2018 at 11:00 in Data Access, Geometry, Getting Started, Python, RME, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today we share a quickie from the Revit API discussion forum thread on how to access the line weight for dimension lines – I want to programmatically access a dimension line's line weight... Read more →
Posted on December 17, 2018 at 11:00 in Data Access, Dimensioning, Element Relationships, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API