How to set ray number of a SourceEllipse


How to set ray number of a SourceEllipse

Poll
How to set ray number of a SourceEllipse

100% - 1 vote ZOS-API C# interface
100% 1 vote
Member Votes: 1, Guest Votes: 0. You don't have permission to vote within this poll.
Author
Message
Shima
Shima
Forum Newbie
Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)

Group: Forum Members
Posts: 3, Visits: 66
How can I change the value of analysis rays of SourceEllipse on C# program using ZOS-API?
for example, following program does not work.

INCERow Object_n = NCE.GetObjectAt(ObjectNumber: obj_idx);
IEditorCell oCell = Object_n.GetObjectCell(Par2);
oCell.DoubleValue = 100000;

At the obj_idx of NCEditor, SourceEllipse is defined.
Probably, I have to use different interface and method to change the number of analysis rays of a light source...
What is the interface and method to change the value?
Shima
Shima
Forum Newbie
Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)Forum Newbie (17 reputation)

Group: Forum Members
Posts: 3, Visits: 66
Toru - Thursday, May 25, 2017 1:18 AM
How can I change the value of analysis rays of SourceEllipse on C# program using ZOS-API?
for example, following program does not work.

INCERow Object_n = NCE.GetObjectAt(ObjectNumber: obj_idx);
IEditorCell oCell = Object_n.GetObjectCell(Par2);
oCell.DoubleValue = 100000;

At the obj_idx of NCEditor, SourceEllipse is defined.
Probably, I have to use different interface and method to change the number of analysis rays of a light source...
What is the interface and method to change the value?
I should have set followings:
oCell.Value = 100000.ToString();

GO


Similar Topics


Login
Existing Account
Email Address:


Password:


Select a Forum....




















































Zemax Users Forum


Search