I am creating one report in this report I want to print all variants list which are associated with specific function(L4) entity in model.
how can I do this using script???
I can extract the list of all function now I want to extract variant which is associated with each function.
please help me guys it's very important for me....
Tricarico Romain on
Hi Ankit,
To get the list of variants, use the API function "objdef.Variants()". this function returns a list of definition object that are variant of "objdef", or an empty list if "objdef" has no variant.
ex:
Best Regards
ps. Don't forget to use "F1" key from script editor to get help.
Example : Type "ObjDef" in the script editor, select the word and type "F1" to get all function available for object definition.