In the very first post, I wrote simple Teamcenter login program. Following is the step-wise description of Teamcenterlogin program.
All ITK programs must include tc/tc.h. It has the prototype for ITK_init_module and the definition of many standard datatypes, constants, and functions that almost every ITK program requires, such as tag_t and ITK_ok.
Normal Execution of c\c++ program requires main() in same way ITK has ITK_User_main(int argc,char* argv[]) function from which main program gets executed.
ITK_ok gives the return value of ITK functions .it is an integer value .If value return 0 means code runs successfully .and if value return other than 0 means code get failed.
For login into Teamcenter we have two functions
If program fails to login then it returns non -zero value of ITK_ok
Teamcenter ITK Programming uses same data types that are there in C\C++ languages.
Example:- int ,char*, enum ,struct etc
The new APIs use the char* type instead of fixed char array i.e char filesize[50] size in the input and output parameters. The new APIs use dynamic buffering to
replace the fixed-size buffering method.fixed-size array got deprecated from TC 10.1 onwards.
tag_t
tag_t is special data type where All objects in the ITK are identified by tags of C type tag_t. It is a unique identifier of a reference (typed, untyped, or external )
An unset tag_t variable is assigned the NULLTAG for null value
Tags may be compared by use of the C language == and != operators. An unset tag_t
variable is assigned the NULLTAG null value
Example :- tag_t itemTag
if(itemTag==NULLTAG) or if(itemTag!=NULLTAG)
For example, instead of using:
#include “string.h”
You could use:
#include <fclasses/tc_string.h>
fclasses/tc_errno.h
fclasses/tc_limits.h
fclasses/tc_math.h
fclasses/tc_stat.h
fclasses/tc_stdarg.h
fclasses/tc_stddef.h etc
These include files are used in Teamcenter to insulate it from the operating system.
Step1:-Enter your Email address and Hit SUBSCRIBE Button.
Step2:-Please check inbox and open the email with the subject line“Confirm 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).
We will more post on PLM TUTORIAL–>Teamcenter Customization in upcoming days.
Kindly provide your valuable comment on below Comment section and also have you any question kindly ask to ASK QUESTION in FORUM. Our Team will try to provide the best workaround.
View Comments
this is really helpful to start customization ..can you please provide some more help for basic itk programing
For ITK learning this is really really Helpful...Plz provide more itk programs ASAP.
Thank you..
We can add how to use Encryption using auto login where password which has been to utility will be encrypted.
Upload more documents.
For anyone who hopes to find valuable information on that topic, right here is the perfect blog I would highly recommend. Feel free to visit my site Webemail24 for additional resources about Web Design.
Informative articles, excellent work site admin! If you'd like more information about Website Design, drop by my site at Seoranko Cheers to creating useful content on the web!
I like the comprehensive information you provide in your blog. The topic is kinda complex but I'd have to say you nailed it! Look into my page ArticleHome for content about Information Technology.