Visualarq API retrieve style of selected VA objects

Hi, I am unable to find the function to retrieve the style of selected VA objects. I am trying to select all the walls in my active document and retrieve the respective style id/names. However I am unable to find any function to achieve this. There is a GetWallStyleId function, however that takes in the string of the style name and instead I would like to be able to input in a wall_Id and get a style_Id output. Would like to get some help with this. @enric @fsalla

Hi @Julius3,

Here is the function you’re looking for:

Guid VisualARQ.Script.GetProductStyle(Guid productId);

Regards,

Enric