Synopsis
create a field of a described type
OMobj_id FLDcreate (
OMobj_id parent_id,
const char *field_desc,
const char *name);
Description
FLDcreate creates a new field. The field's type is described by a string such as "Field_Unif", or "Field", or "Field_Struct".
Parameters
OMobj_id parent_id
An OMobj_id of which the field will be a subobject. This is usually the OMobj_id passed to the routine that calls FLDcreate.
const char *field_desc
A character string that holds a description of the type of field to be created. Any valid combination of field data schema subobjects is valid, for example, "Field_Struct" or "Mesh_Struct Space3 Dim3 Node_Data Scalar Float".
const char *name
A character string that defines the name by which the field will be known in the Object Manager.
Example
compat/modules/converts/avs2fld.c
Related routines