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.
LOPS - Inline CPP
1613 1 3- aaronauty
- Member
- 39 posts
- Joined: 1月 2012
- Offline
- robp_sidefx
- スタッフ
- 451 posts
- Joined: 6月 2020
- Offline
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:
Is this what you were after? If you have other workflows we're not supporting, please let us know.
Thanks!
- Rob
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
Edited by robp_sidefx - 2020年11月4日 07:05:16
-
- Quick Links