How to get full topomesh with Custom Exporter in case of collision?

How to get full topomesh with Custom Exporter in case of collision?

Anonymous
Not applicable
477 Views
2 Replies
Message 1 of 3

How to get full topomesh with Custom Exporter in case of collision?

Anonymous
Not applicable

I am trying to export some model using Custom Exporter, it works great. But When i export some collision models, I found polymesh is not full , some model's collision part is gone.

 

I realized that Custom Exporter is working just like rendering, so the behavior should be correct. But i really have to make sure that the model is precise, so can I handle this situation with Custom exporter?

0 Likes
Accepted solutions (1)
478 Views
2 Replies
Replies (2)
Message 2 of 3

arnostlobel
Alumni
Alumni
Accepted solution
Hello Leo Juan:

That is correct; Custom exporter processes the model as if it were being rendered, thus the result is really "what you'd see once rendered is what you get." That has certainly been the case with R2015. In the latest version R2016, however, we have added a new interface: IModelExportContext, which is now available together with the original IPhotoRenderContext. The new context makes Revit to process the export rather differently. For example, model lines and text elements will also be sent to the output, plus there are differences in how certain elements are sent to the context. (And some elements are not exported at all, e.g. lights.). Now, I am not actually sure what geometries are sent for elements that clash with each other; I'd expect the geometries will reflect some resolved and valid state of the model. However, I think it is worth giving it a try. Whatever you find I'd appreciate if you could share your results with us.

Thank you
Arnošt Löbel
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks , I will try it later!

0 Likes