Hello everyone, I wanted to write a SKILL code that generates automatically your pins depending on the selected nets and the place where you clicked. However, the latter one does not work and the pins get generated somewhere else in the schematic... Underneath you can find the important part of my code where the problem is situated: procedure(schAutoCreatePins(ok theListBox) let( (xcoord ycoord inputCVId) xcoord = xCoord(hiGetCommandPoint()) ycoord = yCoord(hiGetCommandPoint()) inputCVId = dbOpenCellViewByType("basic" "iopin" "symbol" "" 'r) if( ok then printf("Creation of pins: \n") foreach(choice theListBox->value sprintf(namePin "%s" choice) schCreatePin(geGetEditCellView() inputCVId namePin "inputOutput" nil xcoord:ycoord "R0") ycoord = ycoord + 0.25 printf("Pin %s\n" namePin) ) ; foreach else printf("Cancelled automated pins creation.") ) ; if ) ) ; procedure Kind Regards, Nicolas
↧