[Smtk-developers] Associating entities vs adding items

Robert Michael O'Bara bob.obara at kitware.com
Thu Nov 13 15:18:23 EST 2014


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.

Give me a call and we can discuss this.

Bob

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




On Nov 13, 2014, at 3:08 PM, David Thompson <david.thompson at kitware.com> wrote:

> Hi all,
> 
> 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).
> 
> 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
> 
>  <AttDef ... Associations="m">
>   <ItemDefinitions>
>     ...
>   </ItemDefinition>
>  </AttDef>
> 
> we would have
> 
>  <AttDef ... Associations="itemName">
>   <ItemDefinitions>
>     <ModelEntity Name="itemName" .../>
>     ...
>   </ItemDefinition>
>  </AttDef>
> 
> 
> 	Any opinions?
> 	David
> _______________________________________________
> Smtk-developers mailing list
> Smtk-developers at smtk.org
> http://public.kitware.com/mailman/listinfo/smtk-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20141113/457537ab/attachment.html>


More information about the Smtk-developers mailing list