res_dra_get_res_file_by_name | (szFilename,iSourceFileId,iFileType,iParamSetId) |
Description: | ||
This function returns information about an attached file. | ||
Input: | ||
STRING | szFileName [max 256] | The attached source file name. |
Output: | ||
INTEGER | iSourceFileId | Internal database ID of the attached file. |
INTEGER | iFileType | Internal handle not intended for usage for the PCL programmer. |
INTEGER | iParamSetId | Internal handle not intended for usage for the PCL programmer. |
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
MSG_RES_CANNOTOPENFILE – File does not exist. MSG_RES_DRA_SRC_FILE_UNKNOWN – Filename not saved in the Patran database. |
res_dra_detach_file | (src_file_id,result_type,paramrset_id) |
Description: | ||
This function returns information about an attached file. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
res_data_function | (register, location, register_type, function) |
Description: | ||
This function specifies a format function used to determine the data values of a register. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |