02-01-2022, 03:07 PM
Hey, you can iterate object properties and then determine if they are events and such, then further iterate property names to figure out if the operator matches the naming scheme of the export operator you want as well.
Example code:
Example code:
Code:
obj = $tyFlow001
names = getPropNames obj
for name in names do
(
prop = getproperty obj name
if iskindof prop tyEvent then
(
OPnames = getPropNames prop
for OPname in OPnames do
(
if findstring (OPname as string) "export" != undefined then
(
exportOperator = getProperty prop OPname
exportOperator.exportTycache()
)
)
)
)