Jump to content
Developer Wiki and Function Reference Links ×

Plug-in Objects, Create a sub-menu in OIP?


MaxStudio

Recommended Posts

This is what i found:

PROCEDURE SetParameterVisibility(inPlugin :HANDLE; inParameterName :STRING; inSetVisible :BOOLEAN);

I would assume something like this would work:

IF checkbox {boolean} THEN BEGIN

SetParameterVisibility(inPlugin, PParmeter, TRUE);

END;

What is the inPlugin handle? I know how to give an object created, such as a rectangle, a handle, but how do i give the whole plugin object a handle?

Edited by MaxStudio
Link to comment

Ok i've made a little more progress:

IF checkbox {boolean} THEN BEGIN

SetParameterVisibility(inPlugin, 'parameter', TRUE);

END;

Is the inplugin handle the object handle created at the beginning of the script, see below

result : BOOLEAN;

objname : STRING;

oh,rh,wh : HANDLE;

BEGIN

{ retrieve custom object information }

result:= GetCustomObjectInfo(objname,oh,rh,wh);

in this case would oh be the plugin handle?

Link to comment
  • 3 weeks later...

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