ITK Programming-Teamcenter Login

 

 

 

 

 

 

 

 

 

 

 

 

 

ITK Programming-Teamcenter Login

ITK Programming for Teamcenter Login Program

#include<stdio.h>
#include<tc/tc.h>
#include<stdlib.h>
#include<string.h>
#include<tc/tc.h>
#include<stdio.h>
#include<tccore/item.h>
#include<tccore/aom_prop.h>
#include<tccore/aom.h>
#include<property/nr.h>
#include<stdlib.h>
#include<fclasses/tc_string.h>
#include <stdlib.h>
#include <fstream>
#include <string>
#include <sstream>
#include <iostream>
#include <epm/epm_toolkit_tc_utils.h>

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

{

int Ifail=0;

char* cUser=NULL;

char* cPass=NULL;

char* cGrp=NULL;

cUser=ITK_ask_cli_argument(“-u=”);

cPass=ITK_ask_cli_argument(“-p=”);

cGrp=ITK_ask_cli_argument(“-g=”);

if (tc_strcmp(cUser, NULL) == 0 || tc_strcmp(cUser, “”) == 0 ||tc_strcmp(cPass, NULL) == 0 || tc_strcmp(cPass, “”) == 0  ||tc_strcmp(cGrp, NULL) == 0|| tc_strcmp(cGrp, “”) == 0 )

{

printf(“TC login unsuccessfully”);

}

else

{

Ifail=ITK_init_module(cUser,cPass,cGrp);

//Ifail=ITK_init_module(“infodba”,”infodba”,”dba”);

//Ifail=ITK_auto_login();

if (Ifail!=ITK_ok)

{

printf(“TC login unsuccessfully”);

}

else

{

printf(“\n \n TC login successfully”);

}

}

ITK_exit_module(TRUE);

return 0;

}

 


  Popular Teamcenter Article published

Template for PreAction custom Exit DLL Program

https://globalplm.com/template-for-precondition-custom-exit-dll-program/

Template for Batch ITK Program

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


 

18 thoughts on “ITK Programming-Teamcenter Login”

Leave a Reply

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