tag:blogger.com,1999:blog-23382408.post8624833439233065044..comments2023-07-21T15:51:24.097-04:00Comments on CAD Application Development: What’s New in the Revit 2010 API: Element EnhancementsMatt Masonhttp://www.blogger.com/profile/13505746985622750229noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-23382408.post-12117431382798169372009-04-21T08:57:00.000-04:002009-04-21T08:57:00.000-04:00Alvaro,
Are you trying to get the list of materia...Alvaro,<br /><br />Are you trying to get the list of materials for scheduling/bill-of-material info or graphical presentation?<br /><br />As of 2010, there are now different approaches for these.<br /><br />For "scheduling", you look at each element and ask for its materials and material quantities.<br /><br />If you need graphical presentation, you need to go in an look at each face on every solid to determine whether the material is derived from:<br /><br />- Something specifically assigned to the face.<br />- An element with "layers" such as a wall or floor.<br />- The category of the element<br /><br />The geometric approach is not as comprehensive as the "scheduling" approach - because it does not deal with Split Faces, and I'm not sure that it would be accurate for all cases.<br /><br />Good Luck,<br />MattMatt Masonhttps://www.blogger.com/profile/13505746985622750229noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-66700383934115587542009-04-19T15:37:00.000-04:002009-04-19T15:37:00.000-04:00Hi Matt, I am a developer of some aplications of C...Hi Matt, I am a developer of some aplications of C# using the Api of Revit 2009. I am actually developing an application to obtain a list of materials of the objets that I have already drawn in the model. I have searched for some information about this item, and I have seen your article: http://cadappdev.blogspot.com/2009/02/whats-new-in-revit-2010-api-element_21.html, where you talk about some improvements for API 2010, like the facilities in obtaining the materials of the elements. I have seen you have much more experience using Revit, so, I would be very pleased if you could help me with this problem about how to obtait that list of materials. Thank you so much for your help. All the best, Alvaro PuertasAlvaro Puertashttps://www.blogger.com/profile/13968883430588315483noreply@blogger.com