Successfully completed this year’s conference tour, both Autodesk University and DevDays!
This is just a little note to point to some useful information that is available on issues that may occur with Revit add-ins running on the 64 bit platform.
In general, every Revit application is compiled to target any CPU and should thus be isolated from the underlying operating system by the .NET framework, enabling it to run unmodified on 32 and 64 bits.
However, some issues may still occur, and they have been analysed and discussed by
Rod Howarth
on his
blog
and in an AUGI
discussion thread.
64 bit Revit API Issues
Comments
2 responses to “64 bit Revit API Issues”
-
Hi Jeremy,
I need to install Revit 32 on a 64 bit machine (this is why: http://revit-programmer.blogspot.com/2009/06/debugging-with-revit-64-bit.html ) Do you know of a way of doing this?
You really should take a proper holiday one day. i.e. leave the laptop at home!
thanks!
Ed -
Dear Ed,
Thank you for the good recommendation! I actually do take time off without the laptop now and then as well.
I am not aware of any way to install 32 bit Revit 2010 on a 64 bit machine, unfortunately … unless you are running a 32 bit OS on it, of course :-)
Even more unfortunately, even if you could, this would possibly not help you much with the issue you mention in your blog post, because the Visual Studio ‘Edit and Continue’ debugging functionality which worked fine in Revit 2009 add-ins does currently not do so in 2010. Very sorry for the bad news. This issue is being looked at carefully by the development team and we are aware of its importance for developers.
There only reliable work-around I can currently suggest is to code and debug in VSTA, which allows reedit and reexecute of code without restarting, then port to your external command or other API application.
Another partial work-around that I currently use is to run Revit inside of the Visual Studio debugger with my project opened, like normal. If I really want to edit some of the source files and continue debugging at the same time, I open the same project once again in another instance of Visual Studio.
I hope this helps.
Cheers, Jeremy.

Leave a Reply