Hi guys. When I get two input with inlinecpp, if I don't use const on argument, it will be error. What's matter? It looks a bugs. Help me. ========================== Error..========================= # This code is called when instances of this SOP cook. node = hou.pwd() geo = node.geometry() node2 = node.inputs()[1] geo2= node2.geometry() # Add code to modify the contents of geo. import inlinecpp inlinecpp.extendClass(hou.Geometry, "pTredasde", includes=""" """, function_sources=[""" int pTree(GU_Detail * gdp, const GU_Detail * gdp2) { cout<<gdp->points().entries()<<endl; cout<<gdp2->points().entries()<<endl; return 0; } """]) print geo.pTree(geo2) =========================== OK ==================================================== # This code is called when instances of this SOP cook. node = hou.pwd() geo = node.geometry() node2 = node.inputs()[1] geo2= node2.geometry() # Add code to modify the contents of geo. import inlinecpp inlinecpp.extendClass(hou.Geometry, "pTredasde", includes=""" """, function_sources=[""" int pTree(const GU_Detail * gdp, const GU_Detail * gdp2) { cout<<gdp->points().entries()<<endl; cout<<gdp2->points().entries()<<endl; return 0; } """]) print geo.pTree(geo2) =========================================== What is problem on second one? It is just different with first one on argument. There is no const.