Ansys Optics Help Center home page
Products
  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help
Solutions
  • Lumerical
  • Zemax
  • Speos
Learn
  • Ansys Innovation Courses (AIC)
  • Ansys Learning Hub (ALH)
  • Webinars
  • On-Demand Webinars
  • White Papers
Get Help
  • Welcome Guide
  • Ansys Learning Forum (ALF)
  • Lumerical Ideas Exchange (IX)
  • Ansys Support (ACSS)
  • How to Register for Support
Evaluate for Free
  • Lumerical
  • Zemax
  • Speos
  1. Ansys Optics
  2. Scripting Language
  3. Commands

TOP

loadgdsfile - Script command

FDTD MODE DGTD CHARGE HEAT FEEM

Loads a gds file to a layer builder object. The command only functions properly when a layer builder object is included in the simulation and is selected.

Syntax

Description

loadgdsfile("gds_example.gds");

Loads the gds file named "gds_example" to the layer builder object.

Example

Please refer this example: Import and export - GDSII

See Also

addlayerbuilder, getlayerlist, setlayer, addlayer, getcelllist, getlayerlist, setlayer

Associated files

Related articles

  • Importing and exporting GDSII files
  • Layer builder - Simulation object
  • loadprocessfile - Script command
  • addlayerbuilder - Script command
  • setlayer - Script command

Products

  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help

Solutions

  • Lumerical
  • Zemax
  • Speos

Learn

  • Ansys Innovation Courses
  • Ansys Learning Hub
  • Webinars
  • On-Demand Webinars
  • White Papers

Get Help

  • Ansys Learning Forum
  • Lumerical Ideas Exchange
  • Ansys Support
  • How to Register for Support

Evaluate for Free

  • Lumerical
  • Zemax
  • Speos
Hear the Latest from Ansys

Copyright 2025 Ansys Canada Ltd.


Ansys
  • Terms of Service
  • Cookie Policy
  • Privacy Policy
  • Legal Notices