Raghu, Well, if something gives an error, it's rather helpful to know what the error actually was - otherwise I have no idea what you're doing wrong - that code should work. If the terminal was incorrectly named, it would return nil rather than an error. If you don't have a variable called instID, then that might give an error but that would be pretty clear then. The code using geGetEditCellView() will look for a pin called "s" in the current cellView - and I assume the current cellView is the containing layout and so is unlikely to have a terminal called "s" - you're looking for a terminal called "s" or "S" on one of the instances within the design. So please give a picture with details of what you tried and what the error was. Otherwise I'm having to guess in the dark. Regards, Andrew.
↧