11.1. OpenUrlPane command

In order to open the UrlPane (to load 3DFind.it in Browser) there are different commands:[102]

  • Open the PSOL default Floating-Window-Browser (Currently CEF):

    Dim manager = ScriptingRoot.GetCommandManager()
    Dim command = manager.GetCommand(ScriptingRoot, "FloatingBrowserNavigate")
    command.SetParameter("Url", myUrl)
    command.Execute()

  • Open the CAD Embedded Browser

    This works only, if the CAD provides an Embedded Browser Window

    Dim manager = ScriptingRoot.GetCommandManager()
    Dim command = manager.GetCommand(ScriptingRoot, "BrowserNavigate")
    command.SetParameter("Url", myUrl)
    command.Execute()

  • Open the Windows System Browser

    Dim manager = ScriptingRoot.GetCommandManager()
    Dim command = manager.GetCommand(ScriptingRoot, "ExternalBrowserNavigate")
    command.SetParameter("Url", myUrl)
    command.Execute()




[102] #126365