HI.
I have this code that works perfectly when manually run through an external app or command. What is does is checks the parameters of an object and does some calculations on them and then writes revised Parameter values to that object if they require.
I want to automatically set this to check when a view is changed in revit using the View Actiavted event handler. I have it all set up using the exact same code but it spits out an error as in the atatched Pic.
Can anyone hepl me or suggest what I need to do?
Cheers
Phillip