Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Is it necessary for nested designs to include Nested Input?
Reply to topic
Author Message
angel61606



Joined: Jul 8, 2020
Posts: 91

PostPosted: Apr 11, 2023 7:27 AM    Post subject: Is it necessary for nested designs to include Nested Input?

Hi Jarek,

I have seen some designers make sure that they have the nested input element in their designs, even if it is not connected to anything, why is that?
I mean their nested designs don't have any actual input but for some unknow reason (to me) they put that element there.
In general do nested designs have to include nested input or nested output elements, even if they are not connected?
I never add a Nested input element or nested output element when I don't need them, but I just wondered maybe they do it bc of some logics which I am not aware of.
Giannis76



Joined: Jan 11, 2023
Posts: 26

PostPosted: Apr 11, 2023 7:41 AM    Post subject:

Thanks for that question!
jarek



Joined: Oct 22, 2007
Posts: 1012

PostPosted: Apr 11, 2023 11:30 AM    Post subject:

This requirement is listed in the documentation:
http://proatech.com/be/architecture.html

A nested design will not load properly without either NestedInputs or NestedOutputs.

I don't remember now why this decision was made, it was a long time ago. I agree it doesn't seem necessary in general, it may be something to help with initialization. And maybe also an ability to detect a nested design (which is otherwise indistinguishable from a standalone design).
angel61606



Joined: Jul 8, 2020
Posts: 91

PostPosted: Apr 15, 2023 2:51 AM    Post subject:

Thank you :)
Gmartin3



Joined: Oct 19, 2021
Posts: 47

PostPosted: Apr 18, 2023 1:51 PM    Post subject:

I have created a couple nested designs without nested inputs or outputs. They worked as long as I included a nested property element
Reply to topic