api_law_to_entity
List of: Functions
Subjects: Laws
Contents: Kernel

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

Prototype: outcome api_law_to_entity (


law* input_law, // law function


ENTITY*& out_ent, // pointer to entity


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/data/entity.hxx"

#include "lawutil/law_base.hxx"

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

Description: Law mathematic functions that are used for analysis of the design are not normally saved to the SAT file. Typically, only laws that are attached to model entities through geometry definitions are saved to the SAT file. In order to make laws more persistent and to share them from session to session, they can be turned into LAW instances, which are derived from ENTITY and are saved and restored.

Library: kernel

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

Effect: Changes model
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0085.HTM