Skip to main content
Solved

ZPL macro: Where can I find the list of "NSC_" for all the object types?

  • November 5, 2021
  • 4 replies
  • 275 views

Hello Community,

 

I am working on making a macro and would like to know how I can set the object type, for example, Source Two Angle.

There is only one example that Standard Lens to be described as “NSC_SLEN” in the ZEMAX Manual and I cannot find the information for other objects.

Your support would be greatly appreciated.

Thank you.

 

Kind  regards,

Ryo

Best answer by Allie

Thanks David! A full list is also available in the Help System file “The Programming Tab...About the ZPL...KEYWORDS (about the zpl)...SETNSCPROPERTY (keywords)” as shown below. 

 

 

View original
Did this topic help you find an answer to your question?

4 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1113 replies
  • November 5, 2021

Hi Ryo,

 

The description of SETNSCPROPERTY says:

The names for each object type are listed in the Prescription Report for each object type in the NSC editor

If you put a Source Two Angle in a Non-Sequential System, and open Analyze..Prescription Data and scroll inside that file to your Source Two Angle object you can find its keyword: NSC_SR2A.

Let me know if that helps.

Take care,

 

David


Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 343 replies
  • Answer
  • November 5, 2021

Thanks David! A full list is also available in the Help System file “The Programming Tab...About the ZPL...KEYWORDS (about the zpl)...SETNSCPROPERTY (keywords)” as shown below. 

 

 


David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1113 replies
  • November 5, 2021

Thanks Allie, I didn’t scroll down enough!


  • Author
  • Single Emitter
  • 1 reply
  • November 5, 2021

Hello David and Allie,

 

Thank you very much for your responses and they helped me a lot to save time!

 

b.r.

Ryo


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings