Skip to main content
1-Visitor
March 27, 2015
Question

Save a Copy using J-link

  • March 27, 2015
  • 1 reply
  • 2609 views

Hi!

 

Has anyone used the J-link to Save a Copy?

I want to use this to make the copied items stay in the same encoding as in the example.

 

 

Thanks!

1 reply

1-Visitor
June 15, 2016

I wanted a 'save a copy' method too, but couldn't find one.

4-Participant
June 20, 2016

Hi,

I used the following function:

ModelDescriptor_CreateFromFileName  

static ModelDescriptorModelDescriptor_CreateFromFileName (String FileName)

  

    Creates a new model descriptor object, given a file name string.
See Also:
ModelDescriptor.GetFileName(), pfcModel.ModelDescriptor_Create(ModelType, String, /*optional*/ String), BaseSession.GetModelFromFileName(String), BaseSession.RetrieveModel(ModelDescriptor)
Manual References:
Models: Model Descriptors, Models: Model Descriptors
Parameters:
FileName
The file name, of the form "<name>.<extension>".
Returns:
The new model descriptor object.

and it is working 😉