]> OCCT Git - occt-copy.git/commitdiff
Notes attached to an assembly item sub-shape overwrite other assembly item notes
authorsnn <snn@opencascade.com>
Tue, 18 Apr 2017 10:33:41 +0000 (13:33 +0300)
committersnn <snn@opencascade.com>
Thu, 23 Aug 2018 09:04:32 +0000 (12:04 +0300)
src/XCAFDoc/XCAFDoc_NotesTool.hxx

index fb6bfd082ee546d676e061d201835e5c78e55c1a..6fbcffc1222642de998b9b5d14f7c3eb0ab8c266 100644 (file)
@@ -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.