Can anybody help?
I need to launch a Revit template project from a server and access a macro that I'm constructing inside that project. My problem is not launching the project file...I'm having trouble accessing the macro module files inside of the project. I have the macro .dll imported into my VB.NET project, but can't seem to find a constructor to launch the macro once the project is open.
Does this make any sense? Maybe what I'm trying to do is easy...I dunno. But I notice that there is NO documentation on the Revit VSTA classes.
Thanks in advance for all of your time!
N
Dear mandonate,
You cannot simply launch your own macro in Revit. Your application never drives rRevit, Revit drives it.
What you can do, however, it to set up a system of event handlers so that your code executes automatically on document open.
Best regards,
Jeremy
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com