01-17-2023
11:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-17-2023
11:39 AM
The following would be accessing the table from the factory document, right?
`ThisDoc.Document.ComponentDefinition.ModelStates.ModelStateTable`
(The file starts as a master-model-state-only document, but a new model state is created just before this. But also I just tested that adding a model state manually and closing and reopening the file before running the script gives the same result.)
Trying to set to either `String.Empty` or `""` gives the error in the image below. Setting it to a dummy, non-empty string works.