Object ProCavlayrule

Function ProCavlayruleFileWrite


Description
Save the cavity layout rule to file. This file can be read both from UI and Toolkit to set the rule.
Synopsis
#include <ProCavlayrule.h>
ProErrorProCavlayruleFileWrite(
ProCvLayoutRule cvlrule
/* (In)
Pointer to the cavity layout rule handle;
*/
ProPath file_name
/* (In)
name of the file to save.
*/
)
Returns
PRO_TK_NO_ERRORThe rule is successfully saved.
PRO_TK_GENERAL_ERRORCannot save the rule.

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )