Jolbertoquini wrote:Hi Guys,
We are having some issues with our internal tools with the 4.0.4 : https://render.otoy.com/forum/viewtopic.php?f=73&t=71439&e=0
basically this:
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:
- 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?
So after a extra test is coming after the version 4.0.3 which seams this update "Fixed octane.node.getPinInfoIx().name which was returning the label instead of the pin name." is giving errors to us based on the script on the top the Octane version 4.0.2.1 is working fine.
Best,
JO
Hi Haze,
Please we are waiting for the fix of the lua script , spend more then a week i think the Guys has a fix could we have a quick release with that fixe please?
Best,
JO