xzos / PyZDDE

Zemax/ OpticStudio Extension using Python
MIT License
159 stars 67 forks source link

Re: zSetMulticon support string values #73

Open danieldmulkey opened 7 years ago

danieldmulkey commented 7 years ago

Hi,

The issue I had wasn't in setting operand type, I wasn't able to set a string value for an operand. For example, I could set 'THIC' to 5 and 3 but not 'GLSS' to 'N-BK7' and 'SF-5'. It gave ValueError: Unknown format code 'g' for object of type 'str' from line 5254 of zdde.py under zSetMulticon().

Cheers,

indranilsinharoy commented 7 years ago

Hi @danieldmulkey, thanks for the clarification. I'll check it out soon.