SilverScreen Solid Modeler



Previous topic Next topic  


Previous topic Next topic JavaScript is required for the print function  



int get_pgroup_item ( int count, char *buf )


int   count;          // primitive ID number

char *buf;            // character buffer to receive primitive name




#include "silver.h"


The get_pgroup_item function retrieves the primitive with index number count from the p-group.




count is the index number of the primitive in the p-group, 1 to the number of items in the group. buf is the address of a character buffer that is to receive the primitive name.



Return Value

get_pgroup_item the primitive name into buf if the there are at least count items in the p-group, and then returns 1, otherwise get_pgroup_item returns 0.



See Also

get_group, get_group_item