Octane 4 vs 3 NT_GEO_GROUP pin info
Posted: Thu Apr 25, 2019 4:54 pm
I'm trying to query pin names/labels for the NT_GEO_GROUP and have found that this used to work in Octane 3.06.4 but now no longer works in Octane 4.04. Has this API changed? I've checked in the documentation and there are no differences that I can see. For example with the following script:
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?
- 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?