Best method for retrieving sheet number from schedule?

Element.OwnerView would work with a ScheduleSheetInstance, not a Schedule View, since the schedule view itself is not technically the element on the sheet.

You would have to

  1. Collect All Elements of Type > Schedule Sheet Instances
  2. Get ScheduleId property with Python (or Element.TryGetPropertyValue from Wombat Dynamo)
  3. Get Schedule Element by ID from the ScheduleId property to filter schedule sheet instances by the schedule view you want
  4. Get Owner View from filtered schedule sheet instances
4 Likes