検索 - User list
Full Version: LOPS - Inline CPP
Root » Solaris and Karma » LOPS - Inline CPP
aaronauty
Is it on the roadmap to support inline CPP inside of Solaris?

I am using HOM extensively, and would love to have access to C++ in Solaris without building plugins, due to complex build dependencies.

Cheers,
Aaron.
robp_sidefx
Hi Aaron,

Sorry for the delay. In Houdini 18.5.387+ we've added hou.LopNode/LOP_Node translation so you can do things like:

node = hou.pwd()

import inlinecpp
inlinecpp.extendClass(hou.LopNode, "inlinecppTest",
function_sources = [
"""
int layerCount(LOP_Node *node)
{
return node->layerCount();
}
"""
]
)

print node.layerCount()

Is this what you were after? If you have other workflows we're not supporting, please let us know.

Thanks!

- Rob
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB