Reply
Solved! Go to solution

Create draft for .psm using other template

Hi, I succeded in generating draft document for my .psm file using the common draft creating procedure

...

oDocD = oDocs.Add("SolidEdge.DraftDocument")

...

But It always generates the draft with the standard ISO metric Draft.dft fro the standard templates. Even if I "specifie another template to be used when a file is automatically created"using the set default template in the solidedge option "helpers". It changes abosolutly nothing and creates again the draft using the ISO metric Draft.Dft.

 

Please help, Thanks

ST9
Conveyor and industrial equipment designer.
Giving SE a chance.
3 REPLIES
Solution
Solution
Accepted by topic author Pedneault75
‎08-26-2015 04:32 AM

Re: Create draft for .psm using other template

Hi, Have you checked the second argument for Template Doc.

It's an object but I think you can specify a string with full or relative path to the template doc.

 

 

~Tushar

 

Re: Create draft for .psm using other template

Thanks Tushar!



==========================
Kabir Costa
Industrial Designer
kabircosta@gmail.com

Re: Create draft for .psm using other template

Tushar, But how to do this with Quicksheet? To insert the part in views?



==========================
Kabir Costa
Industrial Designer
kabircosta@gmail.com