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 an interesting exploration of using UI Automation to traverse the Revit ribbon items and subscribe to an event enabling you to determine when certain commands are executed. I'll leave you to ponder this while I take a vacation... Continue reading
Posted Feb 21, 2015 at The Building Coder
A couple of questions on stackoverflow and the Revit API discussion forum prompted me to pick up the age-old issue of keyboard shortcuts again. Plus, I'd like to point out some news from the AEC Hackathon in New York and... Continue reading
Posted Feb 20, 2015 at The Building Coder
Image
As you know, we have a pretty impressive number of samples demonstrating the use of the View and Data API web services. We are currently reviewing them all to ensure their documentation is reliable and consistent. I picked Adam Nagy's... Continue reading
Posted Feb 19, 2015 at The Building Coder
Image
I already took a couple of looks at the DirectShape element in the past: DirectShape Performance and Minimum Size DirectShape versus Families, Category and Texture A much deeper investigation was prompted by Eric Boehlke of truevis.com, knowledgeable in architecture and... Continue reading
Posted Feb 17, 2015 at The Building Coder
Dear Jordi, Thank you for the confirmation and appreciation. Good luck with the rest of your add-in! Cheers, Jeremy.
1 reply
Image
Happy Valentine's Day! I keep repeating how much I love all kinds of geometric problems – besides my sweetheart, of course – merci filmool fier di scheeni Bliemli! Unfortunately, there are far too few of them around :-) Happily, Jordi... Continue reading
Posted Feb 14, 2015 at The Building Coder
Dear Yangzhj, Thank you for your appreciation. I am glad to hear that! Good luck! Cheers, Jeremy.
1 reply
Dear Matt, :-) I wish it really did. There are still plenty of unsolved issues around. It is possible to be notified by the blog host when an answer is posted to your comment. Thank you very much for sharing your alternative solution! Cheers, Jeremy.
Toggle Commented Feb 13, 2015 on Auto PDF Print from Revit 2014 at The Building Coder
1 reply
Image
A frequent request for Revit add-ins performing time-consuming tasks is to display a progress bar. My own progress bar implementation is provided by the ADN MEP sample application AdnRme, originally dating way back to 2009 and earlier still. Now Limin... Continue reading
Posted Feb 12, 2015 at The Building Coder
Dear Matt, Thank you for your appreciation. There may well be some good and proper way to avoid this situation arising at all in the first place that I am not aware of. What I can say for sure is that you can automatically dismiss the dialogue if you so wish: http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.32 Cheers, Jeremy.
Toggle Commented Feb 11, 2015 on Auto PDF Print from Revit 2014 at The Building Coder
1 reply
We repeatedly discussed the optimal usage and error handling of transactions, mainly based on the expert advice of Arnošt Löbel, Sr. Principal Engineer of the Autodesk Revit R&D team: Scope and Dispose of Transactions Using Using Automagically Disposes and Rolls... Continue reading
Posted Feb 11, 2015 at The Building Coder
Dear Limin, I finally got it compiled and tested successfully on Revit 2015. I created a pull request to update your repository with my changes. Can you pull them, please? I will happily publish this. Looks useful. Thank you! Cheers, Jeremy.
1 reply
Dear Limin, Thank you for your sample. I just took a look at it. Congratulations on achieving maximum confusion with a minimum of effort. For instance, you do not provide an add-in manifest, so I had to write it myself. The solution name is MonitorProgressRevit, the project name is MonitorProgress.vbproj, and the resulting .NET assembly DLL is MonitorProgess.dll, with one 'r' missing. It took quite a few attempts to figure all this out... Still working on it, though... Cheers, Jeremy.
1 reply
Dear Modar, There are about a hundred answers to that question right here on The Building Coder. Hint: search for get_Geometry. Cheers, Jeremy.
1 reply
Image
I presented the PromptForFamilyInstancePlacement method in June 2010 when it was newly introduced in the Revit API, together with a nice little solution temporarily subscribing to the OnDocumentChanged to access the newly added elements after terminating the placement interaction. Since... Continue reading
Posted Feb 10, 2015 at The Building Coder
Dear Matt, It is correct to place RvtSamples.txt in the same location as the add-in .NET assembly RvtSamples.dll. The add-in manifest file RvtSamples.addin always needs to specify the full path of the DLL. On my system, it looks like this (smaller than and greater than signs don't work here, so replace the square brackets by angle brackets): [Assembly]C:\a\lib\revit\2015\SDK\Samples\RvtSamples\CS\RvtSamples.dll[/Assembly] I hope this helps. Good luck! Cheers, Jeremy.
Toggle Commented Feb 10, 2015 on Compiling the Revit 2014 SDK at The Building Coder
1 reply
Dear Christian, Congratulations on finding a solution for your issue and thank you for sharing the link to Joe's post to change the boundary of floors and slabs: http://adndevblog.typepad.com/aec/2013/10/change-the-boundary-of-floorsslabs.html Sorry about the convoluted approach. We are doing our best, I assure you :-) Things like this happen when complex systems evolve. Thank you for your understanding. Cheers, Jeremy.
Toggle Commented Feb 10, 2015 on Slab Boundary Revisited at The Building Coder
1 reply
Dear Preston, Thank you for your appreciation. Sorry I have no immediate answer to your question. I see your thread on it in the Revit API discussion forum as well: http://forums.autodesk.com/t5/revit-api/place-a-family-instance-on-a-linked-host/td-p/5499313 That makes sense, and I hope that the community at large will be able to help. Cheers, Jeremy
1 reply
Here is a thread from the Revit API discussion forum on working with extensible storage in a worksharing environment between Scott Wilson, Cshha, Erik Eriksson and Arnošt Löbel, Sr. Principal Engineer of the Autodesk Revit R&D team, that I find... Continue reading
Posted Feb 6, 2015 at The Building Coder
Dear Limin, The Revit can never be used from a separate thread, as explained fully in the blog post listed above. Cheers, Jeremy.
1 reply
Image
Here is a thread from the Revit API discussion forum on understanding the use of the UniqueId between Erik Eriksson and Arnošt Löbel, Sr. Principal Engineer of the Autodesk Revit R&D team, that I find very valuable and therefore edited,... Continue reading
Posted Feb 5, 2015 at The Building Coder
:-) indeed.
1 reply
:-)
1 reply
I have been pretty busy answering queries on the Revit API discussion forum in the last few days. Here are two that I quite like that came up today, on calculating areas occupied by furniture and equipment family instances and... Continue reading
Posted Feb 4, 2015 at The Building Coder
Dear Atul, I suggest you start again from scratch and base your add-in on a sample that works. Cheers, Jeremy.
1 reply