This is Jeremy Tammik's TypePad Profile.
Join TypePad and start following Jeremy Tammik's activity
Jeremy Tammik
Switzerland
Interests: rock climbing
Recent Activity
:-)
View Location on Sheet
I returned from a beautiful little mountain hike to the lake, pass and mountain of Piz Lunghin. One very special aspect of this place is that it is Europe's one and only triple watershed, with rivers flowing all the way to the North Sea, Black Sea and Mediterranean. Another special aspect ...
CouchDB Implementation and GitHub Repository
Posted yesterday at The Building Coder
Comment
0
Dear Mustafa,
There are some workarounds which enable you to determine which basic walls belong to a given stacked wall.
They are described in the following blog post that performs a similar analysis for curtain walls:
http://thebuildingcoder.typepad.com/blog/2010/05/curtain-wall-geometry.html
Cheers, Jeremy.
Retrieving Detailed Wall Layer Geometry
We start off this week with a bang. I find the following topic especially exciting, for several reasons: It deals with geometry. I like that. It implements something that cannot be achieved out of the box. I like that. It makes use of the Revit 2012 parts functionality and the PartUtils class...
Dear Tecy,
You tell me. I'm not a user!
Cheers, Jeremy.
Filter for Views and the IsTemplate Predicate
Several people encountered issues when retrieving views in Revit 2011. The reason is that the most direct approach to filtering for view elements using the new element filtering also returns view templates, which were not accessible in the Revit 2010 API. Here is the initial issue: Question: I ...
Dear James,
That makes absolute sense, and sounds totally brilliant.
Congratulations on solving that!
Thank you very much for sharing and describing such an effective 'hicks-hack' :-)
Sorry, couldn't resist, hope you don't mind!
Cheers, Jeremy.
View Location on Sheet
I returned from a beautiful little mountain hike to the lake, pass and mountain of Piz Lunghin. One very special aspect of this place is that it is Europe's one and only triple watershed, with rivers flowing all the way to the North Sea, Black Sea and Mediterranean. Another special aspect ...
DWG Issues and Various Other Updates
One of the highlights mentioned in the overview of the Revit 2014 API is the FreeForm element API that enables modification of solid geometry imported from DWG or SAT. Several other new DWG and DXF related features include import of... Continue reading
Posted 3 days ago at The Building Coder
Comment
0
Dear Aleksey,
To query the type properties instead of the instance ones, retrieve the parameter from the type element instead of the instance element.
This is demonstrated in numerous places, e.g. by the BipChecker:
http://thebuildingcoder.typepad.com/blog/2013/01/built-in-parameter-enumeration-duplicates-and-bipchecker-update.html
Cheers, Jeremy.
Parameters versus Properties
In his comment on reading material asset data, Alexander Buschmann points out that this same information can be accessed without retrieving, reading and converting the data directly from the undocumented built-in parameters. Instead and more comfortably, you can use the following official prop...
Dear Sandeep,
My one and only suggestion is my perpetual mantra: explore it yourself using RevitLookup and let me know what you find out.
Thank you!
Cheers, Jeremy.
Slanted Column Cross Section Rotation
Here is a question that will be of most interest to people working with Revit Structure, on the different definitions of the cross section coordinate system of vertical versus slanted columns, with several people chipping in to answer it from various perspectives. The solution is illuminating an...
Dear Skootamota,
Thank you, good question.
Yes, indeed, how would you?
No idea.
Can you tell me?
Thank you!
Cheers, Jeremy.
Place Family Instance
The Revit SDK does not include any example of calling the new PromptForFamilyInstancePlacement method, which prompts the user to interactively and graphically place instances of a specified family symbol, so I am creating a new Building Coder sample command to demonstrate its use. At the same ti...
Hi Rudolf,
Yes, that is the intention and motivation for the entire blog post :-)
That is exactly what RvtSamples does.
Cheers, Jeremy.
External Command Lister and Adding Ribbon Commands
I have been asked a couple of times how you can integrate multiple Revit add-ins from different sources together into a single ribbon panel. This topic has also been discussed on the web, e.g. towards the end of whether to install to the add-ins tab or make new ribbon tab, and at Autodesk Unive...
External Command Lister and Adding Ribbon Commands
Posted 4 days ago at The Building Coder
Comment
4
Dear Travis,
Thank you for the appreciation.
No, not at all. I have one single Mac partition.
If you look carefully at the screen snapshot at the bottom, you can see that a large chunk of it is occupied by Parallels.
I am running Windows inside of a Parallels VM. Three Windows, in fact: my old XP machine that I migrated into here and have been using for a number of years already, and Windows 7 and 8 for running Revit 14 in. It won't run on XP :-)
Cheers, Jeremy.
Removing Unused Mac Architectures, Languages and Files
Nature abhors vacuum, and every disk fills up. This Mac has a 500 GB SSD, which is great, but gradually getting cramped. Looking around for some disk space management tools, I also happened to stumble across Monolingual and made immediate and effective spontaneous use of it. Mac programs come w...
Removing Unused Mac Architectures, Languages and Files
Posted 6 days ago at The Building Coder
Comment
3
Dear David,
Regarding access to parameters, please use RevitLookup and find out for yourself.
Certainly, you can use the Dynamic Model Update DMU in an add-in to update the value of a parameter based on changes in another one.
Cheers, Jeremy.
Add-In Wizards for Revit 2014
I updated my Visual Studio Revit add-in wizards and am taking the time to publish them today, which is Ascension Day and a holiday in Neuchâtel. That also gives me some extra time to prepare for the June 3-4 Tech Summit presentation of my cloud-based round-trip 2D Revit model editing project. ...
Source Code Formatting and Google Prettifier
Posted 7 days ago at The Building Coder
Comment
0
Dear Mayur,
You must have at least one type defined to add parameters, and that's it.
There is no reason why the number should grow beyond that.
Cheers, Jeremy.
Set Family Parameter Requires Type
I was running down to town to have tea with my friend Otto on Saturday morning, and happened to see this autumn leaf lying on the ground. Turned back, picked it up, and made a picture of it in the sunshine on Otto's veranda. It is completely unretouched, I promise! Back to the Revit API, he...
Add-In Wizards for Revit 2014
I updated my Visual Studio Revit add-in wizards and am taking the time to publish them today, which is Ascension Day and a holiday in Neuchâtel. That also gives me some extra time to prepare for the June 3-4 Tech... Continue reading
Posted May 9, 2013 at The Building Coder
Comment
2
Copy and Paste API Applications and Modeless Assertion
Here is a detailed description of one of the most exciting Revit 2014 API features that you should have heard about by now and promises numerous uses, prompted by a question from a developer on duplicating views from one document... Continue reading
Posted May 8, 2013 at The Building Coder
Comment
0
Dear Maja,
Yes, sure, it is. Take a look at the fourth bullet item here:
http://thebuildingcoder.typepad.com/blog/2013/03/revit-2014-api-and-room-plan-view-boundary-polygon-loops.html
Look at the presentation, recording and sample code provided there.
Look at the overview of the 'ViewSchedule changes' in the What's New in the Revit 2014 overview:
http://thebuildingcoder.typepad.com/blog/2013/04/whats-new-in-the-revit-2014-api.html
Look at the new ScheduleAutomaticFormatter, ScheduleCreation and ScheduleToHTML SDK samples.
Cheers, Jeremy.
The Schedule API and Access to Schedule Data
Somehow I seem to be spending the vast majority of my time just shovelling information back and forth, preparing for conferences and trainings and answering questions. It is always a great pleasure for me to actually get in a teeny weenie bit of programming in between, so I am happy that I manag...
Dear Anthony,
Have you taken a look at the Revit 2014 copy and paste API, and especially the new DuplicateViews SDK sample?
Cheers, Jeremy.
View Location on Sheet
I returned from a beautiful little mountain hike to the lake, pass and mountain of Piz Lunghin. One very special aspect of this place is that it is Europe's one and only triple watershed, with rivers flowing all the way to the North Sea, Black Sea and Mediterranean. Another special aspect ...
Dear David,
Thank you for your query, both via ADN and this comment.
It looks as if you are calling the Revit API directly from your modeless dialog that is running in another thread.
As you should know, actually, that was never supported.
Now, in Revit 2014, an exception is raised when you make such an attempt.
You are lucky that it worked so far without corrupting anything.
The solution is described in depth on The Building Coder: simply google for "modeless site:thebuildingcoder.typepad.com".
In short, make use of the Idling event, or implement an external event, which is a simplified wrapper around that, and base you application on the ModelessForm_ExternalEvent and ModelessForm_IdlingEvent SDK samples.
I hope this helps.
Cheers, Jeremy.
Revit Parent Window
Today is the last day of the Munich AEC DevLab. It has been a great week here, both meeting with developers to discuss their issues, find quite a few solutions, and connect again with many old friends here in the Munich Autodesk office. One issue that came up repeatedly was also a topic in the ...
Dear Phillip,
Thank you for the appreciation! An honour, coming from you :-)
Thank you also for the additional notes.
If you would like to share your RTCAUS material to a wider audience, I will happily take a look and see whether it can be published here as well.
Good luck with your presentations!
Cheers, Jeremy.
A Simpler Dockable Panel Sample
Here is a very nice little sample on using the new Revit 2014 dockable panels by Håkan Wikemar of AEC, Sweden. In Håkan's words, it is close to the DockableDialogs SDK sample but easier to follow. The DockableDialogs SDK sample demonstrates modeless dialog design, external events, and the new do...
A Simpler Dockable Panel Sample
Posted May 7, 2013 at The Building Coder
Comment
3
My Cloud-Based 2D Editor Implementation and Status
Posted May 6, 2013 at The Building Coder
Comment
0
Dear Chengrui Zhao,
Use the ItemFactoryBase.NewGroup method to create a group.
There is no way to load one directly.
In Revit 2014 you can use the new copy and paste API to bring one in from another document, though.
Cheers, Jeremy.
List Linked Files and TransmissionData
Today is the day of our Revit 2012 API webcast, in just six hours' time! In case you missed it so far, I assume that there is still time for a last minute registration. I mentioned that one of the new features in the Revit 2012 API is the access to linked file information and the Transmission...
More...
Subscribe to Jeremy Tammik’s Recent Activity



