Reply
Solved! Go to solution

File Name (of draft) to SolidEdgeDraft.DraftDocument(C#)

Hi,

 

I'm improving and rewriting the Batch application that comes with Solid Edge.

I do this in C#, because I understand it better than the default VB.

 

I currently read-in the active assembly and it's children into a list of SolidEdgeDocuments.

Now I am also checking if there exists a draft with the same name on the same location

(C:\modelname.asm > C:\modelname.dft)

 

What I want now is to store a reference to that file in a list.

I prefer this list to be a List<SolidEdgeDraft.DraftDocument> .

I don't want to open the document (at least not visually).

 

Is there any way to do this?

 

Cheerz!

___________________________
The truth is .... I am Dutch
VB.NET - C# - VS Ex 2015 - ST9
1 REPLY
Solution
Solution
Accepted by topic author JanWillem
‎02-09-2017 02:09 AM

Re: File Name (of draft) to SolidEdgeDraft.DraftDocument(C#)

See my blog post How to open documents silently.

Jason Newell
Applications Architect
www.jasonnewell.net