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
Dear Davex, Thank you for the confirmation and congratulations on figuring it out. Normally, the Revit SDK samples provide an example of using these kind of methods, so that is always one of the first places one should look when in doubt. Unfortunately, this one is an exception. Cheers, Jeremy.
1 reply
Dear Olga, I heard back from the development team. They say: We talked it over and couldn't find a valid use of closed NURBS curves in Revit proper. The field is present, but never used. In fact, it would have been better not to expose it to the API in its current state. We introduced the method NurbSpline.Create(controlPnts, weights) without the extra options because the rest of the parameters are never really varied in the Revit implementation. That being said, the error reported is explaining what the method expects, specifically: “The first degree+1 knots should be identical, as should the last degree+1 knots” In general, the specified knot sequence doesn't make sense to us. Assuming our closed splines are defined in the same way as open ones, we'd expect something like 0,0,0, [five evenly spaced numbers between 0 and 1], 1, 1, 1. I hope this clarifies. Cheers, Jeremy.
Toggle Commented 8 hours ago on Curves at The Building Coder
1 reply
Image
A long, long time ago, Davex raised a ve... Continue reading
Posted 11 hours ago at The Building Coder
Dear Olga, Sorry this is taking so long. I am discussing the issue with the development team. Please hold on. Cheers, Jeremy.
Toggle Commented 14 hours ago on Curves at The Building Coder
1 reply
Dear Harald, I am discussing the issue with the development team. Please hold on. Cheers, Jeremy.
Toggle Commented 14 hours ago on Point Cloud Snap and Freeze at The Building Coder
1 reply
The Revit SDK available from the Revit Developer Centre has been updated for Revit 2015 R2 and UR4, aka Revit 2015 Release 2 and Revit 2015 Update Release 4. Here are direct links to download the updated installation packages: Revit... Continue reading
Posted yesterday at The Building Coder
Dear Bcb, When an object is imported from IFC, it is impossible to know exactly what insertion point it is supposed to have. The software could possible make a more intelligent guess than (0,0,0), of course. For instance, it could pick the centroid of the union of all the object's solids, assuming that they all have the same specific weight. However, whatever point it picks, it would still be a guess, and therefore (0,0,0) is considered as good as any. Do you understand? The location point of a family is simply the origin of the defining family project world coordinate system, which turns into the local coordinate system when an instance of the family is placed into the project document. It could be defined as the centroid, but it could also be located somewhere completely different. I would suggest playing around a bit in the family editor, manually, through the user interface, and exploring the behaviour of the resulting family instances when you place them in a project. Then, very quickly, all will become clear. I hope this helps. Cheers, Jeremy.
Toggle Commented yesterday on Transform an Element at The Building Coder
1 reply
Dear David, Sorry to hear that you are not finding the samples you need. This is indeed not the perfect place to mention this, but perfectly ok. The best place to ask for more appropriate samples is in the dedicated Autodesk View and Data API discussion forum: Autodesk Community - Web Services API - View and Data API discussion forum http://forums.autodesk.com http://forums.autodesk.com/t5/Web-Services-API/ct-p/94 http://forums.autodesk.com/t5/View-and-Data-API/bd-p/95 I would suggest submitting this comment there as well and see what the team has to say. I am pretty sure that all you need is already available somewhere. If there is anything missing that you need, we will certainly be glad to provide it! Cheers, Jeremy.
1 reply
Dear Matthias, Very sorry to hear that it is causing problems for you. On the other hand, it is good news that your programmers are so well paid, and that you can afford such qualified labour! Congratulations on that! Cheers, Jeremy.
1 reply
Dear Russ, The same principles apply. One would obviously have to replace the call to Util.IsHorizontal by something very slightly more sophisticated, though. For instance, assuming that the ramp is more wide and long than high, one could first select the two faces with the largest areas, hoping that they would be the top and bottom ones, and then pick the lower of the two. Another approach would be to pick the two faces whose normal vectors have the smallest horizontal components, i.e. minimal X and Y components, or better still minimal x*x+y*y, and then again take the lower of those two. One could also go for the top face instead of the bottom one, if that is more suitable. Isn't freedom a wonderful thing? Cheers, Jeremy.
Toggle Commented yesterday on Slab Boundary Revisited at The Building Coder
1 reply
Image
We completed the Berlin hackathon last weekend, and many other noteworthy and exciting things are going on, concerning the Revit API, the 3D web viewers, web services and more: Berlin hackathon projects and winners Avoid unnecessary unit conversion 3D viewer... Continue reading
Posted 2 days ago at The Building Coder
Dear Debdutta, I am not an expert on schedules, but I would imagine that if all else fails, you can simply create a shared parameter for all pipes and populate that on each pipe element programmatically with the pipe length obtained from the distance between its start and end point. There are very probably other and better ways as well, though. Cheers, Jeremy.
Toggle Commented 3 days ago on System Family Creation at The Building Coder
1 reply
I am still at the Berlin hackathon, working with the MovieMemory team... In between other tasks, let me mention the interesting discussion and solution by Revitalizer on the Revit API discussion forum to check for attached detail groups: Question: Can... Continue reading
Posted 5 days ago at The Building Coder
Image
I arrived safe and sound for the Berlin hackathon. Topics for today, three on the Revit API and three not: Traffic jams and too many cars Intro to functional programming in JavaScript Aligning multiple elements Render to PDF Displaying transient... Continue reading
Posted 6 days ago at The Building Coder
Image
Here are some notes on Autodesk Open Source involvement from AU Germany, the Japan hackathon, and two other nice topics for today: Autodesk University Germany Japanese View and Data API hackathon projects CAD Term Translation Cool presentation gimmick Autodesk University... Continue reading
Posted 7 days ago at The Building Coder
Dear Arnaud, I would say no. I would suggest to look for that information on the RevitPythonShell home page: http://lmgtfy.com/?q=RevitPythonShell The top google hit is the project home page: https://code.google.com/p/revitpythonshell I would assume that all you need to do is to run the installer: http://sustain.arch.ethz.ch/DPV/Setup_RevitPythonShell_2015.exe If that does not work and you do not find it an answer to your question there, please post it there as well, so that others with the same issue will easily see both your question and the answer. Thank you! Cheers, Jeremy.
1 reply
Dear Jean-Marc, Congratulations on getting it to work! Yes, that would be cool. Unfortunately, this functionality is currently not accessible. We have an open wish list item for this access... Cheers, Jeremy.
1 reply
Dear Luis, Yes, "it could". You can easily translate it for yourself. I blogged repeatedly about how to do so. Cheers, Jeremy.
Toggle Commented Oct 22, 2014 on Ribbon Embed Image at The Building Coder
1 reply
Dear Paolo, Thank you for your appreciation! My pleasure! Cheers, Jeremy.
1 reply
:-)
Toggle Commented Oct 22, 2014 on Export Data to XML at The Building Coder
1 reply
I had two more interesting email conversations on Revit API questions, on add-ins in a worksharing environment and duplicating element geometry for detailing and fabrication. Actually, both of these topics have been discussed in the past, so a lot of... Continue reading
Posted Oct 22, 2014 at The Building Coder
Here is a summary of my notes from three presentations on the Autodesk View and Data API given by Cyrille Fauvel and Philippe Leefsma, in the two introductory workshops at HackZurich on Friday evening, October 10 and at HackaBxl in... Continue reading
Posted Oct 21, 2014 at The Building Coder
Image
Three topics for today: Brussels hackathon and PoiPointer View depth override Destination BIM contest Brussels Hackathon and PoiPointer I returned from the Hackathon Open Data Brussels that I mentioned last Friday, promoting the use of the huge amounts of open... Continue reading
Posted Oct 20, 2014 at The Building Coder
Dear Frank, There are about umpteen zillion .NET XML libraries you can use, plus this functionality is provided by the standard .NET framework: http://lmgtfy.com/?q=.NET+XML+library Cheers, Jeremy.
Toggle Commented Oct 20, 2014 on Export Data to XML at The Building Coder
1 reply
I received an email asking whether it is possible to determine the Revit MEP pipe element wall thickness, and also about the API access to voids in the family editor. Before getting to that, let me mention that I am... Continue reading
Posted Oct 17, 2014 at The Building Coder