Skip to main content

Speos client APIs 2026 R1 SP03

ComponentImport – Creating a lightBox import

Last update: 29.07.2026

The following script sample shows you an example on how to create a Light Box Import.

lightBoxImport = SpeosSim.ComponentImport.Create()
lightBoxImport.Name = "Created component import"

lightBoxImport.OriginPoint.Set(GetRootPart().Curves[0])
lightBoxImport.XDirection.Set(GetRootPart().Curves[1])
lightBoxImport.YDirection.Set(GetRootPart().Curves[2])
lightBoxImport.ImportFile = lightBoxExportPath

lightBoxImport.Compute()

Connect with Ansys