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
After the significant struggle I had to compile the initial release of the Revit 2019 SDK samples and set up RvtSamples 2019, I am happy to report that installing and compiling the Revit 2019 SDK April 27 update is a lot easier – Downloading the April 27 SDK update – Initial compilation – 41 warnings – Processor architecture mismatch suppressed – 5 warnings – Update reference to RevitAPISteel.dll – 3 warnings – Setting up RvtSamples – Updated RvtSamples download... Continue reading
Posted 2 days ago at The Building Coder
Image
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... Continue reading
Posted 3 days ago at The Building Coder
Image
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... Continue reading
Posted 4 days ago at The Building Coder
Image
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... Continue reading
Posted 6 days ago at The Building Coder
Image
@CaptainDan raised a very pertinent question in the discussion forum on using FilterCategoryRule in the Revit API that led to some discussion and clarification with the development team: I have three questions regarding the filter rule represented by this class... Continue reading
Posted May 9, 2018 at The Building Coder
Image
Every time I created a ribbon button, I was faced with the task of creating appropriately scaled icons for it to populate the PushButton large and small image icon properties LargeImage and Image. They seem to expect a 32 x 32 and 16 x 16 icon, respectively. I finally solved that once and for all by implementing a couple of methods to perform automatic bitmap scaling – BitmapImageToBitmap – convert a BitmapImage to Bitmap – BitmapToBitmapSource – convert a Bitmap to a BitmapSource – ResizeImage – resize an image to the specified width and height – ScaledIcon – scale down large icon to desired size for Revit ribbon button – Usage sample – putting them together... Continue reading
Posted May 2, 2018 at The Building Coder
Image
I am excited to announce a number of new opportunities to come and join me and my closest colleagues in our work supporting external developers in their use of the Forge web programming technologies. Also, before closing for the week, I'll mention two interesting reads for the weekend, by Sasha Crotty on moving from Collaboration for Revit to BIM 360 Design, and by the World Economic Forum WEF on an action plan to accelerate BIM adoption – Would you like to come and work with us? – From Collaboration for Revit to BIM 360 Design – An action plan to accelerate BIM adoption... Continue reading
Posted Apr 27, 2018 at The Building Coder
Image
Following up on yesterday's discussion of What's New in the Revit 2019 API, here is a webinar invitation to walk through the results live from the product point of view. I also share a high-level comparison of some aspects of Forge versus A360 for a total newbie thinking about building a solution for a client to manage 3D models and collaborate on them with sub-contractors – Webinar on What’s New in Revit 2019 – Forge versus A360... Continue reading
Posted Apr 26, 2018 at The Building Coder
Image
The Revit 2019 API includes numerous exciting enhancements for add-in developers. Many relate directly to explicit developer wishes and requests – Information sources – Installation and migration from previous versions – What's new in previous versions – What's new in the Revit 2019 API – API Changes – API Additions... Continue reading
Posted Apr 25, 2018 at The Building Coder
Image
I set up RvtSamples for the Revit 2019 SDK samples. Just like the migration to previous versions, this is not a trivial undertaking. To cut a long story short and simply share my current working RvtSamples source code for the Revit 2019 SDK, here is RvtSamples_2019.zip containing my modified files... Continue reading
Posted Apr 24, 2018 at The Building Coder
Image
I already described how I installed Revit 2019, compiled the Revit 2019 SDK samples and migrated RevitLookup to the new version. I now migrated some of the other basic samples and utilities and have some Forge news to share – The Building Coder samples for Revit 2019 – The AdnRme MEP HVAC and electrical samples for Revit 2019 – AdnRevitApiLabsXtra for Revit 2019 – Convert RVT to IFC via Forge – Forge accelerators – Forge webinars – Open position for an infrastructure BIM implementation consultant... Continue reading
Posted Apr 19, 2018 at The Building Coder
Image
I migrated RevitLookup to Revit 2019, which was very easy. Next, I compared the directory contents to discover the new SDK samples – RevitLookup 2019 – New Revit 2019 SDK samples... Continue reading
Posted Apr 16, 2018 at The Building Coder
Image
I installed Revit 2019 and compiled the Revit 2019 SDK. That was quite a struggle – Installing Revit 2019 – Installing the Revit 2019 SDK – Installing the .NET Framework 4.7 – Compiling the Revit 2019 SDK samples – Processor architecture mismatch warnings – DimensionLeaderEnd OutputPath missing – Numerous Revit API assembly reference conflicts – SampleCommandsSteelElements lacks components – AppearanceAssetEditing using deprecated API... Continue reading
Posted Apr 13, 2018 at The Building Coder
Image
This is pretty obvious, once you think about it, and apparently worth pointing out anyway: The outline defining a bounding box filter is always aligned with the cardinal axes – Rotating Min and Max distorts the box – Rotate target elements or use a solid filter... Continue reading
Posted Apr 12, 2018 at The Building Coder
Image
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... Continue reading
Posted Apr 10, 2018 at The Building Coder
Image
A discussion with Håvard Dagsvik on the use of TransmissionData, standalone access to the BasicFileInfo without the need for a valid Revit API context, and a Revit-independent method replacing Family ExtractPartAtom – No document required for TransmissionData access – TransmissionData requires a valid Revit API context – Standalone GetFamilyXmlData method replacing ExtractPartAtom – Windows explorer BasicFileInfo right click utility... Continue reading
Posted Apr 5, 2018 at The Building Coder
Image
We recently discussed filtering for intersecting elements. Here is a closely related issue with an additional twist – Determining elements intersecting mass in a linked file – Coding suggestions and transformations – Solution by applying transformations... Continue reading
Posted Apr 4, 2018 at The Building Coder
Image
Do you Dynamo? Do you have a potential application for Autodesk Dynamo on the Cloud? If yes, we want to talk to you... Continue reading
Posted Mar 26, 2018 at The Building Coder
Image
Here is a suggestion made by Arkady Gilman to align plan views. Before we get to that, I'd like to point out the imminent Forge accelerator in Boston – Boston Forge accelerator – Question on aligning plan views – Answer, view origin and outline – Suggestion for aligning views... Continue reading
Posted Mar 21, 2018 at The Building Coder
Image
Here are a couple of threads from the Revit API discussion forum related to MEP and connectors from the past few weeks that seem worth taking note of – Traversing an MEP system and retrieving connected elements – Reproducing the MEP electrical system browser hierarchy – Creating a conduit between two connectors – Dealing with the read-only transition diameter... Continue reading
Posted Mar 19, 2018 at The Building Coder
Image
Dragos Turmac of the Revit development team solved the Revit API discussion forum questions on contextual help not working from within a command and on F1 help for add-in only by explaining the current best practice to implement online help – Question: I'm trying to add contextual help for all commands (press F1 to go to a location). It's working fine when the tooltip is shown for my commands, but, when the add-in form is open, pressing F1 opens the Autodesk knowledge site for Revit instead... Continue reading
Posted Mar 13, 2018 at The Building Coder
Image
Александр Пекшев aka Modis @Pekshev implemented another useful RevitLookup enhancement to search and snoop elements by element id or unique id – Search and snoop by element id or unique id – File changes – The built-in Select by Id command, Zoom To and StringSearch – RevitLookup update... Continue reading
Posted Mar 12, 2018 at The Building Coder
Image
A recent discussion on using the ShowElements method to toggle between documents and views brought up a few interesting points – Open and active an unsaved document – Zoom to selected elements – Toggle between documents and views... Continue reading
Posted Mar 8, 2018 at The Building Coder
Image
Several questions on filtering for intersecting elements came up recently. It is pretty easy as long as a bounding box can be used. However, the bounding box is generally aligned with the cardinal X, Y and Z axes. If the containing volume of interest is not, too many elements may be selected – Family instances in a diagonal room – Conduits intersecting a junction box – Generate 2D arc from radius, start and end points... Continue reading
Posted Mar 6, 2018 at The Building Coder
Image
Александр Пекшев aka Modis @Pekshev submitted a very succinct and useful pull request for RevitLookup that I integrated right away, and provides many other valuable inputs as well – Snoop stable representation of References – Project point on plane correction – Revit export geometry to AutoCAD via XML – RevitExportGeometryToAutocad – Description – Versions – Using – Example... Continue reading
Posted Mar 2, 2018 at The Building Coder