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
Interests: rock climbing
Recent Activity
For the past few years now, the development team has been adding various checks to prevent illegal use of Revit API entry points from outside a valid Revit API context. Read all about the valid Revit API context and how to access it – Idling and External Events for modeless access and driving Revit from outside – New checks were just added in the Revit 2016 service pack 2 which uncovered more long-standing illegal API calls – CompHound connects desktop and cloud – Do not call `PostCommand` from a modeless context – Do Not Call `PostCommand` from an `Idling` Event Handler – Vacation time... Continue reading
Posted 2 days ago at The Building Coder
Today, let's look at a Windows API question that can be of interest handling Revit documents as well, and mention my night out to watch the – Lunar Eclipse – Custom File Properties... Continue reading
Posted 5 days ago at The Building Coder
Today I'll highlight two items – Revit Answer Day – Creating a Roof... Continue reading
Posted 6 days ago at The Building Coder
Let's wrap up this hectic week with a couple more recently answered issues and one non-Revit note – Changing element type – Iterating over elements – Creating an electrical family – La costola di Adamo... Continue reading
Posted Sep 25, 2015 at The Building Coder
The cloud accelerator kept me busy last week, I am working hard on the CompHound project and documenting that work on The 3D Web Coder. Besides that, I submitted several enhancements to various Revit add-in projects. Here are some of my recent activities – CompHound component tracker project development – RevitLookup displays element bounding box – SvgExport for Revit 2016 – In-memory family creation and structural stiffener migration from 2012 to 2016... Continue reading
Posted Sep 24, 2015 at The Building Coder
I returned from the Autodesk Cloud Accelerator in Prague, where I finished off cleaning up the FireRating in the Cloud sample and made some good inroads into the new CompHound project. Some learning resources and sharing philosophy – Håvard Vasshaug on Learning Dynamo and Sharing Content – Open Source BIM, IFC and FreeCAD – Chinese Revit API Book... Continue reading
Posted Sep 23, 2015 at The Building Coder
I am currently working intensely at the Autodesk Cloud Accelerator in Prague. I spent a lot of my time so far enhancing the FireRating in the Cloud sample. – FireRating in the Cloud enhancements – RevitLookup update to handle null analytical model – Retrieving all model elements... Continue reading
Posted Sep 15, 2015 at The Building Coder
Creating a DirectShape from a face used the picked face reference and its stable string representation to navigate the element geometry and determine a transformation. Let's take a look at a much simpler approach – Simpler DirectShape on picked face using total transform – The CompHound component tracker – FireRating in the cloud enhancement... Continue reading
Posted Sep 11, 2015 at The Building Coder
Revit API discussion forum threads – Geometry basics: how to retrieve geometry without prompting the user? – No modifying linked files: you have to unlink... Continue reading
Posted Sep 9, 2015 at The Building Coder
The creation of a DirectShape element on an interactively selected existing element face requires a transformation to be applied to the face of a family instance returned by the PickObject method to convert it from the family symbol space to the family instance real world coordinates – Creating DirectShape from face mesh – Determining real world transform of a family instance face returned by PickObject – Iterating over element geometry to find a specific target geometry object – Reusing sketch planes for model curve creation... Continue reading
Posted Sep 8, 2015 at The Building Coder
F# Mantis Procedural Modelling and Z3 Constraint Solving: Matthew Moloney presents the potential of interactive F# coding in Revit, like the Tsunami Rhino plugin, with a number of improvements, similar to the Revit Python Shell but for the F# programming language, bringing advantages including full code completion, error checking, performance, design scalability and access to powerful procedural modelling and constraint solving tools... Continue reading
Posted Sep 4, 2015 at The Building Coder
Lots of topics from Revit API discussion forum threads and GitHub updates: Family category; Keeping track of elements; Undoing a transaction; RevitLookup, GetRevisionData and ADN Revit API Training Labs update... Continue reading
Posted Sep 3, 2015 at The Building Coder
Are you interested in reading or writing DWG files directly, without installing AutoCAD? Querying? Viewing? Editing? Would you like to expand your solutions to support mobile devices and the web? Would you like to avoid implementing different or new application code to support desktop, mobile and web apps? Hear about the most efficient, reliable and robust solutions at the upcoming 'I Love DWG' meetup in Prague next Tuesday evening, September 8, using RealDWG, AutoCAD I/O and the View and Data API for DWG viewing and manipulation on any device, regardless of mobile, desktop, OS... Continue reading
Posted Sep 3, 2015 at The Building Coder
Today, I discuss my new Markdown blog post format, Fusion 360, the Fusion accelerator and a couple of Revit issues: Using the Markdown blog post format; Fusion 360; Fusion 360 for game artists; Fusion 360 accelerator; The Revit Revision API; Running a background bulk upgrade batch, Banksy's Dismaland bemusement park... Continue reading
Posted Aug 28, 2015 at The Building Coder
Dear Matt, Thank you for the hint. Can you just elaborate a little? For instance, what is the postable command id? Do you happen to have a sample code snippet at hand? Maybe I could summarise Aarons findings and your comment to replace the existing discussions on The Building Coder. Thank you! Cheers, Jeremy
Toggle Commented Aug 23, 2015 on RevitAPI: Close active document at AEC DevBlog
I recently mentioned the unrestricted VendorId in Revit 2016, and pointed out that I would like to update the Visual Studio Revit add-in wizards accordingly. I now went ahead and did so, adding a couple of other enhancements as well along the way – oh, and I did some work on putting my personal calendar online, as well: Sharing a calendar via GCal, Google API, and GitHub Pages. Visual Studio Revit add-in wizards on GitHub. Updated VendorId tag value. Wizard... Continue reading
Posted Aug 21, 2015 at The Building Coder
Stingray Stingray is live! Stingray is a 3D game engine and real-time rendering software optimised for developers creating 3D games and design professionals creating real-time visualizations and visually stunning 3D experiences. That is not all, though. Project Expo Based on this new technology, Autodesk Labs now publicly provides Project Expo for free. Project Expo provides the ability to explore your design and communicate design intent in a compelling real-time environment, supporting architects and other designers in sharing and experiencing architectural... Continue reading
Posted Aug 20, 2015 at The Building Coder
The never-ending stream of Revit API topics continues. Today, let's look at: Unrestricted VendorId. Retrieving DWFx links. Batch processing Revit documents. Future-proofing The Building Coder samples. Recent Revit API AEC DevBlog posts: Delete custom family parameter. JoinGeometryUtils.JoinGeometry for walls and columns. Reading gross and rentable area elements. Unrestricted VendorId In the past, we recommended using an Autodesk registered developer symbol or RDS as your vendor id, stored in the add-in manifest VendorId tag (starting from the Revit 2012 extensible storage... Continue reading
Posted Aug 18, 2015 at The Building Coder
I encountered the need and implemented solutions to save user configuration data several times over in the past. Today, prompted by a recent query, I'll point out two of them, and some other exciting and interesting stuff as well: Anthony Hauck on Futures for Revit. The Most Popular Programming Languages 2015. Saving User Configuration Settings. Text Format Configuration File Storage and Parsing. .NET XML Configuration File Storage and Parsing. Anthony Hauck on Futures for Revit BIMThoughts is a podcast platform... Continue reading
Posted Aug 17, 2015 at The Building Coder
Let's look at two questions on various coordinate systems raised by Simon Jones and Miroslav Schonauer: Translate coordinates from link to host Project Base Point versus Project Internal Translate Coordinates from Link to Host Question: Take this snippet of code: foreach (RevitLinkInstance lnk in selectedLinks) { Document doc = lnk.GetLinkDocument(); mDocumentList.Add(doc); projectLocation = doc.ActiveProjectLocation; XYZ origin = newXYZ(0, 0, 0); ProjectPosition position = projectLocation .get_ProjectPosition(origin); LocationPoint linkLocationPt = lnk.Location as LocationPoint; Location loc = lnk.Location; SiteLocation siteLocation = doc.SiteLocation; }... Continue reading
Posted Aug 13, 2015 at The Building Coder
One of the cases that I answered yesterday evoked a very interesting response from the development team that I want to share with you: Question: When traversing the faces in the boundary representation of a cylinder solid in Revit, I find that it contains two planar faces (top and bottom of the cylinder), and two cylinder faces (two half-cylinders). I examined many different circular solids in Revit and noticed that all of them split into 2 or 4 half/quarter cylinders.... Continue reading
Posted Aug 12, 2015 at The Building Coder
I am back from my vacation. I had a wonderful time. Now, let's look at two important recurring topics that came up while I was away: Revit API Context Summary. Detailed Form Creation Error Information. Before getting to those, let me mention some of the nice places and mountain tours I was blessed with in the past few weeks: Pallanza and the Lago Maggiore: Mont Blanc, mountaneering and climbing around the Cabane d'Orny: Monte Leone above Locarno (photo album): Pizzo... Continue reading
Posted Aug 11, 2015 at The Building Coder
Let me list some of the topics we discussed today in the Revit API discussion forum before I head off for vacation: Reacting to Windows mouse clicks in Revit. Reacting to changes and setting parameters using DMU or DocumentChanged. Creating a surface in Revit. FireRating in the Cloud feedback. Vacation Time Now. Summer has seriously arrived in Europe, and the weather is really good as well, for a change. I took advantage of it this weekend and climbed the Alphubel... Continue reading
Posted Jul 13, 2015 at The Building Coder
I have been extremely busy the past few days implementing my FireRating in the Cloud sample, a migration of the standard Revit SDK FireRating sample to a cloud-based multi-project implementation – reflected in this week's GitHub contributions: Also, I heard from Max Thumfart about his very interesting Grevit project: FireRating in the cloud demo and deployment Grevit Vacation time soon FireRating in the Cloud Demo and Deployment I'm just about done with my FireRating in the Cloud project. I published... Continue reading
Posted Jul 10, 2015 at The Building Coder
Let's veer away from the Revit API for a moment and take a look at family type catalogues, since questions on those pop up regularly in connection with programming as well: Programmatic type catalogue creation Tweaking type catalogue behaviour Type catalogue parameters Type catalogue units Programmatic Type Catalogue Creation Question: Is there any API support (function) to create type catalogues? Answer: As far as I know, there are two ways to create type catalogues, and both are programmatically accessible: Create... Continue reading
Posted Jul 9, 2015 at The Building Coder