T4EA  AIG_19.2 C8891 A24697
Teamcenter Gateway for Enterprise Applications API Reference
T4X::CUSTOM::MAPPING::TOOLBOX Namespace Reference

Functions

 createTC_Object ItemId ItemName ItemRevisionId ItemType args
 Customer specific function for the creation of a Tc item. More...
 
 createTC_Object2 ItemId ItemName ItemRevisionId ItemType ItemArgs RevArgs args
 Customer specific function for the creation of a Tc item. More...
 
 importNamedReference ItemRevisionTag RelationName DatasetType DatasetName ReferenceName OriginalFileName FileName args
 Customer specific function for the creation of a Tc item. More...
 
 saveItemWithUnlock TcItemTag args
 This function will save a TC item using ITEM_save_item including the corresponding AOM_unlock. More...
 
 selectTC_Object ItemRevisionId args
 Customer specific select function to identify the corresponding target item revision. More...
 
 selectTC_ScheduleObject ObjectType ItemId args
 Customer specific select function to identify the corresponding target ScheduleTargetObject. More...
 

Function Documentation

◆ createTC_Object()

T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object   ItemId ItemName ItemRevisionId ItemType args  

Customer specific function for the creation of a Tc item.

Parameters
ItemIdif the ItemId equals "" the next free id will be created automatically
ItemName
ItemRevisionId
ItemType
argslist of additional attribute name and value pairs like: object_desc "description" object_name "test"
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ createTC_Object2()

T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object2   ItemId ItemName ItemRevisionId ItemType ItemArgs RevArgs args  

Customer specific function for the creation of a Tc item.

Parameters
ItemIdif the ItemId equals "" the next free id will be created automatically
ItemName
ItemRevisionId
ItemType
ItemArgslist of additional attribute name and value pairs for the Item like: object_desc "description" object_name "test"
RevArgslist of additional attribute name and value pairs for the Item Revision like: object_desc "description" object_name "test"
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ importNamedReference()

T4X::CUSTOM::MAPPING::TOOLBOX::importNamedReference   ItemRevisionTag RelationName DatasetType DatasetName ReferenceName OriginalFileName FileName args  

Customer specific function for the creation of a Tc item.

Parameters
ItemRevisionTag
RelationNamerelation between item revision and dataset
DatasetType
DatasetName
ReferenceName
OriginalFileNameonly file name with extension
FileNamefile name with extension and path
Returns
Status OK / ERROR

◆ saveItemWithUnlock()

T4X::CUSTOM::MAPPING::TOOLBOX::saveItemWithUnlock   TcItemTag args  

This function will save a TC item using ITEM_save_item including the corresponding AOM_unlock.

Parameters
TcItemTagTeamcenter item tag in the Tcl string format
Returns
OK or Error with message as TCL list

◆ selectTC_Object()

T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_Object   ItemRevisionId args  

Customer specific select function to identify the corresponding target item revision.

Parameters
ItemRevisionIdLATEST-get the latest working / ITEM-get itemTag not itemRevTag / <revisionId>-get the specified itemRevTag
argslist of additional attribute name and value pairs like: item_id "122" object_name "test"
Remarks
The attributes name value pairs must be the unique key attributes of the Item class, which are defined in the list of MultiFieldKey Constant. Other attributes will not be used to find the corresponding Item or Item Revision.
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ selectTC_ScheduleObject()

T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_ScheduleObject   ObjectType ItemId args  

Customer specific select function to identify the corresponding target ScheduleTargetObject.

Parameters
ObjectType
ItemId
Returns
list of Status and ObjectTag or HexErrorMessage