api_pattern_to_entity
List of: Functions
Subjects: Patterns, SAT Save and Restore
Contents: Kernel

Action: Converts a pattern into an entity for the purposes of saving to and restoring from a SAT file.

Prototype: outcome api_pattern_to_entity (


pattern* in_pat, // pattern to convert


ENTITY*& out_ent, // instance returned


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

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

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

#include "kernel/kernutil/law/pattern.hxx"

#include "kernel/kernutil/law/patternent.hxx"

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

Description: In order to make patterns more persistent and to share them from session to session, they can be turned into APATTERN instances, which are derived from ENTITY and are saved and restored.

Errors: The specified pattern is NULL.

Library: kernel

Filename: kern/kernel/kernutil/law/patternent.hxx

Effect: Read-only
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0109.HTM