Skip to main content

Speos Core methods 2025 R1

ShowWindow

Last update: 17.07.2025

Description

This function allows you to display the Speos Core window.

Syntax

object.ShowWindow(Int nShowWindow) As Int

  • object: SPEOSCore
  • Int nShowWindow: 1 to show the window, 0 to hide it
  • Int return: returns 0 if succeeded

Example

from System import Type, Activator

#Creates SPEOSCore COM server
type = Type.GetTypeFromProgID("SV5.document")
SPEOSCore = Activator.CreateInstance(type)

#Shows SPEOSCore interface
retval = SPEOSCore.ShowWindow(1)

Connect with Ansys