[Resolved] Do objects get picked after being created in an extension?

Hi there, I’m trying to make a custom “create object” function with more parameters than the regular create object action. This would merge multiple actions I use regularly into one action, and would make my life a bit easier.

The problem is that the object doesn’t get picked after creating it through the extension action as with the regular “create object” action.

Here’s an example:

Is this possible? or should I revert to using multiple actions along with the regular “create object”?

It can be done but to my knowledge only through Javascript. An approach that has drawbacks.

You can add the tint function to your extension. Either add it to one of your existing actions or create separate functions. It would then add the object and set the tint. You can even set the parameter type as color and it will add a text field plus a color picker to the functions event sheet.

1 Like

Thanks Keith for answering!

I’m aware of the color parameter, however the 2nd action is just an example to show that the object wasn’t picked.

I want this function to be a substitute to the regular create object action with the addition of automating a bunch of actions when the object is created, while also picking the object to be able to add other actions specific to it in the same event if needed.

This is just a simple example with few actions of what I’m trying to do:

But the object will not be picked, so I won’t be able to add other actions to it in the same event.

I don’t think it’s worth going this route and inviting bugs :confused:

This can be a workaround:

The created object will be picked, so I can add other actions to it in the same event.

1 Like