How to make the property panel pop up automatically as soon as the model is loaded?

function to be realized: after the model is loaded on the page, the property panel needs to pop up automatically, how to achieve it?

May.08,2021

viewer.addEventListener(Autodesk.Viewing.GEOMETRY_LOADED_EVENT,(e) => {
    viewer.getPropertyPanel(true).setVisible(true);
})

excuse me, is this web?
your description is not very clear
if it is WEB, just use WINDOWS.ONLOAD

Menu