Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.
emlo40 edited this page Aug 21, 2021 · 12 revisions

Welcome to the VsPyYt wiki!

quick msg never remove or change websocket in the functions

get current models information

getmd(websocket)
if you use this the console will print out all information about the loaded model you can also do the code below to get specific data
data the function handels page

model1 = getmd(websocket)
model1id = model1["data"]["modelID"]#note this can also be used in the other fuctions  
print(model1id)

get state of vtube studio

getstate(websocket)
if you use this the console will print out all information about vtube studio you can also do the code below to get specific data
data the function handels page

stat = getstate(websocket)
statistic = stat["data"]["uptime"]
print(statistic)

get vtube studio directory's

getvtsfolder(websocket)
if you use this the console will print out all information about thhe vtube studio directory you can also do the code below to get specific data
data the function handles page

stat = getstate(websocket)
bg = stat["data"]["backgrounds"]
items = stat["data"]["items"]
models = stat["data"]["models"]
print(bg)
print(items)
print(models)

list models

listvtsmodel(websocket)
if you use this the console will print out data about all models loaded in vtube studio you can also do the code below to get specific data
data the function handels page

md = listvtsmodel(websocket)
statistic = md["data"]["numberOfModels"]
mdnames = md["data"]["availableModels"]["modelName"]
mdids = md["data"]["availableModels"]["modelID"]
availableModels
print(statistic)
print(mdnames)
print(mdids)

change current model

mdch(websocket,mdid)

list and get data of all art meshes in model

listArtM(websocket,mdid)

move model

mdmv(websocket,time,revelance,xp,yp,rot,size)

change model color

TintArtM(websocket,r,g,b,a,tintall,num,exactarray,conarray,tagexactarray,tagconarray)

Clone this wiki locally