Jump to content
Developer Wiki and Function Reference Links ×

Calling Handle from an Array?


twk

Recommended Posts

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...