TexBox CustomGUI for Python?
-
thanks Maxime,
i hope the priority raise helps
i want to do a material editor plugin,
and it is impossible without TexBox support -
Sigh... still no TexBox support in R21...
Is this still on your todo list?
-
@indexofrefraction Sorry, and yes still on my todo list.
Anyway thanks for rising again the topic.
Cheers,
Maxime. -
3 years later ... the priority raise didn't help
without this it is impossible to create any kind "material editor" in python
it would be really nice if this could added somewhen ! -
This post is deleted! -
" This post is deleted! " .. ?
.-) hope it comes some day ... -
Hi @indexofrefraction, sorry, I had a look at it and this is unfortunately not possible to add a CUSTOMGUI_TEXBOX in a GeDialog.
Technically this is possible and you will be able to use it as a Link field. However, the creation of shader will not work since it requires a Description to work and you can't have a Description object in a GeDialog.
This was the original post I wrote, but while writing it I had an idea to maybe make it work, it will be a bit clunky but I need to find time to implement and experiment it. But please don't get wrong expectation, due to the fact that this is not something that work out of the box, I'm not sure we will consider my workaround good enough to release it and we may prefer to decide to not release it. And I'm not 100% sure that my workaround will work, so I need to try first. But this is a very very low priority thing so this is the current status.
Cheers,
Maxime. -
@m_adam :
Still thanks for looking into this. I didn't expect this to be so complicated, but obviously it is.
I hope your idea works out ! -
Hello @indexofrefraction ,
without further questions or postings, we will consider this topic as solved by Wednesday 31/05/2023 and flag it accordingly.
Thank you for your understanding,
Maxime. -
Was there any further investigation into this topic? We are trying to add a drag and drop field to our python dialog for textures from image assets in the asset browser...I can make a separate post, but scouring the forum first for relevant articles.
-
Yes, please create a new thread. And, no,
TexBoxCustomGui
has not been ported to Python. You might also want to look at this thread.Cheers,
Ferdinand