SilverScreen Solid Modeler

get_pgroup_item

get_pgroup_item

Previous topic Next topic  

get_pgroup_item

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int get_pgroup_item ( int count, char *buf )

 

int   count;          // primitive ID number

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

 

 




Synopsis

#include "silver.h"

 

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

 

 

Parameters

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