|
||
BOOLEAN pgroup_append(OBJECT_NODE *parent, PRIM_NODE *prim);
OBJECT_NODE *parent; // A pointer to an OBJECT_NODE PRIM_NODE *prim; // A pointer to a PRIM_NODE
|
|
|
Synopsis |
#include "silver.h" #include "ssnodes.h"
The pgroup_append function appends a primitive to the current p-group. If no p-group exists, then one is created.
|
|
Parameters |
parent is the parent object of the primitive to add to the p-group prim is the primitive to be added to the p-group
|
|
Return Value |
pgroup_append returns TRUE if the primitive pointer is valid, and if it was successfully added to the p-group. It returns FALSE otherwise.
|
|
Remarks |
When constructing a p-group for use by a command you should use care to include only primitives that are relevant to the command, otherwise there will be a command error.
If you wish to clear the current p-group you can use the following command:
p-group undefine
|
|
See Also |
|