Get ViewSheet from a given View
Just a snippet get_sheet_from_view(view) that will return you ViewSheet for a given View with the help of FilteredElementCollector and FilterStringRule.
RevitAPI tool: View name to SheetNumber
Here is a snippet of how to rename SheetNumber to be the same as placed view name.
Update ProjectBrowser with RevitAPI
Have you ever changed SheetNumber with RevitAPI to find out that nothing happens, at least visually? Revit does not update ProjectBrowser with SheetNumber change. I will show you how.
Match View's cropbox shape.
Snippet: Function to match source view's cropbox shape to another view.
RevitAPI: Get Cropbox id with Python.
A snippet of a function to get crop box id from a given view.