Category Sheetmetal, Object ProSmt

Function ProSmtPartBendtableApply


Description
Applies a specified bend table to a sheet metal part and causes a regeneration.
Synopsis
#include <ProSheetmetal.h>
ProErrorProSmtPartBendtableApply(
ProPart smt_part
/* (In)
The sheet metal part
*/
ProName bend_name
/* (In)
The name of the bend table The name of the bend table has to be specified without the extension .bnd of the bend table file. Set the config option "pro_sheet_met_dir" to point to the directory that contains the bend tables.
*/
ProBoolean from_file
/* (In)
If PRO_B_TRUE, the table is loaded from the file, and supersedes any table that is already in memory. If PRO_B_FALSE, the table is loaded from the file only if it is not already in memory.
*/
)
Returns
PRO_TK_NO_ERROR
PRO_TK_BAD_CONTEXTThe part is not sheet metal
PRO_TK_CANT_OPENCouldn't find such a table in memory, nor could open the file.

Manual References:

  1. Production Applications: Sheetmetal: Bend Tables and Dimensions
  2. Production Applications: Sheetmetal: Bend Tables and Dimensions