|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
Functions | |
| TCCORE_API int | DESIGN_create_design (const char *design_id, const char *design_desc, const tag_t uom_tag, const char *design_name, const char *design_type_name, const char *rev_id, tag_t *design_tag, tag_t *design_rev_tag) |
| TCCORE_API int | DESIGN_rev_ask_associated_part_revs (tag_t design_rev, int *part_revs_count, tag_t **part_revs) |
| TCCORE_API int DESIGN_create_design | ( | const char * | design_id, |
| const char * | design_desc, | ||
| const tag_t | uom_tag, | ||
| const char * | design_name, | ||
| const char * | design_type_name, | ||
| const char * | rev_id, | ||
| tag_t * | design_tag, | ||
| tag_t * | design_rev_tag | ||
| ) |
Creates a Design object.
The function returns:
| design_id | (I) Identification number for the Design. A null is allowed. If null, the system will automatically generate a design_id. |
| design_desc | (I) Description for the Design. This can be a null. |
| uom_tag | (I) Tag of Unit of Measure to be assign to newly created Design object. It may be the NULLTAG. For more information, refer to the ITEM_set_unit_of_measure function. |
| design_name | (I) Common name or short description for the Design. A null is allowed. |
| design_type_name | (I) Specify a defined Design type |
| rev_id | (I) Identification string (revision ID) of the Part Revision being created. A null is allowed, in which case the system will automatically generate a revision ID. |
| design_tag | (O) Tag for identifying the newly created Design object. |
| design_rev_tag | (O) Tag for identifying the newly created Design Revision object. |
| TCCORE_API int DESIGN_rev_ask_associated_part_revs | ( | tag_t | design_rev, |
| int * | part_revs_count, | ||
| tag_t ** | part_revs | ||
| ) |
Retrieves the Part Revision objects associated as secondary to the Design Revision object, via the "TC_Is_Represented_by" relation.
The function returns:
| design_rev | (I) Tag of the Design Revision object |
| part_revs_count | (O) Number of associated Part Revision objects |
| part_revs | (OF) part_revs_count Array of associated Part Revision objects |