SkinLayerStudio API (Beta)
/
Getting Started
Getting Started
Download MarkdownOpen the Script Log and paste the lines below. api is already there. Do not import it.
A call is rejected when Trial has locked that feature. Then ok is False, or the exception text contains TRIAL_LOCKED.
bone = api.bone("Bip001 Spine")
layer = api.layer("Layer 1")
skin = api.skin()
If you do not remember a bone name, call bones first and read the names on screen.
What to pick up
| You want to | Start with |
|---|---|
| New file, open, save | new open save save_as |
| Bring meshes in from the DCC | pick pick_all |
| Choose a mesh, write skin back | meshes use apply_to_skin |
| Create a layer | add_layer |
| Move or read a bone | bone |
| List bone names on screen | bones |
| Rename, show, or delete a layer | layer |
| Exchange skin with a DCC, or run Quick Skin | skin |
panel, canvas, and conn are not in these docs. In a script, use only api.
Calls on each object
File and scene
bone
- world_matrix trs set_trs
bone.nameis the bone name.
layer
- rename set_visible remove
layer.namelayer.visiblelayer.id
skin
- pull push remove_unused
- mesh_height_cm scan show_quick_skin
- quick_skin quick_skin_human
- bone_names bone_hierarchy target_layer_name influences
These pages are beta. Call names are fixed in code. Default argument values can still change in a later build.