ITK Programming-Create dataset.

 

 

 

 

 

 

 

 

 

 

 

 

ITK Programming for Create dataset only

#include<stdio.h>

#include<tc/tc.h>

#include<ae/datasettype.h>

#include<ae/dataset.h>

#include<tccore/aom.h>

#include<ae/ae.h>

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

{

int ifail=0;

tag_t tDatasettype=NULLTAG;

tag_t tNewDataset=NULLTAG;

ifail = ITK_init_module(“infodba”,”infodba password”,”dba”);

if(ifail != ITK_ok)

{

printf(“\nLogin Failed”);

}

else

{

printf(“\nLogin Successful.”);

ifail=AE_find_datasettype(“Text”,&tDatasettype);

if(ifail!= NULLTAG)

{

printf(“\ndataset type found”);

}

else

{

printf(“\ndataset type not found”);

}

ifail=AE_create_dataset_with_id(tDatasettype,”Test”, “Test_01″,”001″,”1” ,&tNewDataset);

if(ifail != NULLTAG)

{

printf(“\ndataset Created”);

}

else

{

printf(“\ndataset not created”);

}

AOM_refresh(tNewDataset,TRUE);

AOM_save(tNewDataset);

}

ITK_exit_module(TRUE);

printf(“\nUtility completed…”);

return 0;

}

 


  Popular Teamcenter Article published

ITK Programming-Item Creation

ITK Programming-Teamcenter Login

Template for PreAction custom Exit DLL Program

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


 

Leave a Reply

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