All ITK functions of group TCTYPE supported by T4x.
More...
|
| TCTYPE_ask_name HexTypeTag |
| This function calls the ITK pipe server function TCTYPE_ask_name to retrieve the type name of a given type tag. More...
|
|
| TCTYPE_ask_object_type ObjectTag |
| This function calls the ITK pipe server function TCTYPE_ask_object_type to retrieve the object type tag of a given object tag. More...
|
|
| TCTYPE_construct_create_input ObjectTypeTag AttributeName1 AttributeValue1 ... |
| This function calls the ITK pipe server function TCTYPE_construct_create_input to create a new create input tag. More...
|
|
| TCTYPE_copy_object HexTcObjectTag args |
| This function calls the ITK pipe server function TCTYPE_copy_item to create a new Item based on a given Item. More...
|
|
| TCTYPE_create_object CreateInputTag |
| This function calls the ITK pipe server function TCTYPE_create_object to create an object, which has been previously prepared with TCTYPE_construct_create_input. ATTENTION - do not forget to save the new object. More...
|
|
| TCTYPE_find_alltypes_for_class ClassName |
| This function calls the ITK pipe server function TCTYPE_find_alltypes_for_class to get a list of type-names for the given class. More...
|
|
| TCTYPE_find_type TypeName |
| This function calls the ITK pipe server function TCTYPE_find_type to find the typeTag for the given type name. More...
|
|
| TCTYPE_simplified_create_object2 ObjectTypeName AttributeName1 AttributeValue1 ... |
| This function calls the ITK pipe server function TCTYPE_construct_create_input and TCTYPE_create_item to create a new Item based on a given object type. To store the object it is necessary to save the new object by using the ITK::AOM_save_with_extensions or ITK::AOM_save or ITK::ITEM_save_item. More...
|
|
All ITK functions of group TCTYPE supported by T4x.
This group specifies all ITK functions of group TCTYPE for which wrappers have been defined in T4x
◆ TCTYPE_ask_name()
ITK::TCTYPE_ask_name |
|
|
HexTypeTag |
|
|
| |
This function calls the ITK pipe server function TCTYPE_ask_name to retrieve the type name of a given type tag.
- Parameters
-
HexTypeTag | Teamcenter type tag |
- Returns
- List of ITK_ok (=0) and HexTypeName or list of ITK status and error message
◆ TCTYPE_ask_object_type()
ITK::TCTYPE_ask_object_type |
|
|
ObjectTag |
|
|
| |
This function calls the ITK pipe server function TCTYPE_ask_object_type to retrieve the object type tag of a given object tag.
- Parameters
-
ObjectTag | Teamcenter object tag |
- Returns
- List of ITK_ok (=0) and HexObjectTypeTag or list of ITK status and error message
◆ TCTYPE_construct_create_input()
ITK::TCTYPE_construct_create_input |
|
|
ObjectTypeTag AttributeName1 AttributeValue1 ... |
|
|
| |
This function calls the ITK pipe server function TCTYPE_construct_create_input to create a new create input tag.
- Parameters
-
ObjectTypeTag | Teamcenter type tag in the Tcl string format |
AttributeName1 | string = property name ex. item_id, items_tag, object_name, |
AttributeValue1 | string = can contain date, hexStringTag, string, number, logical (true/false) in string form |
... | |
AttributeNameX | string = property name ex. item_id, items_tag, object_name, |
AttributeValueX | string = can contain date, hexStringTag, string, number, logical (true/false) in string form |
Syntax: ::ITK::TCTYPE_construct_create_input <ObjectTypeTag> opt. <AttributeName1> <AttributeValue1> ... <AttributeNameX> <AttributeValueX>
AttributeName and Attribute Value must be given paarwise
property value can contain: date / string / hextag / number / boolean in string form
logical : true /false
date: format %Y.%m.%d %H:%M:%S
Sample code sequence
3 set TypeTag [
lindex $ItkStatus 1]
6 set createInputTag [
lindex $ItkStatus 1]
- Returns
- List of ITK_ok (=0) and create input tag or list of ITK status and error message
◆ TCTYPE_copy_object()
ITK::TCTYPE_copy_object |
|
|
HexTcObjectTag args |
|
|
| |
This function calls the ITK pipe server function TCTYPE_copy_item to create a new Item based on a given Item.
- Parameters
-
HexTcObjectTag,Teamcenter | item tag in the Tcl string format |
args | (optional), list of the Id string and revision Id string of the new Item. if not specified, the the system will automatically generate an Item ID and Revision ID. |
- Returns
- List of ITK_ok (=0) and Item tag, ItemRevision tag or list of ITK status and error message
◆ TCTYPE_create_object()
ITK::TCTYPE_create_object |
|
|
CreateInputTag |
|
|
| |
This function calls the ITK pipe server function TCTYPE_create_object to create an object, which has been previously prepared with TCTYPE_construct_create_input. ATTENTION - do not forget to save the new object.
- Parameters
-
CreateInputTag | Teamcenter create input tag in the Tcl string format |
Sample code sequence
3 set TypeTag [
lindex $ItkStatus 1]
6 set createInputTag [
lindex $ItkStatus 1]
9 set newObjectTag [
lindex $ItkStatus 1]
- Returns
- List of ITK_ok (=0) and object tag or list of ITK status and error message
◆ TCTYPE_find_alltypes_for_class()
ITK::TCTYPE_find_alltypes_for_class |
|
|
ClassName |
|
|
| |
This function calls the ITK pipe server function TCTYPE_find_alltypes_for_class to get a list of type-names for the given class.
- Parameters
-
ClassName | Teamcenter object class name |
- Returns
- List of ITK_ok (=0) and list of type names or list of ITK status and error message
◆ TCTYPE_find_type()
ITK::TCTYPE_find_type |
|
|
TypeName |
|
|
| |
This function calls the ITK pipe server function TCTYPE_find_type to find the typeTag for the given type name.
- Parameters
-
TypeName | Teamcenter object type name |
Sample code sequence
3 set TypeTag [
lindex $ItkStatus 1]
- Returns
- List of ITK_ok (=0) and type tag or list of ITK status and error message
◆ TCTYPE_simplified_create_object2()
ITK::TCTYPE_simplified_create_object2 |
|
|
ObjectTypeName AttributeName1 AttributeValue1 ... |
|
|
| |
This function calls the ITK pipe server function TCTYPE_construct_create_input and TCTYPE_create_item to create a new Item based on a given object type. To store the object it is necessary to save the new object by using the ITK::AOM_save_with_extensions or ITK::AOM_save or ITK::ITEM_save_item.
- Parameters
-
ObjectTypeName | |
AttributeName1 | string = property name ex. item_id, items_tag, object_name, |
AttributeValue1 | string = can contain date, hexStringTag, string, number, logical (true/false) in string form |
... | |
AttributeNameX | string = property name ex. item_id, items_tag, object_name, |
AttributeValueX | string = can contain date, hexStringTag, string, number, logical (true/false) in string form |
Syntax: ::ITK::TCTYPE_simplified_create_object2 <ObjectType> <AttributeName1> <AttributeValue1> ... <AttributeNameX> <AttributeValueX>
at least one pair of AttributeName and Attribute Value must be given
property value can contain: date / string / hextag / number / boolean in string form
logical : true /false
date: format %Y.%m.%d %H:%M:%S
Sample code sequence
3 set ObjectTag [
lindex $ItkStatus 1]
- Returns
- List of ITK_ok (=0) and Item tag, ItemRevision tag or list of ITK status and error message