Hey everyone,
After reading the documentation and various topics here, I still have a few questions concerning Repeat Groups and tables.
-Are Repeat Groups in submodels essentially copied tables, meaning the submodel gets passed a clone of the top level's table?
I guess I'm confused because of this sentence in the Reference Guide:
If data should only exist on the top level, why not just reference it from the submodel? Sounds like the reference is discarded for a copy, which contradicts the first premise?
- Or is the Repeat Group a "Table of references"?
In which case it still seems overly complicated to me, couldn't we simply pass the name of the table, without having to pass all columns?
Alternatively, why not adding the ability to reference a table from a submodel in the form "Location.Parent.Model.TableName"?
The reason I'm asking is that I have a model with many submodels, that all need to access a huge data table.
If I'm not mistaken, Repeat Groups require you to pass every single column to every single submodel by hand, since selecting multiple submodels and right-clicking to choose "Select referenced property" doesn't work.
I ended up creating a state variable that copied the data table, which I can access from the submodels via "Location.Parent.Model.ArrayName". Although the information is then 'pulled', this sentence adds to the confusion:
I might be overthinking this, but storing information in an entity that is sent into an object passes information without properties as well?
I'd just like to understand Repeat Groups and moreover I'd like to be able to use the Search Step from the submodel, which doesn't work with the array.
I might give the find step a shot at this.
Sorry for the lengthy post - any insights are appreciated!
-Phil