Template for Batch ITK Program

 

 

 

 

 

 

 

 

 

 

 

 

 

Template for Batch ITK Program

For ITK Customization,please see below basic ITK Program Template.

#include<stdio.h>
#include<stdlib.h>
#include<tc\tc.h>
#include<tc\emh.h>

int ITK_user_main(int argc, char *argv[])

{

int iFail=0;

char *cError=NULLTAG;

char cUsername=ITK_ask_cli_argument(“-u=”);

char cPasswword=ITK_ask_cli_argument(“-p”);

char Group=ITK_ask_cli_argument(“-g”);

if(argc==4)

{

if(cUsername!=NULL;cPasswword!=NULL;cGroup!=NULL)

{

iFail=ITK_init_module(cUsername,cPasswword,cGroup);

if(iFail==ITK_OK)

{

printf(“\n Login Successfull\n”);

exit(0);                                           ——- >(Entry Point To Teamcenter Session)

}

else

{

EMH_ask_error_text(iFail,&cError);

printf(“\nLogin Unsuccessfull %s\n”,cError);

}

}

else

{

printf(“Enter the value of Usernane=?,Password=?,Name=?”);

}

}

else

{

printf(“Arguments are less or more”);

}

return iFail;

}


                                               Popular Teamcenter Article published

Basic ITK Customization Concept Part-02

Basic ITK Customization Concept Part-01

Teamcenter Customize Error Messages

User Service Mechanism in Teamcenter Customization

Explanation of ITK Login Program

POM Queries in Teamcenter

Teamcenter Workflow Handlers

Microsoft Visual Studio Project configuration for Teamcenter Unified ITK

Teamcenter Unified Customization Basics

Teamcenter Unified Data Model Concept


 


Four Easy Steps to Get Subscribed

Step1:-Enter your Email address and Hit SUBSCRIBE Button.

Step2:-Please check inbox and open the email with the subject lineConfirm your subscription for Global PLM“.

Step3:-Please click “Confirm Follow” and you got the email with the subject” Confirmed subscription to posts on Global PLM”.

Step4:-Voila, You are subscribed.Happy Learning


 

We will more post on  PLM Tutorial–>Teamcenter Customization in upcoming days.

Kindly provide your valuable comment on the below Comment section and We will try to provide the best workaround.

Kindly subscribe to your Email-Id at (https://globalplm.com/) and drop any suggestions/queries to (globalplm2@gmail.com).

Leave a Reply

Your email address will not be published. Required fields are marked *