Jump to content
Developer Wiki and Function Reference Links ×

link the PIO with Sheet Layer


Recommended Posts

Guest Frank Brault

The pio would have to be reset somehow, either manually or by some other explicit method, because the pio normally does not get an event when a sheet layer is re-named.

Edited by Frank Brault
Link to comment

Idea for resetting would be a menu command like:

PROCEDURE ResetPIOs;
VAR
Criteria :STRING;
PROCEDURE ResetMyPIOs(h :HANDLE);
BEGIN
ResetObject(h);
END;

BEGIN
Criteria:=ConCat('(INSYMBOL & INOBJECT  & (PON=',Chr(39),'Name Of My Custom PIO',Chr(39),'))');
ForEachObject(ResetMyPIOs, Criteria);
END;
RUN(ResetPIOs);

What's the way you can make a link from PIO to any object? My case - to Sheet Layer, other case might be to SL Viewport?

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...