Guilin Sun
Ansys Employee

You can add analysis group with its ID. eg

addobject("rounded_cyl");
set("name","test_cyl");

The monitors can be randomized but the group span and location are not recommended to be random.

You cannot add a group into the object library. But you can save the group into a template file, and later load this specific file whenever you want to use it.