<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I don't see how this would resolve anything - The simplest solution would be to have a property on the definition indicating the max number of model entities the attribute could be associated with.<div><br></div><div>Give me a call and we can discuss this.</div><div><br></div><div>Bob</div><div><br><div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Robert M. O'Bara, MEng.<br>Assistant Director of Scientific Computing<br><br>Kitware Inc.<br>28 Corporate Drive<br>Suite 101<br>Clifton Park, NY 12065<br><br>Phone: (518) 881- 4931</div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>On Nov 13, 2014, at 3:08 PM, David Thompson <<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all,<br><br>Yumin and I were discussing CMBv4 and Yumin mentioned that while attributes can indicate the type of entities they may be associated with, there is no way to describe limits on the number of entities (e.g., a subtract operator may support only a single workpiece at a time, but the GUI cannot infer that too many models are selected for the subtract operator).<br><br>One way we might accommodate storing extra information about associations is to ditch the way associations are currently stored and create a special ModelEntityItem that is marked as the attribute's associations. Instead of<br><br>  <AttDef ... Associations="m"><br>   <ItemDefinitions><br>     ...<br>   </ItemDefinition><br>  </AttDef><br><br>we would have<br><br>  <AttDef ... Associations="itemName"><br>   <ItemDefinitions><br>     <ModelEntity Name="itemName" .../><br>     ...<br>   </ItemDefinition><br>  </AttDef><br><br><br><span class="Apple-tab-span" style="white-space:pre">       </span>Any opinions?<br><span class="Apple-tab-span" style="white-space:pre">     </span>David<br>_______________________________________________<br>Smtk-developers mailing list<br><a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>http://public.kitware.com/mailman/listinfo/smtk-developers<br></blockquote></div><br></div></body></html>