ApiBrain().AddPAGERTagPreset

Saves a PAGER Tag Preset to the SILVIA Brain with strings for Name, Type, and the Tags themselves.

Description

PAGER Tags have three string fields: Name, Type, and String. Default Types include “Face”, “Body”, “LeftHand”, “RightHand”. All other entries in the Type field will go under the generic “Tag” presets.

You can specify any Type you wish and change your Parsing code if you need to extend the PAGES system further, generally all new Tag types will be treated as simply “Tag” when in SILVIA Studio, and will go into the Tag Presets Menu.

Example Usage (C#)


//Setting a default LeftHand Pose in the Brain File.
string presetName = "LeftHandDefault", presetType = "LeftHand"; string pagerTags =
“”;

bool success = Core.ApiBrain().AddPAGERTagPreset(presetName, presetType, pagerTags);

Parameters

string

presetName

The name of the preset to store. Saving to an existing name will overwrite the existing preset.

string

presetType

Default Types include “Face”, “Body”, “LeftHand”, “RightHand”. All other entries in the Type field will go under the generic “Tag” presets.

string

pagerTags

The actual PAGER Tags, always formatted starting “<” and ending “/>”

Returns

The boolean true or false representing the success or failure of the operation.

See Also

  • ApiBrain().RemovePagerTagPreset
  • ApiBrain().GetPAGERTagPresetData
  • ApiBrain().GetAllPAGERTagPresets