Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional inner outer #2499

Closed
eshmoylova opened this issue Feb 19, 2020 · 3 comments · Fixed by #2770
Closed

Conditional inner outer #2499

eshmoylova opened this issue Feb 19, 2020 · 3 comments · Fixed by #2770
Assignees
Labels
discussion Indicates that there's a discussion; not clear if bug, enhancement, or working as intended question Further information is requested
Milestone

Comments

@eshmoylova
Copy link
Member

Is it allowed to have inner/outer components to be conditionally declared? There is nothing I can find in the Specification that forbids it explicitly. If it is allowed, may the conditions on the inner be different from the one on the outer? What to do if the the inner is missing and there are several outer declarations with the same name, and the same type but different conditions?

@svorkoetter svorkoetter added discussion Indicates that there's a discussion; not clear if bug, enhancement, or working as intended question Further information is requested labels Feb 19, 2020
@svorkoetter svorkoetter added this to the Design102 milestone Feb 19, 2020
@HansOlsson
Copy link
Collaborator

Interesting question.

I would imagine that a conditional outer world could be used if you e.g., sometimes want visualization parameters from world. That should be independent of the condition of inner world. But on the other hand I don't see a major need as outer world shouldn't be that expensive.

To me the messy case is if inner world is conditionally disabled (at the top) and there are some enabled (or unconditional) outer world (further down). The reason is that it looks as if someone didn't want the world-object, but it is then added automatically (assuming it is unambiguous).

@HansOlsson
Copy link
Collaborator

I see the following possibilities:

  • Forbid both of them.
  • State that disabled outer-component are ignored for automatic creation of inner-component (neither causing it; nor influencing the type of it).

After some thinking I believe that the case above with disabled inner component and automatic inner component actually makes sense - and we should not do anything special to forbid it. The scenario is that you have a conditional inner component as a sub-inner, e.g. a local reference frame in an MBS-system. It still seems that the normal automatic inner component should appear in that case.

@HansOlsson
Copy link
Collaborator

HansOlsson commented Dec 14, 2020

Poll:

  1. Forbid:
  2. State ...: Elena, Quentin, Hans
    Abstain: Filippo, Gerd, Henrik, Martin, Daeoh, Stephan

Agreement on 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Indicates that there's a discussion; not clear if bug, enhancement, or working as intended question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants