Calling Revit API from DesignScript

Am I right in thinking that it is not possible to make calls to Revit API from DesignScript?

for example view.HideElements(elements)

I can’t find any documentation on it anywhere.