How to know if a Link Document in draft is loaded or not ?



As i understood Solid Edge for a draft document does not load a link documents in memory. It happens after some doings of a user or after calling ModelLink->ModelDocument.

From my program I need to know If a Link document in a draft view is loaded or not. The logic of my program is next

if a document is loaded I work with that document, if not - I don't.

Unfortunately I haven't found the method that shows the current status of a document(loaded or not).

Probably you can help. Thanks.


Posted by: Sergey Sergeenko
Post date: 3/23/2010 11:52:17 PM


RE: How to know if a Link Document in draft is loaded or not ?

One possibility could be to get the path from the link and loop through each of the opened documents and see if the name matches. The main application pointer will contain a Documents pointer which represents a collection of all opened documents. There might be a better solution, but this is the first thing to come to mind. Hope it helps.


Posted by: Derek Rollinson
Post date: 5/6/2010 11:40:36 AM