cancel
Showing results for 
Search instead for 
Did you mean: 

Update/"Save as" a JT file avoiding reading the file twice

Valued Contributor
Valued Contributor

HI all,

I'm doing (at least trying) a fun stuff:

Trying to update the .JT file keeping .jt file data in memory to avoid reading the JT file twice. The hierarchy is saved but not the meshes.
Do you know where this behavior cold come from ?

Are greometry info discarded for some reason ?

 

Thanks.

 

I can add additionnal info if needed.

 

N

1 REPLY

Re: Update/"Save as" a JT file avoiding reading the file twice

Valued Contributor
Valued Contributor

Additionnal question on the same subject.

When doing 2 subsequent and delayed JtkCADImporter::import, I get an access violation in a crt free function on opening the second file.

The free comes from jt81.dll (at DLL offset :   0x001e3d5f, version 8.1.8.3)

 

My general approach here is :

user click 1 :

JtkEntityFactory::init();

LoadFile(file1);

JtkEntityFactory::fini();

 

later on in the application

user click 2 :

JtkEntityFactory::init();

LoadFile(file1 or another file); //CRASH here

JtkEntityFactory::fini();

 

I would like to avoid unloading the DLL and load it everytime.

 

Is there a workaround to avoid this crash ?

 

BTW, would it be possible to get the PDB files of the jt SDK please ?

 

What is JT?

JT is the World’s Most Widely Used 3D File Format for PLM

JT is the common language of PLM and is the world’s most widely used 3D format. JT is the first ISO International Standard ( IS 14306-1) for 3D visualization and collaboration. Compact and accurate, JT is used throughout the product development lifecycle in all major industries to communicate the critical design information typically locked up inside a CAD file.

Siemens PLM Software customers rely on JT to be the most robust 3D visualization format available.

JT Open Factsheet
JT Open Member Resources
JT Open Documentation Technology
JT Open File Format Technology
JT Open Toolkit

Downloadable viewers for Windows Desktop, Windows 10 Universal App, Android and iOS.


Download JT2Go for your platform today Download JT2Go Desktop 64 Bit all languages
Download JT2Go Desktop 32 Bit for English
Windows 10 JT2Go Universal App
Android JT2Go
iOS JT2Go