- Code: Select all
local geogroup = getNodeTypeByName("MyGeoGroup", octane.NT_GEO_GROUP)
if (geogroup ~= nil) then
print(geogroup:getPinCount())
for jj=1,geogroup:getPinCount() do
local lp = geogroup:getPinInfoIx(jj)
print("description " .. lp.description .. " type " .. lp.type .. " label " .. lp.label .. " name " .. lp.name)
end
end
Octane 3.06.3 Output:
1
description Geometry Input type 12 label Input 1 name Input 1
Octane 4.04 Output:
1
description Geometry Input type 12 label name unknown
I can see in the Node inspector UI that for both versions the pin details have the name as "Input 1", so am confused why I cannot query this string in the newer version of Octane?