api_hook_annotations
List of: Functions
Subjects: Feature Naming
Contents: Kernel

Action: Traverses the active list of annotations and adds ATTRIB_ANNOTATIONs to hook them to the annotated entities.

Prototype: outcome api_hook_annotations (


is_fun is_function // type of annotation



= is_ANNOTATION,


BULLETIN_BOARD* bb // obsolete, ignored



= NULL,


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

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

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

#include "kernel/kerndata/bulletin/bulletin.hxx"

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

Description: The flag for is_fun defaults to is_ANNOTATION. However, any is function for a class can be used. So, for example, to get the top vertex annotations from a sweep operation, this function can be passed is_SWEEP_ANNO_VERTEX_TOP as an argument.

Library: kernel

Filename: kern/kernel/kernapi/api/kernapi.hxx

Effect: System routine
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0079.HTM