Python Extensions looks super cool, but guess there is no elegant way to use it with private COMPs.
As I store extension object inside COMP and after enable privacy for this COMP and restart patch - COMP could not have access to that extension object, as it is inside private COMP.
The only way is to have an extension object outside private COMP - which is not beautiful at all)
Anything new on this front? Some way maybe to define an extension via script from the inside?
Have all promoted functions be available from outside, non promoted not? This would also make working with locked components much easier as it offers a sufficient API from the inside to the outside,
This is, to be honest, a big bummer and makes basicly all my components unlockable.
Thanks for info. It would be great to have this functionality, but I understand it is hard to implement. Nevertheless it would definitely make creation of private components much more elegant.
The best possible scenario would be ability to have some sort of public / private API for locked components (so that one could interface with this component using some public methods from outside network, while having also private extension hidden inside - taking care of all the âsecret stuffâ). But I understand this doesnât play along with the way Python works.
Today I ran into the same problem. A client wants me to protect a toe file but it uses an external tox which also needs privacy enabled, causing the extension to fail initializing.
I will try the workaround of encapsulating it in another layer.
+1 hoping for a solution though
Applied the workaround. It works fine now as a protected base component. BUT ⌠this component does heavy calculations and needs to run inside of an engine COMP, but the engine COMP gives a yellow warning triangle and does not work, and with it running inside the engine I also can not see what the error is Kinda dead in the water with this now
Thank you. Derivative recommended me the exact same thing yesterday
(And of course the error happening was just me having saved the protected version of the project files in a separate folder and forgetting to include a subfolder it writes to ^^; )