Wesley Elfring
WesleyE
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
[HDK] GA_FOR_ALL_PRIMGROUPS not picking up my groups May 12, 2014, 2:49 p.m.
Thanks! That was indeed the issue. So I assume the GDP is empty when the cook starts?
[HDK] GA_FOR_ALL_PRIMGROUPS not picking up my groups May 12, 2014, 5:55 a.m.
Hi, I'm having a small problem trying to process multiple groups. I've created some groups both with my own code and with the standard group node, but my second node is not picking them up. I'm sure the created groups are primgroups. This is my code inside of the cook method:
//Try 1
GA_PrimitiveGroup *grp;
GA_FOR_ALL_PRIMGROUPS(gdp, grp)
{
int i = 0; //Breakpoint here
}
//Try 2
GA_PrimitiveGroup *polyMeshGroup = gdp->findPrimitiveGroup(“polymesh”);
if (polyMeshGroup == NULL)
{
addError(SOP_MESSAGE, “No polymesh groups found to build structures.”);
return error();
}
Is there something else I need to process before I can access the groups inside the detail?
//Try 1
GA_PrimitiveGroup *grp;
GA_FOR_ALL_PRIMGROUPS(gdp, grp)
{
int i = 0; //Breakpoint here
}
//Try 2
GA_PrimitiveGroup *polyMeshGroup = gdp->findPrimitiveGroup(“polymesh”);
if (polyMeshGroup == NULL)
{
addError(SOP_MESSAGE, “No polymesh groups found to build structures.”);
return error();
}
Is there something else I need to process before I can access the groups inside the detail?
how to find the "sand object"and"sand solver July 4, 2013, 4:56 a.m.
Although it is deprecated, you can unhide the DOP's with the opunhide command: http://www.sidefx.com/docs/houdini12.5/commands/opunhide [sidefx.com]