The attached macro opens the Draft document of the currently open Part or Sheet Metal file.
If multiple Drafts exist where the current model has views, the program prompts to optionally open each.
The Draft could be in the same folder as the model or a sub-folder.
If no Draft exist, the macro prompts to create a new one.
A similar macro that opens the Windows Explorer with the same folder as the current Solid Edge document is here. This functionality is also available in ST 9.
Hope you find both macros useful till then.
Note: This macro uses modified source code from this post.
Extremely helpful! Thanks a lot!
This functionality was, sort of, possible with the great macro's from incobase, but this one is more easy.
Something like this should be standard SE.
@Tushar, that's neat but we couldn't use it because our drafts are in one folder up from our models. For example:
JobFolder contains drafts.
JobFolder\mod contains models.
Now, if it was possible to modify the search path...
You are welcome.
I located the macro on the Incobase webpage and anxious to see how it works. I was not aware that this macro already exists since so long. The zip is blocked by company firewall and I will check it on my home computer in a few hours.
The Solid Edge API supports searching in just the sub-folders or the same folder where the model lives.
If the folder structure is setup in the way you described, I can possibly modify the macro to climb a level up and start a search for the Drafts from there down. This should probably not hamper the search for who still have their drafts in the same or nested folders below the model. I will give this a try and update this thread soon.
I will delve deeper into the API and explore the possibility of reporting all Drafts and subsequently open them selectively or all, as per user preference.
@Tushar, Maybe interesting?: I have a part that is in a draft with several other parts. They are discrete parts, not from an asm. But such a draft does not open with the macro. Must it be one file per draft or ...?
Edit: more cans of worms. It's never simple is it?