In the innermost loop (next to where it assigns the highest variable), you could use something like: highestCut=abGetHighestLayer(?cv cv ?function "cut") || "" (add highestCut into the local variables in the let) and then update the fprintf statement to print out the value of highestCut too. I added the || "" so that it returned a blank string if there's no cut layers in the cellView. Andrew.
↧