Fit View to 2 Features

Hy,

how to fit the view to 2 Features?

Thx & Regards
Feature

If they are selected, call the Fill Selected command. Otherwise, you could get the center of each feature’s bound box and then adjust the camera accordingly.