Page 1 of 1

Unable to use plugin anymore

Posted: Tue Mar 26, 2013 10:13 pm
by thaBadfish
After having some great success today using the Revit plugin, I have reached an impasse - see error screenshot linked below

https://skydrive.live.com/redir?resid=2 ... ifSsdwMFBo

It started when I was playing with some grass settings (for like the 5th time, and each previous time there were no issues) and Revit no longer allowed me to open the Maxwell Grass menu. I would receive that error every time.

The same error will pop up if I try and export MXS and if I try and Render using the button in Revit. Basically, I can only use the MXS files I exported earlier today, otherwise this error keeps preventing me from rendering.

I was able to workaround the error by reverting to one of the incremental saves, this post isn't really searching for a solution, but rather bringing to light a weird error which could cause .rvt files to become unusable with Maxwell Render.

Re: Unable to use plugin anymore

Posted: Tue Mar 26, 2013 10:52 pm
by raduc
Yes, this issue comes not because of the grass settings themselves, but because we have to export the scene as a fbx first due to a number of reasons then we take each object exported in the fbx and query the Revit API for the materials. However, there are some items in Revit that we cannot link to the API because there's no way for us to get their ID, the most common cause are ballusters, but apparently there might be some other objects as well. The fact that we cannot get the ID caused the crash in the code that generates and exports grass modifiers.

The fix in the 2.7.13 version should cover this though, can you send me a sample scene that causes the crash at radu@griffinlair.com so I can see if there's something we missed ?

Re: Unable to use plugin anymore

Posted: Wed Mar 27, 2013 6:28 pm
by raduc
Thanks for the scene, there was indeed another error that should only affect projects used with older versions of the plugin. We fixed that and it will be available in the next build,