cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Toolkit code to import and output model names

SP_10210577
11-Garnet

Toolkit code to import and output model names

Hello, I'm trying toolkit for the first time.


I'm learning by referring to related documents, but I'm struggling because I don't know how to configure them.

I tried the code below briefly, but it doesn't work.

Can you tell me what I did wrong?

Thank you.

 

/////////////////////////////////////////////////////////////////////////////////////////////

#include <stdio.h>
#include <ProToolkit.h>
#include <ProMenu.h>
#include <ProMdl.h>
#include <ProObjects.h>
#include <ProMenuBar.h>
#include <toolkitapi.h>

int main(void) {
ProError status;
ProMdl current_model;
ProName model_name;


status = ProMdlCurrentGet(&current_model);

status = ProMdlNameGet(current_model, model_name);

printf("current model name : %ls\n", model_name);

 

return 0;
}

 

 

 

 

 

 

0 REPLIES 0
Top Tags