This is Jeremy Tammik's Typepad Profile.
Join Typepad and start following Jeremy Tammik's activity
Join Now!
Already a member? Sign In
Jeremy Tammik
Switzerland
Interests: rock climbing
Recent Activity
Image
Here is another brilliant and super succinct solution provided by Fair59, answering the Revit API discussion forum thread on how to get cutting void instances in the floor using the HostObject FindInserts method – Question: I have a floor on which a family instance is inserted on the face of the floor (the instance host is also the floor). I checked in the family the "Cut with Void When Loaded" parameter, so that the void is created in the floor. Now, I want to retrieve all the instances that create voids in the floor... Continue reading
Posted 8 hours ago at The Building Coder
Image
We discussed several approaches to read the BasicFileInfo and RVT OLE storage, aka COM Structured Storage, to retrieve stuff like the file version and preview image, and, more lately, alternative access to BIM data via Forge... Continue reading
Posted yesterday at The Building Coder
Image
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... Continue reading
Posted 2 days ago at The Building Coder
Image
A rather hard struggle led to a rather simple solution for determining the start and end points of dimension segments. In summary, the solution looks like this – A Dimension element is either single- or multi-segment; these two cases need to be handled separately – In case of a single segment, the dimension element itself has a line, an origin and a value; the line is indeed the dimension line. However, it may be unbounded... Continue reading
Posted 7 days ago at The Building Coder
Image
A recurring question just came up again, on handling conflicts between DLLs loaded by Revit add-ins. For instance, this can be caused by a scenario in which add-ins A and B both make use of library DLL C, but specify different versions. A soon as the first add-in has loaded its version of C, the second add-in is prevented from loading the version it requires and cannot run... Continue reading
Posted 7 days ago at The Building Coder
Image
Here is a follow-up on the recent discussion on how to modify a grid curve end point using Grid.SetCurveInView. In the Revit API discussion forum thread on off-axis grids causing warnings in Revit, an attempt to use the same approach fails. Instead, Fair59 presents a solution using RotateElement to align an almost horizontal or almost vertical grid that is slightly off-axis... Continue reading
Posted Jun 13, 2017 at The Building Coder
Image
Reporting on a very exciting topic from the Revit API discussion forum from the Forge accelerator in Barcelona – Barcelona Forge accelerator – Retain the Add-In GUID – Dimension on hatch pattern... Continue reading
Posted Jun 12, 2017 at The Building Coder
Image
We continue patrolling the well-trodden paths of BIM, AI, Revit precision and RevitLookup – Connected BIM – Intuitive AI – Fuzzy Comparison – RevitLookup 2018.0.0.1... Continue reading
Posted Jun 6, 2017 at The Building Coder
Image
Things continue moving fast in AI, and the need to regenerate in the Revit API remains unchanged – AI News – Subtransaction Requires Regeneration... Continue reading
Posted Jun 1, 2017 at The Building Coder
Image
An updated version of the Revit SDK was published, I set up RvtSamples for Revit 2018, which I use to load The Building Coder samples, and we present a useful employment of the DatumPlane class methods GetCurvesInView and SetCurveInView – Revit 2018 SDK Update – RvtSamples for Revit 2018 – How to Modify Grid Curve End Points... Continue reading
Posted May 31, 2017 at The Building Coder
Image
Minho re-opened the Revit API discussion forum thread on getting the ElementId of all visible entities in a viewport, providing a good opportunity to mention Colin Stark's answer to the StackOverflow thread on determining whether a FamilyInstance is visible in a View. Question: I am looking for code to get the ElementIds of all entities inside a viewport. A viewport is a region of a big view plan... Continue reading
Posted May 29, 2017 at The Building Coder
Image
The Revit API discussion forum thread on drawing or rendering over the active view brought to my attention that an important new SDK sample created to demonstrate the use of the Revit 2018 functionality DirectContext3D for display of externally managed 3D graphics in Revit is missing in the SDK. I added it right here, in DuplicateGraphics.zip, and also provide an overview of the new SDK samples – CapitalizeAllTextNotes – DuplicateGraphics – GenericStructuralConnection – BRepBuilderExample – MultistoryStairs – PlacementOptions – Structural Analysis CodeCheckingConcreteExample and CalculationPointsSelector – REX SDK DRevitFreezeDrawing... Continue reading
Posted May 23, 2017 at The Building Coder
Image
Here is just a quick note to begin the week with the good news that the Revit 2018 issue reported in the Revit API discussion forum thread on Revit 2018, DWF, shaded views, and Windows explorer bug is resolved by the hotfix to handle the product crash when communicating with licensing server. It can apparently also occur when exporting or printing views... Continue reading
Posted May 22, 2017 at The Building Coder
Image
An explanation of the Revit project location elements and selecting the right one to use. I see two project location elements: 'Internal 21748' and 'Project 111428'. The active Project Location is 'Internal 21748'. However, the values in 'Project 111428' are correct and can be used to transform the coordinates, whereas the values in 'Internal 21748' are nonsense. Why is the active project location wrong? How can I determine which of the two to use? What is the difference between these two? ... Continue reading
Posted May 19, 2017 at The Building Coder
Image
Here is another Revit 2018 API enhancement that is obviously worth highlighting, since it immediately answers the question on getting a specific reference from a family instance raised in the Revit API discussion forum: Is it possible to get a named reference plane from a family without going into the family editor API? For example, I would like to have users be able to name a reference plane 'my arbitrary location' when they are creating a family... Continue reading
Posted May 17, 2017 at The Building Coder
Image
In Revit 2018, cancelling family instance placement during a call to PromptForFamilyInstancePlacement throws an OperationCanceledException exception – Easily fixed, once discovered – Question – Change in Behaviour – Exceptions Should be Exceptional – Answer – The Building Coder samples CmdPlaceFamilyInstance... Continue reading
Posted May 11, 2017 at The Building Coder
Image
We are currently being flooded with questions about a topic that has already been discussed repeatedly and in depth in the past, external access to the Revit API. Possibly, the cause is the growing interest in implementing web driven solutions to generate RFA and RVT files. It is in fact possible to implement a web server driving Revit in the background to execute such tasks, as demonstrated by the old sample showing how to drive Revit through a WCF service and other examples listed in the topic group on Idling and external events for modeless access and driving Revit from outside – Revit I/O and Forge – Question – Answer... Continue reading
Posted May 9, 2017 at The Building Coder
Image
Let's turn to a geometric question on tessellation, expanding on the discussion on TessellateSolidOrShell. I am exporting Revit wall geometry to an external application for comparison of net and gross wall areas. I have a problem with the fact that Face.Triangulate(double levelOfDetail) creates a different tessellation segmentation of neighbouring faces for the wall and its opening, although the underlying intersection curve between them is obviously the same. Why does the tessellation segmentation differ in this manner? The levelOfDetail in unchanged... Continue reading
Posted May 3, 2017 at The Building Coder
Image
Updates on Revit 2017, Revit 2018, and above all our treasured Revit API Docs. Plus, the clock is running now on two Forge enhancements. Finally, notes on DevCon, AU, female coders and the Women Who Code conference – Revit 2018 added to Revit API Docs – Revit 2018.0.1 hot fix – Revit 2017.2.1 update – Forge scopes enforcement by May 22 – Forge View and Data API countdown – Forge DevCon call for speakers is open – Autodesk University call for proposals – Five Autodeskers speak at Women Who Code... Continue reading
Posted Apr 28, 2017 at The Building Coder
Image
I updated the Visual Studio Revit C# and VB add-in templates for Revit 2018. They enable you to create a new C# or VB Revit add-in in Visual Studio with one single click on File > New > Project... > Visual Basic/Visual C# > Revit 2018 Addin and define a complete skeleton Revit add-in, ready to immediately compile and run, including an add-in manifest file, external application and external command. Just hit F5 to start debugging; the add-in manifest is installed, Revit launched and the command is immediately available... Continue reading
Posted Apr 27, 2017 at The Building Coder
Image
The Revit 2018 includes numerous exciting enhancements for add-in developers. The What's New section always provides very important information, both for discovering and exploring the newly added API functionality and for later reference. If you encounter any issues migrating your existing add-ins between different versions, this is one of the first places to look... Continue reading
Posted Apr 25, 2017 at The Building Coder
Image
Revit 2018 has been released. The Revit 2018 SDK is available from the Revit Developer Centre. I migrated RevitLookup and The Building Coder samples. Finally, the call for proposals has opened for the Forge DevCon at Autodesk University in Las Vegas – Revit 2018 Software Developers Kit – RevitLookup 2018 – The Building Coder samples 2018 – Forge DevCon call for proposals... Continue reading
Posted Apr 22, 2017 at The Building Coder
Image
I am officially taking time off right now, but still jumping in here and there anyway, e.g. in an urgent case to reduce the RVT model file size before passing it into the Forge translator – RvtForgify – Forge read-write – Forge in an Enterprise Service Bus... Continue reading
Posted Apr 18, 2017 at The Building Coder
Image
Blogging despite having already exceeded my work quota for the week, but there is so much to share – ForgeFader user interface – RevitLookup builds – Purging types, families and materials – Retrieving all family instances in a room... Continue reading
Posted Apr 6, 2017 at The Building Coder
Image
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... Continue reading
Posted Apr 5, 2017 at The Building Coder