The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How do I name an example set?
Ghostrider
Member Posts: 60 Contributor II
I am writing a plug-in and I simply want to assign a name to an example set and then be able to read the name back at the next flow instance. How do I do that?
Tagged:
0
Answers
As of one of the recent changes we have introduced annotations to IOObjects. You can just use
ioobject.getAnnotations().setAnnotation("name", name);
Here, "name" would be a custom key, maybe you want to use the Dublin Core annotation Annotations.KEY_DC_TITLE for a title instead.
Cheers,
Simon