Jump to content

Making Tool Pallets


Recommended Posts

is it possible to make a tool pallet that has text fields and buttons and all that jazz?

 

One of the plugins I'm building talks to external gear and I need to dial in some settings every time before sending commands. I originally thought about using a point object but some of the commands require me to select lighting devices in the CAD before sending so I wouldn't be able to select the lights I need and hit a button in a point object OIP.

 

I guess I could do a menu command and have a dialog box pop up every time before sending but that sounds clunky to me... 

 

thoughts?

Link to comment

I don't think there is a way to do what you want.

 

You could make the object Event Enabled and then put a button in the OIP that calls a dialog box to do your setup. But I don't think there is a way to have a "tool palette" that shows when an object is selected or created.  Maybe with the SDK.

 

I have created scripts that checked for a modifier key when they start and do different things (in my case opened a preferences dialog box) if the Option key is held down when the script it run.  Would something like that work for you?

Link to comment
  • 1 month later...
On 9/25/2023 at 11:25 AM, Pat Stanford said:

I don't think there is a way to do what you want.

 

You could make the object Event Enabled and then put a button in the OIP that calls a dialog box to do your setup. But I don't think there is a way to have a "tool palette" that shows when an object is selected or created.  Maybe with the SDK.

 

I have created scripts that checked for a modifier key when they start and do different things (in my case opened a preferences dialog box) if the Option key is held down when the script it run.  Would something like that work for you?

yeah, I basically just need to make a tool pallet of buttons and text fields that trigger a script. i didn't think there was a way to do that, thought id ask though. 

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