<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi David,<div class=""><br class=""></div><div class="">You can’t add an item whose name already exists in either the attribute definition OR in the definitions its derived from.</div><div class=""><br class=""></div><div class="">Bob</div><div class=""><br class=""><div class="">
<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;" class=""><div class="">Robert M. O'Bara, MEng.<br class="">Assistant Director of Scientific Computing<br class=""><br class="">Kitware Inc.<br class="">28 Corporate Drive<br class="">Suite 101<br class="">Clifton Park, NY 12065<br class=""><br class="">Phone: (518) 881- 4931</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jun 8, 2015, at 4:17 PM, David Thompson <<a href="mailto:david.thompson@kitware.com" class="">david.thompson@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi all,<br class=""><br class="">I don't see a way in SMTK to specify the path to an attribute item; one can ask Attribute::find() to search for a given name but as I understand it, two items are allowed to share the same name as long as they aren't owned by the same parent item.<br class=""><br class="">It would be nice to have something like<br class=""><br class=""> AttributePtr circle;<br class=""> circle->item("construction method/three points/point 1");<br class=""> // or even:<br class=""> circle->item("construction method/three points/point 1", '/');<br class=""><br class="">Would anyone object to me adding this? I could use it as I develop operator logging.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks,<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>David<br class="">_______________________________________________<br class="">Smtk-developers mailing list<br class=""><a href="mailto:Smtk-developers@smtk.org" class="">Smtk-developers@smtk.org</a><br class="">http://public.kitware.com/mailman/listinfo/smtk-developers<br class=""></div></blockquote></div><br class=""></div></body></html>