twk Posted July 8, 2013 Share Posted July 8, 2013 FOR i:=1 TO WbDupNum-1 DO BEGIN DSelectAll; Symbol('01BevBack',130*i,20,0); HMove(LNewObj, PCavBotOff,0); SymboltoGroup(LNewObj,2); UnGroup; h2LastWB := LNewObj; {Handle to Last Weatherboard} SetFPat(h2LastWB, 4); END; Above is a snippet from a PIO I'm writing.. I'm trying to set the last object in that array to a handle so I can use it to run a clipsurface command. Unfortunately the LNewObj doesnt seem to be calling the last polygon created in this array. Anyone know why? Thanks Tui Quote Link to comment
twk Posted July 10, 2013 Author Share Posted July 10, 2013 Dont worry.. It was the -1 in the beginning.. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.