Page 1 of 1

Octane 4 vs 3 NT_GEO_GROUP pin info

PostPosted: Thu Apr 25, 2019 4:54 pm
by Simon_SI
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?

Re: Octane 4 vs 3 NT_GEO_GROUP pin info

PostPosted: Fri Apr 26, 2019 9:48 am
by Simon_SI
As a follow-up, this change in behaviour appears to be between Octane 4.02.1 and 4.03. I see in the release notes, Fixed octane.node.getPinInfoIx().name which was returning the label instead of the pin name., which is presumably the change, however, I no longer appear to get either the name or the label now.

Re: Octane 4 vs 3 NT_GEO_GROUP pin info

PostPosted: Sat Mar 21, 2020 11:40 pm
by lance_uppercut
Yes, I'm seeing the same issue in Octane 4.04.
And I don't see any other way of accessing the names of material input pins!

I've sent a bug report email, hope this gets solved soonish...