Hi Andrew, Sorry, I should have elaborated the example code a bit more. This is what I meant: ;;; first find out whether or not the lpp is used in the layout... when( member( list( layerName purpose ) cv~>lpps ) ;;; Now go through all shapes that are labels and are in the right layer and purpose... foreach( shape setof(shapes cv~>shapes and( shapes~>objType == "label" shapes~>layerName == layerName shapes~>purpose == purpose ) ;;; Adjust the height... shape~>height = newHeight ) ;;; end of foreach shape ) ;;; end of when Or is your solution quicker or "easier on the memory" than my solution? Thanks. Sjoerd ps: haven't tested the code, more an indication of how I would do it...
↧