Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot divide to zero error on REVIT to JSON exporter development

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
306 Views, 0 Replies

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:

http://thebuildingcoder.typepad.com/blog/2013/07/adn-mesh-data-custom-exporter-to-json.html

Also, I have attached the error.

Thanks in advance

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report