Skip to content

Instantly share code, notes, and snippets.

@decasteljau
Created August 17, 2020 20:09
Show Gist options
  • Select an option

  • Save decasteljau/a03022a56964132f5666cd66e6a0d060 to your computer and use it in GitHub Desktop.

Select an option

Save decasteljau/a03022a56964132f5666cd66e6a0d060 to your computer and use it in GitHub Desktop.
from waapi import WaapiClient
import pprint
# Connect (default URL)
client = WaapiClient()
# Return all events referencing the specified object
args = {
"from": {"path": ['\\Actor-Mixer Hierarchy\\Default Work Unit\\with_att']},
}
options = {
"return": ['name','type', '@Attenuation.name', '@Attenuation.@RadiusMax', '@Attenuation.id']
}
result = client.call("ak.wwise.core.object.get", args, options=options)
pprint.pprint(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment