| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod SelectRelatedIterationsAndSnapshotsPrecondition (const LibOpt_SuboptimizerScopeElements suboptimizerscopeelements) const remote as Boolean | 
| { | 
|   Description: '[Used in GUI] Checks whether the action to "select related iterations and snapshots" is allowed for any of the given `LibOpt_SuboptimizerScopeElements` (suboptimizerscopeelements). If not, provide feedback.' | 
|   TextBody: | 
|   [* | 
|     feedbackobj := FeedbackObject::LocalFeedback(); | 
|      | 
|     if( not feedbackobj.CheckHard( exists( suboptimizerscopeelements, Elements, suboptimizerscopeelement, | 
|                                            suboptimizerscopeelement.InputCount() > 0 | 
|                                          ) | 
|                                  ) | 
|       ) | 
|     { | 
|       feedbackobj.AddHard( Translations::LibOpt_SuboptimizerScopeElement_NotUsedAsInput() ); | 
|     } | 
|      | 
|     return feedbackobj.IsAllowed(); | 
|   *] | 
|   InterfaceProperties { Accessibility: 'Module' } | 
| } |