Dear Print Modelers,
What is the most efficient way to use Hide Conditions in the Print Model to hide large segments of data?
Ideally, I’d like to model different Segments which are only printed when a certain condition is met. However, I believe that the Hide Conditions can only be added to Elements within a Segment. Should I simply add an Area Element and nest the rest of this Segment within this single Area Element?
This is dependent on your usecase. We do offer the Switch Element which allows multiple Areas to compete for a reserved minimal space. However there is a usecase we currently do not solve “efficiently” and that is given when you want to conditionally render whole PrintModel Segements. Currently the only way to simulate this is to create a Switch Element that spans a whole Segement. Which in this case would not be a good solution. So if you have this situation please concat us to talk about a new Requirement.
Explaination:
The Switch Element is meant to be used in Situations where you have multiple Elements competing for a reserved minimum amount of Space. Each Case in a Switch Element can be displayed at once or none at all. If no case apply the Switch element is “empty” but it will keep its minimum Dimensions. So in the case where you need to display large Areas or entire PrintModelSegments mutually exclusive the Switch Element will result in lots of nesting and duplication of Switch Conditions in the Hide Coditions of the Switch Element.
Hi @dave-golden-layer
Thanks for the explanation. It sound like I have a requirement then as I was considering using an element that spanned the whole Segment.
I won’t create a requirement ticket as we don’t have any budget to support this. I was hoping to be able to remove some custom code from our project by leveraging the existing functionality. As we would run into the issues you described above, we’ll leave things how they are.