Skip to main content

Speos Labs automation APIs 2024 R1

OpenFile

Last update: 17.07.2025

Description

Opens a file. Returns 1 if the call has succeeded, 0 otherwise.

Syntax

object.OpenFile(LPCTSTR strFileName) As Short

  • object: Ray File Editor object

  • strFileName: filename string including path (input)

Connect with Ansys