Scott M. answered 11/20/19
REVIT Expert, with 30,000 hours accumulated. 30 years' experience.
Not quite sure what you would be attempting to achieve by going through the API, but there is a myriad of automated processes that can be generated within Revit's user environment; is there something specific you want to try? I have made moving trains in Revit.