Does anyone have an idea how to query the guide hairs in shave and haircut?
If I select some of them, the script editor echoes
select -r shaveHair1.cv shaveHair1.cv shaveHair1.cv shaveHair1.cv shaveHair1.cv[354:355] shaveHair1.cv[373:375] ;
That's logical, so far.
But I don't understand how to query how many guide hairs there are. And I need this value because it's the starting point for the real stuff I want to programm.
// Error: Invalid use of Maya object "shaveHair1.cv". //
wich don't get me any further.
I know a guide hair is "growing" out of every vertex in the base geometry (e.g. a poly sphere) and the shaveHair1.cv[id] equals the vertex id of the basic polygon object, but there has to be a way to query the guide hairs directly without the need for querying the poly sphere, first.