I am busy with Autodesk University and developer conference preparations. The Mac is happily chugging along.
In spite of these busy times, Emile Kfouri and John Kennedy just launched a new blog on the topic of Building Performance Analysis that will probably be of great interest to many of us Revit API aficionados.
Meanwhile, here is an API issue that raises a couple of new points:
Question: I am triangulating Revit geometry face objects to get the triangular meshes. When I first tried this for each face of a standard UB-Universal beam I didn't get the root face (the curved face joining the flange and the web). I found that setting the Options detail level to Fine sorted that issue.
Now I wonder:
Answer: The level of detail argument to the triangulation has to do with the level of precision of the triangulation. Lower levels of detail will result in a coarser tessellation with less triangles but maybe less accuracy. Higher levels of detail will result in a more accurate but also more populous tessellation (with more triangles as a result). Of course this applies only to faces with curvature – planes should be well represented at any level.
But this does not answer the question asked – the face comes from Element.Geometry, and there are different sets of faces typically for DetailLevels Coarse, Medium and Fine. The Fine geometry will likely have more details such as the curved face mentioned, where the Medium geometry won't. So it has nothing to do with Triangulate(LOD), the inputs are different from the different geometry so you get different output.
To address your other questions:
Response: Thank you for finding out. I should have searched the 2013 Developer's Guide to find the SolidUtils class myself. I generally use the 2012 PDF guide since it is easier to read/use than the 2013 WikiHelp.
Answer: I understand about the PDF.
However, the Wikihelp has the advantage that Google will return hits in it for you.
I generally use the Revit API help file RevitAPI.chm, and especially I often consult the What's New section. It would actually be quite useful to have a collection of each release's What's New section. Maybe I should write a blog post on that.
From then on, all my further search is online. Obviously, I start with the blog first. That is what it is there for: my own personal knowledge base :-)