Reply
Solved! Go to solution

how to open Igs or jt file as assembly

I tried to open jt file using method documents.OpenWithTemplate(filename,".asm")

But it shows a msg in solid Edge Specified template connot be accessed or opened.

4 REPLIES

Re: how to open Igs or jt file as assembly

Hi Dev13,

you have to have to use the filename of the template file, not only the extension.

So Solid Edge is able to use the desired file as the template for the imported geometry.

regards

JB
VS2015, SE ST10

Re: how to open Igs or jt file as assembly

can you give me an example.

my file name is valve.jt

and its in C:\st7\models\valve.jt

Solution
Solution
Accepted by topic author Dev13
‎01-08-2017 03:13 AM

Re: how to open Igs or jt file as assembly

Hi,

try it like this:

documents.OpenWithTemplate("C:\temp\ASM.jt", "C:\Program Files\Solid Edge ST9\Template\ISO Metric\iso metric assembly.asm")

Off course you have to change the path according to your installation...

You can use the GetTemplateFileName() method to find template files or search you directories directly.

regards

JB
VS2015, SE ST10

Re: how to open Igs or jt file as assembly

it worked!

Thanx alot JB!