how to open Igs or jt file as assembly

Creator
Creator

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

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

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

Creator
Creator

can you give me an example.

my file name is valve.jt

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

Re: how to open Igs or jt file as assembly

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

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

Creator
Creator

it worked!

Thanx alot JB!