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 →
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
A nice new minimal DMU example and updates and enhancements to several other important sample applications
– Simple dynamic model updater example
– ExportCncFab SortMark
update
– RevitLookup exception on view GetTemplateParameterIds
...
Read more →
Posted on December 09, 2020 at 11:00 in DMU, Parameters, Parts, RevitLookup, SDK Samples, Update, Utilities, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am busy as ever in the Revit API discussion forum. Today, let's highlight a couple of items that were not discussed there – ContextualHelp with space – On renaming a shared parameter – Build a minimal neural network from scratch... Read more →
Posted on September 21, 2020 at 11:00 in AI, Parameters, Ribbon, User Interface | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I have been dabbling with the Go programming language in the past week, besides optimising and answering Revit API questions – Optimising setting shared parameters – Full-text search for The Building Coder posts – Decimal point woe... Read more →
Posted on September 09, 2020 at 11:00 in AppStore, Go, I18n, Parameters, Performance, Settings, Utilities, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Parameter changes and tile packing using the Revit API and AI, plus some other notes on Forge and general stuff
– Parameter type changes to Custom
– Determining cut tiles in room
– Optimal banana sandwich slice packing with AI
– Forge solution showcase
– Effect of home office on meeting culture
– Motivating kids can be harder than business success...
Read more →
Posted on August 26, 2020 at 11:00 in 2021, AI, Algorithm, Forge, Geometry, Parameters, Philosophy | 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
Our tidbits for today – Revit 2021 Visual Studio add-in templates – Four important design patterns – Invisible shared parameters don't make it into Forge... Read more →
Posted on June 03, 2020 at 11:00 in 2021, Forge, Migration, Parameters, Update, Wizard | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Let's start the week with two pretty fundamental topics – Compiling the Revit 2021 SDK samples – Reading the value of a parameter... Read more →
Posted on May 11, 2020 at 11:00 in 2021, Getting Started, Parameters, SDK Samples, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
An amazing solution to move existing rooms between levels while retaining all their information, some thoughts on managing slots in panel schedules, and a couple of useful JavaScript debugging console hints – Moving rooms to other levels – Slots in panel schedules – JavaScript debugging console commands... Read more →
Posted on March 12, 2020 at 11:00 in Debugging, JavaScript, Parameters, RME, Schedule | 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
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
Let me once again highlight two helpful answers in the Revit API discussion forum and the newest pair of Forge Design Automation samples – Get project parameter id from its name – Preventing an updater loop – New Forge and Design Automation samples... Read more →
Posted on October 01, 2019 at 11:00 in DA4R, DMU, Filters, Forge, Parameters, View | 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 still have a backlog of questions from last week to process. Here are some of the discussions that came up – Shared parameter is either type or instance – Transferring element parameters – Hiding DirectShape internal face edges... Read more →
Posted on September 03, 2019 at 11:00 in Dynamo, Geometry, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I completed the move to my new computer, and happily all systems go now.
Here are some other topics that came up in the past few days
– Revit-IFC Release 20.1.0
– Community discussion on Revit
– Solid or instance, depending
– Exporting parameters to Access
– Store globals on custom DataStorage
, not ProjectInfo
– Iranian civil engineering project video...
Read more →
Posted on August 13, 2019 at 11:00 in Family, IFC, Labs, News, Parameters, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I explored three main topics here at the Forge accelerator
– Room closed shell solid visibility in the Forge viewer
– Rebar simplification: replace rebar elements with simplified solids or model curves
– glTF
export
– Today, I'll dive deeper into the first
– IFC exporter utility adds new built-in parameter
– Barcelona Forge accelerator
– Room closed shell in the Forge viewer
– Triangulate the solid face by face
– Triangulate entire solid
– Tessellation accuracy control documentation error...
Read more →
Posted on June 28, 2019 at 11:00 in Accelerator, Export, Forge, Geometry, IFC, Parameters, Viewer | 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
Yesterday, I implemented a new add-in, RoomVolumeDirectShape, that creates DirectShape
elements representing the volumes of all the rooms
– Request to display room volumes in Forge SVF file
– RoomVolumeDirectShape functionality
– Retrieving all element properties
– Converting a .NET dictionary to JSON
– Generating DirectShape
from ClosedShell
– Complete external command class Execute
method
– Sample model and results
– Challenges encountered underway
– Cherry BIM Services
– On the value of the "Loss Method" property
– AI-generated talking head models...
Read more →
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
Today, yet another introduction to Forge, a simple issue of setting the level of a floor element, and the much more complex one of gaining freedom and total independence via IPC – What is Forge? – Changing the level of a floor – Entanglement can be hell – CefSharp entanglement – Disentanglement and independence via IPC – Beer-ware license... Read more →
Posted on April 10, 2019 at 11:00 in .NET, 2019, Architecture, External, Forge, Library, Parameters, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today I discuss (once again) an important performance aspect of Revit element filtering, a Python script for tagging JPEG images with EXIF data, prompted by a recent ski tour, and three other interesting topics that caught my eye – Slow, slower still and faster filtering – Python JPEG EXIT filename tagging – TED talks and population growth – Objective reality does not exist – Artificial intelligence judge... Read more →
Posted on April 08, 2019 at 11:00 in .NET, AI, Filters, News, Parameters, Performance, Photo, Python | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here is a recurring question on binding a shared parameter to a given category – How to add a shared parameter to revision? – Determine the category – Binding to the category – Implementation sample... Read more →
Posted on April 01, 2019 at 11:00 in Labs, Parameters | 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
I remain busy, mainly in the Revit API discussion forum. Here are three recent samples dealing with pretty generic questions – Efficiency and elegance in simple code – Pushing wall type to doors... Read more →
Posted on November 27, 2018 at 11:00 in Algorithm, Data Access, Filters, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we focus on two pure programming questions from the Revit API discussion forum – Area of an exterior floor above a room – Mysterious element hiding activity... Read more →
Posted on September 27, 2018 at 11:00 in Algorithm, Analysis, Geometry, Getting Started, Parameters, Settings, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Some happy news about two new Revit API supporter colleagues, Naveen Kumar and Zhong Wu. They already reached second and third place in the list of top solution providers. Here is also a very relevant recent case handled by Zhong – Top solution authors – Naveen on Naveen – Zhong shifts to AEC – Zhong on Zhong – Deleting a non-shared project parameter... Read more →
Posted on August 27, 2018 at 11:00 in Data Access, Deletion, News, Parameters, Performance | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am back from a multi-day hike of about 70 km along the Swedish Sörmlandsleden wilderness trail. In the meantime, lots of noteworthy things happened – Revit 2019.1 update and features – Revit Add-Ins using the CEFsharp library – BIM 360 Issues API – Forge Accelerator in Rome and elsewhere – Looking for a Forge development partner – New way to retrieve a parameter id... Read more →
Posted on August 17, 2018 at 11:00 in .NET, 360, 2019, Accelerator, BIM, Data Access, Events, Forge, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I returned from my time off in July. I dived in deep into the Revit API again to resolve an issue retrieving wall profile curves. Here are some other noteworthy items to keep company with my debugging report – CmdWallProfile update – Access to the IUpdater original value – Getting element dimensions from IFC files – Creative workaround to rotate elevation marker in chunks... Read more →
Posted on August 06, 2018 at 11:00 in Data Access, DMU, Geometry, IFC, Parameters, Storage | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, let's revisit the topic of filtering for a parameter value, and mention the updated Forge tutorials – Learning Forge tutorials – Filtering for a specific parameter value – Filtered element collector optimisation... Read more →
Posted on June 01, 2018 at 11:00 in Algorithm, Data Access, Filters, Forge, Getting Started, Parameters, Performance | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
How to export all the Revit data to an external database?
It is very simple to extract all the parameter data.
Let's implement a solution to do so
– Existing sample implementations
– Black box input
– Choices for the output and its structure
– Retrieve parameter values from an element
– FilterCategoryRule versus category filters
– Category description extension method
– Retrieve parameter data for all elements of given categories
– External command Execute
mainline
– Sample run results
– Download...
Read more →
Posted on May 17, 2018 at 11:00 in Data Access, Export, Filters, Labs, Parameters, SDK Samples | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we explore how to retrieve visible DWG geometry, i.e., geometry elements contained in a CAD import instance on a layer that is visible in the currently active view, and how to import an image to the foreground instead of the default background setting – Retrieve CAD import geometry on visible layer – Import image using foreground option... Read more →
Posted on May 16, 2018 at 11:00 in DWG, Geometry, Macro, Parameters, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Exciting news from Russia and some mundane updates on other repetitive topics – Driving Revit from a modeless context via a WCF service – Room walls' directions – Retrieving all exterior walls – Getting and setting a shared parameter value... Read more →
Posted on May 14, 2018 at 11:00 in .NET, Algorithm, Data Access, Events, External, Filters, Idling, Migration, Modeless, Parameters, SDK Samples, Server, WCF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I installed the latest Revit update, and want to highlight two of the numerous interesting ongoing Revit API forum discussions
– Revit 2018.3 update
– Avoid SetValueString
– Passing Data via ExternalEvent.Raise
...
Read more →
Posted on April 10, 2018 at 11:00 in .NET, 2018, Algorithm, Events, External, Parameters, Python, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Let's highlight a few recent threads from the Revit API discussion forum. Before getting to those, a quick pointer to the DevDays Online recording from last week – DevDays online presentations on Revit API updates – External command with ribbon button sample – RevitAddinKeyNoteSystem keynote manager – REX extensions versus Revit add-ins – Reloading Revit links from user selected folder – Converting all parameter values to metric... Read more →
Posted on February 12, 2018 at 11:00 in DevDays, Getting Started, Links, News, Parameters, REX, Ribbon, Units, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Quick notes on the best speakers at the last event in Las Vegas, and your chance to become one of them at the next in London – Best AU Speakers in Las Vegas 2017 – CFP for Autodesk University London 2018... Read more →
Posted on January 17, 2018 at 11:00 in AU, Dynamo, Family, Getting Started, News, Parameters, Python | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Looking at setting the SetAllowVaryBetweenGroups
flag on a shared parameter;
is there any way to set can vary by group instance (what I need) the default for API-created bindings? ...
Read more →
Posted on December 20, 2017 at 11:00 in 2014, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Alexander Ignatovich shares an exceedingly elegant solution for automatic wall creation, illustrating a number of important concepts and implementing the following functionality very succinctly indeed
– Retrieve all the cube
family instances
– Retrieve their height
parameter value
– Retrieve their solids making use of the .NET yield
operator
– Extract their horizontal outline contours using an ExtrusionAnalyzer
– Create walls along each contour curve segment
– Place a door family instance at the midpoint of each wall...
Read more →
Posted on November 30, 2017 at 11:00 in .NET, Algorithm, Element Creation, Family, Filters, Geometry, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
The Revit API discussion forum continues to reach ever new levels of depth and coverage. Here are a couple of recent topics – Welcome to the top solution authors, Jim! – Setting a parameter to regenerate the model – Checking model for C4R versus local file... Read more →
Posted on November 28, 2017 at 11:00 in .NET, Cloud, Data Access, News, Parameters, Regen | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I spent last week working on a new little BIM sample showing a round trip connection between Revit and Forge, and an automated way of generating and populating shared parameters from spreadsheet data – RvtMetaProp – Revit meta property add-in – CSV and JSON input file format – Forge configurator sample – Round-Trip Forge meta property editor – BipGroupList lists built-in parameter group enums and labels – Two options to add custom properties to the Revit BIM – Translation of shared parameters to Forge – Handling BIM floors in Forge... Read more →
Posted on September 11, 2017 at 11:00 in Forge, JSON, Parameters, Storage, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Håvard Dagsvik of Symetri implemented code to automatically generate a dictionary mapping the Revit DisplayUnitType
to corresponding UnitSymbolType
display strings. The developer guide describes these classes like this
– UnitType – type of physical quantity to be measured, for example length or force (UT_Length or UT_Force)
– DisplayUnitType – units and display format used to format numbers as strings or convert units (i.e. DUT_METERS)
– UnitSymbolType – unit symbol displayed in the formatted string representation of a number to indicate the units of the value (i.e. UST_M)...
Read more →
Posted on August 18, 2017 at 11:00 in .NET, Parameters, Units, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A biggish post rather late in the week... still answering too many cases – Forge for AEC demos and sample code – Determining the starting view – Detecting installed Revit version – Detecting installed C3D version – Moving items inside a detail group – Filtering for family instances and types by family name... Read more →
Posted on August 17, 2017 at 11:00 in .NET, AU, Data Access, Element Relationships, Family, Forge, Geometry, Group, Installation, Parameters, Performance, RevitLookup, Utilities, View | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
As usual, lots of exciting discussions are being conducted in the Revit API discussion forum.
I'll just highlight two of them going on right now
– Finding a path through the BIM
– Finding all possible ElementId
values for specific Parameter
...
Read more →
Posted on June 21, 2017 at 11:00 in .NET, Algorithm, Data Access, Dynamo, Geometry, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I completed a first revision of the ForgeFader project, bringing it up to par with RvtFader. It is pretty cool seeing the same functionality implemented in two such different ways, on completely different platforms, using different tools. Alan Seidel shared another exciting Revit add-in. First and not least, another exciting topic for me personally is switching to half-time work – Work half – AKS Opener – Video – GitHub repository – Why? – Specific interest – RvtFader – ForgeFader... Read more →
Posted on April 05, 2017 at 11:00 in .NET, AVF, Element Creation, Family, Forge, Geometry, JavaScript, JSON, Parameters, Ribbon, Threejs, Viewer | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today is the last day of the Forge accelerator, and I am still working on the ForgeFader project. The topics today are mainly related to Revit, though – Google prettifier on GitHub – WTA mechanical family placement add-in – Provision for void – What is a provision for void? – Creating a provision for void... Read more →
Posted on March 31, 2017 at 11:00 in Algorithm, Element Creation, Events, Family, Geometry, JavaScript, Modeless, Parameters, Regen, Ribbon, User Interface | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am traveling to Gothenburg for the Forge accelerator. Meanwhile, Allan Seidel shared his WTA FireP 3D Aimer add-in that creates a custom ribbon tab with discipline related tools for placing specific Revit family types with some families requiring parameter settings made on the fly and the 3D Aimer example that "aims" a special Revit family to a target – WTA FireP 3D Aimer Tools – GitHub Repository and YouTube Video – Source Code Documentation – WTA Elec – Another Family Plunk and Concept Share... Read more →
Posted on March 26, 2017 at 11:00 in Accelerator, Element Creation, Family, Modeless, Parameters, Ribbon, RME, Settings, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I ran the first query on the collection of tbc blog posts imported into Elasticsearch to experiment for the question answering system Q4R4 Question Answering for Revit API and installed the elasticsearch-head web front end to better explore and understand my local Elasticsearch cluster – Elasticsearch text field mapping – Elasticsearch-head web front end – More RevitLookup updates – Get area scheme from an area... Read more →
Posted on March 17, 2017 at 11:00 in cURL, Elasticsearch, Filters, Parameters, Q4R4, RevitLookup | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Are you interested in easy access to your Revit model properties? Well, you can have that even without a need to install Revit. The Forge Model Derivative API extracts a streamlined copy of all geometry, BIM element hierarchy and properties from over fifty file formats, and Revit RVT files are just one of them. Augusto Goncalves implemented a Forge sample to read all the properties on all BIM elements in an RVT file and export them to an XLSX spreadsheet – Test run it yourself – Source code on GitHub... Read more →
Posted on February 28, 2017 at 11:00 in Accelerator, Data Access, Events, Forge, Getting Started, Parameters, Training | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Lots of information on, from and about schedule parameters, and a new elegant solution to a long-standing challenge – Direct access to shared parameter GUID – Getting parameter information from a schedule... Read more →
Posted on January 23, 2017 at 11:00 in Algorithm, Data Access, External, Parameters, RevitLookup, Schedule, User Interface, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API