How to zoom on component

Is it possible to zoom to a specific component from the .NET API?

I want a behaviour similar to the ‘fill’, but not he entire world, but a single (or maybe later multiple) components.
I looked at the documentation but was not able to find a good method.

Hy,

ICamera.ChangeFocus(IEnumerable)

Regards
Feature

1 Like

Another alternative is to execute the “FillSelected” action item.

var fillSelectedActionItem = IoC.GetAll<IActionItem>().FirstOrDefault(a => a.Id == "FillSelected");
fillSelectedActionItem.Execute();
1 Like