Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAPriChangeHoleForm.frm
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2004
 ***********************************************************************
   Purpose:      Changes hole description
   Assumtions:   Looks for CAAPriChangeHoleVBA.htm in the DocView
   Author:
   Languages:    MS VBA
   Locales:      English
   CATIA Level:  V5R13
 ***********************************************************************
 ------------
 Get the description you wish, by default pre-select the first description
 ------------
 ------------
 Loop on the selection content, we expect to find a hole
 ------------
 ------------
 There is a hole object in the selection
 ------------
 Get the hole limit
 ------------
 ------------
 Update the part when set the hole limit to "UpToNext"
 ------------
 ------------
 Get the hole diameter and its tolerances
 ------------
 ------------
 Set the hole description parameter
 ------------
 ------------
 Get the hole type
 ------------
 ------------
 Get the hole thread definition
 ------------
 ------------
 Update the part when hole diameter is smaller than tread diameter
 and hole limit is greater than thread depth, before apply new values
 -----------
 ------------
 Update the part
 ------------
 ------------
 Unload the form
 ------------
 ------------
 The string as delimiter between input in the text file
 ------------
 ------------
 Get the CATIA file system
 ------------
 ------------
 Get the file containing the hole parameters
 ------------
 ------------
 Get the text stream
 ------------
 ------------
 Read the hole parameters
 ------------