Skip to main content
Solved

zemax的面有没有锚点功能

  • October 28, 2022
  • 3 replies
  • 105 views

zemax有没有对序列的面和非序列的物体有没有唯一索引。

 

目前只有面号,物体号做索引,这个不唯一,当用户删除该面前面一个面号时,这个索引就不正确了。

 

zpl api都有这个问题

Best answer by yuan.chen

要不,用多重结构以及对应的comment去实现?这样的话可以把面索引跟其他的内容进行分离

3 replies

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • November 8, 2022

您好,暂时没有这个功能去链接索引。

有个办法是用ZPL或者API生成comment,比如说L1,L2这种(排除虚拟表面的方法可以参考macro里面的Element Data Listing)。

附上ZPL找特定comment表面的function。

How to find the surface with specific comment in ZPL macro | Zemax Community


  • Author
  • Single Emitter
  • November 8, 2022

注释一般有其他内容,定位的多了,就显得比较乱


yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • Answer
  • November 8, 2022

要不,用多重结构以及对应的comment去实现?这样的话可以把面索引跟其他的内容进行分离