LOPS - Inline CPP

   1612   1   3
User Avatar
Member
39 posts
Joined: 1月 2012
Offline
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.
www.aaronauty.com
User Avatar
スタッフ
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:

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