Author Topic: Bookmark elements from addin code  (Read 2923 times)

BJTim

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Bookmark elements from addin code
« on: March 07, 2010, 02:50:07 am »
Is it possible to bookmark an element added with AddNew from code?

This would make it easier to find elements modified by an algorithm.

Greetings from Germany

Bernd.

David Rains (bioform)

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: Bookmark elements from addin code
« Reply #1 on: July 14, 2011, 10:28:24 pm »
I also am looking for a way to bookmark (little red triangle) an element using code... Can't seem to find an attribute or method...

Does anyone know WHERE this value is stored within the database if it is not available via code?

Thanks,
David

Just had to add 'little red triangle" as that was one of my 1st posts and yes of course I did not search for it 1st!

Shaggy Man

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Bookmark elements from addin code
« Reply #2 on: July 15, 2011, 01:43:14 am »
I found VC6 code to add bookmarks in the following URL sample.
http://www.raquest.com/products/external_interface.htm

Write only the essential code ...

> char sql[256];
> sprintf(sql, "update t_object set tagged = 1 where object_id = %d", pConnector->ClientID);
> HRESULT result;
> result = m_pRepository->Execute(sql);

Glad that helps.