Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
Cannot divide to zero error on REVIT to JSON exporter development
Cannot divide to zero error on REVIT to JSON exporter development
I am trying to write a custom exporter for Revit to JSON. I have seen a similar example code of Custom exporter for ADNMESH to JSON.
When I tested it for a sample RAC Basic file for Revit 2014, I got an error of Cannot Divide by zero. After debugging the code found that the Centroid and volume for few objects is 0 which is causing the error. Please can anyone let us know what is the solution for this issue? Is there any other example to do this?
We are using the code available at the following link: