Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

waapi to query list of events in a bank

0 votes

hi

I'm trying to query the list of events in a bank with the following input to ak::wwise::core::object::get

(ak_bank_id contains the guid of the bank I'm interested in) 

 

AkJson ak_query( AkJson::Map{ { "from", AkJson::Map{ { "id", AkJson::Array{ ak_bank_id } } } };

                              { "transform", AkJson::Array{ AkJson::Map{ { "select", AkJson::Array{ AkVariant( "descendants" ) } } },
                                                            AkJson::Map{ { "where",  AkJson::Array{ AkVariant( "type:isIn" ),
                                                                                                    AkJson::Array{ AkVariant( "Event" ) },
                                                                                                  },
                                                                          },
                                                                        },
                                                          },
                              },
                            } );

but it's returning an empty list

- I've also tried with the "where" block removed, here's I'd expect the results to include the containing workunits

thanks for any help

Jonny

asked May 20, 2019 in General Discussion by jonny (100 points)

Please sign-in or register to answer this question.

...