Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAGsiCreatePtLnAndConvertToDatum.CATScript
Cevap:
Open CATPart
 ----------------------------------------------------------
 Open CATIA Part : CAAGsiCreateJoinSurface.CATPart
 Declarations
 ----------------------------------------------------------
 Array
 ----------------------------------------------------------
 ------------------------------------------------------
 GSD Geometrie Creation
 ------------------------------------------------------
Create two points
Draw line
Generate Intersection Point
update Num_Of_Points_Created parameter
update Percentage_Completed parameter
 ------------------------------------------------------
 Convert to Datum
 ------------------------------------------------------
 Add OpenBodys   for datum point and for datum line
 Loop on element to convert
Isolate Intersection point
Isolate the line
 ------------------------------------------------------
 Delete Useless points
 ------------------------------------------------------
 ------------------------------------------------------
 Change graphic properties(color)  and datum names
 ------------------------------------------------------
 Loop on element to modify
 -- Points
 Change Color of Middle Point
 Rename
 -- Lines
 Change Color of Line
 Rename
 ---------------------------------------------------------------------------
 Save As
 ---------------------------------------------------------------------------
 Note : Optional -  allows to specify where document should be saved
 Save
 ---------------------------------------------------------------------------
 Close
 ---------------------------------------------------------------------------
 -------------------------------------------------------------
 Exit Catia
 -------------------------------------------------------------