api_ct_add_to_group
List of: Functions
Subjects: Cellular Topology
Contents: Cellular Topology

Action: Adds one entity to an existing group.

Prototype: outcome api_ct_add_to_group (


ENTITY* ent, // entity to add


SPAGROUP* group, // group to get the




// entity


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

#include "ct_husk/api/ctapi.hxx"

#include "ct_husk/classes/group.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kerndata/data/entity.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

Description: If the given entity does not already belong to the group, this API adds it to the group's list and attach an ATTRIB_SPAGROUP on the entity that points to the group.

Errors: The pointer to an entity is NULL.

The pointer to a group is NULL or does not point to a SPAGROUP.

Library: ct_husk

Filename: ct/ct_husk/api/ctapi.hxx

Effect: Changes model
PDF/CT/03FN.PDF
HTM/DATA/CT/CT/03FN/0002.HTM