Skip to main content

Speos Labs Automation 2025 R1

OpenFile

Last update: 17.07.2025

Description

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

Syntax

object.OpenFile(BSTR bstrFileName) As Short

  • object: BSDF - BRDF Anisotropic Viewer, Eulumdat Viewer, IES Viewer, User Material Editor, Virtual Photometric Lab or Virtual Human Vision Lab object

  • bstrFileName: filename string including path (input)

Connect with Ansys