Posted on 12. June 2009

Debugging Commands in Revit 2010

Before I cover debugging… It looks like the classic UI is still with us. While this is encouraging as a short term solution and not totally surprising, I can’t see it being in Revit 2011 or above. With the API they’ll have to put back the toolbar code. Which means 3rd party developers will have to accommodate both solutions (ribbons, toolbars). Bit of a mess but then again so is the ribbon and I’m sure there will be many happy customers if they give us a choice until the messribbon is fixed.

Debugging in Revit 2010

I noticed from Ed’s post that he’s having problems debugging in 2010.More...

Posted on 10. February 2009

Sharpen up your code

I’ve been playing a little with VSTA recently and I’ve got to say I didn’t realise how much I rely on Resharper. Seriously, if you spend any decent amount of time coding in a week then not having Resharper in your toolkit just wouldn’t make sense AFAIC. It means a minimum of Visual Studio Standard but believe me it’s worth it. No VS addin support in VSTA is major reason I’m using VSTA as little as possible. To the point I code in VS and copy/paste to the VSTA editor :-)

And while we’re talking VSTA… The build-run-build cycle in VSTA is possible because Revit’s APIObject inherits MarshalByRefObject allowing a proxy of the RevitAPI to be marshalled across AppDomains. It would be SO nice if this was the same in the standard API. It would simplify TDD with Revit by an order of magnitude . PLEASE!!