From: snn Date: Tue, 18 Apr 2017 10:33:41 +0000 (+0300) Subject: Notes attached to an assembly item sub-shape overwrite other assembly item notes X-Git-Tag: v1_0_CAPOFERRI~11 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c763f2a1f4f29bcb3521aa171145919f12f72623;p=occt-copy.git Notes attached to an assembly item sub-shape overwrite other assembly item notes --- diff --git a/src/XCAFDoc/XCAFDoc_NotesTool.hxx b/src/XCAFDoc/XCAFDoc_NotesTool.hxx index 7d02aaee04..99dcc6f8b3 100644 --- a/src/XCAFDoc/XCAFDoc_NotesTool.hxx +++ b/src/XCAFDoc/XCAFDoc_NotesTool.hxx @@ -131,6 +131,10 @@ public: //! \param [in] theItemId - assembly item ID. //! \return annotated item label if it is found, otherwise - null label. Standard_EXPORT TDF_Label FindAnnotatedItem(const XCAFDoc_AssemblyItemId& theItemId) const; + Standard_EXPORT TDF_Label FindAnnotatedItemGUID(const XCAFDoc_AssemblyItemId& theItemId, + const Standard_GUID& theGUID) const; + Standard_EXPORT TDF_Label FindAnnotatedItemSubshape(const XCAFDoc_AssemblyItemId& theItemId, + Standard_Integer theSubshapeIndex) const; //! Finds a label of the given labeled item in the annotated items hive. //! \param [in] theItemLabel - item label.