In the Compile End Block you can disable 'Enable Compiling'. In this way you can run (the nodes in) the Block even with unsupported nodes.
Now suppose I would like to 'invoke' a Block of nodes (with unsupported nodes) purely for this feature that is mentioned in the docs:
"You can create a digital asset with a parameter that accepts a reference to a compiled block, and then use that block as part of the asset’s operation."
How can we do it? The 'Enable Compiling' parameter doesn't translate into the 'Invoke Compile Block'. You still get the error of unsupported nodes. Is there some kind of other way?, ... An alternative for the hypothetical 'Invoke HDA SOP' or the 'Invoke Subnet SOP'? I think you know what I mean.
Hope there is a way, or else that we can get the 'Enable Compiling' parm also on the Invoke Compile Block SOP.
Don't think there is a way to do that. Invocation of compiled block assumes that block is really compiled. This "Enable Compiling" flag is purely for profiling I guess. It's not designed to avoid compatibility issues with compilation.
Compilation and making HDAs or subnets compilable is the current workflow if you want to inject some custom external operator into the network.
martinkindl83 hello mate any new info on this one? how did the RFE go?
im also looking into this
You can't circumvent the compiling requirements when you invoke a compiled network. The only thing you can do is to find alternatives or workarounds for non-compileable nodes. Often times it's possible to do this using VEX, etc.
martinkindl83 hello mate any new info on this one? how did the RFE go?
They misunderstood my feature request. I explained it farther to them; that it is possible, that is basically is what an HDA does, but that I want it without the whole HDA construct around it (just a simple copy of all the nodes in a subnet, or in a 'new kind' of block, then: whatever you want, as long as it functions....), but they didn't respond. So I hope they will take this as constructive criticism. I am not stupid I know what I'm asking and I know what it's worth and I know it's possible because I too can think how a computer thinks and have build a programmers-brain. See the images for my contribution.
animatrix_ You can't circumvent the compiling requirements when you invoke a compiled network. The only thing you can do is to find alternatives or workarounds for non-compileable nodes. Often times it's possible to do this using VEX, etc.
I do not talk about it needing to be compiled. I talk about about such a same thing, but for uncompiled nodes, and not needing it to be compiled at all (no speed benefits asked). That's why I name it a 'Invoke Subnet' RFE or talk about a new type of block altogether.
Talking about what can be compiled and what can not: do you think that Python Sop can ever be made compilable? Or there is some inherent technicality that prevent it to ever be such.
For now I'm investigating some hacky workarounds by executing python code as parameter expression inside a compiled block. But the use might be limited to very specific cases...
Thank you. Yes that's exactly what I was after. Not to fix the compile block but basically have something like HDA invoke. Something that can invoke node/nodes from elsewhere in the scene.