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-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=fe07305a54b3a1d9abcaf7e43c79ee20398b885d;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 fb6bfd082e..6fbcffc122 100644 --- a/src/XCAFDoc/XCAFDoc_NotesTool.hxx +++ b/src/XCAFDoc/XCAFDoc_NotesTool.hxx @@ -127,6 +127,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.