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

Commands

  • ! (not, exclamation) - Script operator
  • != (not equal) - Script operator
  • " (quote character) - Script operator
  • # (comment, sharp, hashtag, pound) - Script operator
  • % (space in variable name, percent) - Script command
  • & (and) - Script operator
  • ' (single quote) - Script operator
  • * (multiplication, asterisk) - Script operator
  • + (plus) - Script operator
  • - (negative, minus) - Script operator
  • . (dataset dot) - Script operator
  • / (division, forward slash) - Script operator
  • : (array operator, colon) - Script command
  • < (less than) - Script operator
  • <= (less than or equal) - Script operator
  • = (equal) - Script command
  • == (equal) - Script operator
  • > (greater than) - Script operator
  • >= (greater than or equal) - Script operator
  • ? (print, display) - Script operator
  • abs - Script command
  • Accessing and assigning matrix elements
  • acos - Script command
  • add2dpoly - Script command
  • add2drect - Script command
  • add2visualizer - Script command
  • addabsorbing - Script command
  • addanalysisgroup - Script command
  • addanalysisprop - Script command
  • addanalysisresult - Script command
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ›
  • »

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