top of page
- API -
workunit = reaper.AZ_Wwise_CreateWorkUnit(parentItemID, name)
- API Detail-
▼Input values
・parentItemID(string): parent object ID (or path) (optional, default: directly under Actor-Mixer-Hierarchy)
・name(string): name (optional, default: New Work Unit)
・isUnique(boolean): whether to create a new object if one with the same name exists
▼Output values
・WwiseObject(WwiseObject) : ID, Name, Path
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
if reaper.AZ_Wwise_Connect("127.0.0.1", 8080) then
parentPath = "\\Actor-Mixer Hierarchy\\Default Work Unit\\test"
workunit = reaper.AZ_Wwise_CreateWorkUnit(parentPath, "AZ Workunit")
Msg(reaper.AZ_GetErrorCode())
ShowObject(workunit)
reaper.AZ_Wwise_Disconnect()
end
Wwise
AZ_Wwise_CreateWorkUnit
Supported versions:
1,2,0
onwards
Create work units

bottom of page




