简体   繁体   中英

Revit API SharpDeveloper

When Im writing a plugin in Visual studio, its very nice to attach the plug in to Revit and get feedback at the time my plug in fails. I can inspect all the variables etc.. and get the error is relatively informative.

When Im writing a macro with sharp develop - the error message thrown in Revit is relatively vague. I know I can step through a macro - but this can be cumbersome when going through a foreach loop of all the views. Is there any way to get back into sharp development at the point of failure so I can inspect whats going on with the code?

Can't you set a conditional breakpoint in SharpDevelop, like in the Visual Studio debugger? Then you could loop through hundreds of views and break at one specific one by matching the name or element id or some other specific identifier...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM