Hi.
I seems to have problem with iterating over attributes. All methods I could find seems to fail.
When I try this:
for (auto it : gdp->pointAttribs())
{
}
or this:
for (auto it = gdp->pointAttribs().begin(); !it.atEnd(); ++it)
{
}
I get error:
Based on this example -> http://www.sidefx.com/docs/hdk13.0/_h_d_k__g_a__porting.html#HDK_GA_PortingCookbook_Iterating_Over_Attributes
When I try this:
for (GA_AttributeDict::iterator it = gdp->pointAttribs()).begin(GA_SCOPE_PUBLIC); !it.atEnd(); it.advance())
{
}
then it shouts that there is no advance() method. Example is from -> http://www.sidefx.com/docs/hdk13.0/_h_d_k__geometry__attributes.html#traverseAttribute?