We create a SKILL script to generate a lot of vias with viaGenerateViasAtPoint, everything is working fine but it takes a lot of time (more than 500 different points can take up to 20 minutes).
Doing a quick search in this forum we found this thead form a couple of month ago with a similar problem:
They said that the issue is related to checkout and check-in of license each time this functions is executed, so when executed in loop for putting vias, it takes time. It takes check-out/in 12 tokens each time and thus takes time.
Because of that we suspect is this check-out/in of tokens that make the delay. We used to have a very similar problem with viaGenerateViasFromShapes but it was solved by using a list of shapes as a parameter in stead of a loop but viaGenerateViasAtPoint only takes a single point in stead of a list of points.
Replacing this:
foreach( point ptsList
viaGenerateViasAtPoint(cvID point myViaOptions)
)
With this:
viaGenerateViasAtPoint(cvID ptsList myViaOptions)
Gives an "Invalid point" error.
Is there a workaround? Are we making a mistake in the usage of viaGenerateViasAtPoint? Maybe there is another similar Via Function to use instead we are not aware of?
Thanks