Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAASfdCreateConnection.CATScript
Cevap:
---------------------------------------------------------------------------
COPYRIGHT DASSAULT SYSTEMES 2011
 ****************************************************************************

 Purpose:       To edit connections: endcuts and slots.

 Assumptions:   The Part document CAASfdCreateConnection.CATPart should be active

 Author:
 Languages:     VBScript
 Version:       V5R21
 Locales:       English
 CATIA Level:   V5R21

 ****************************************************************************
Get the Factory Object
Get the Manager Object
Get the Stiffeners,Plates and Members
Get the OperationFactory Object
Get the EndcutManager Object
APPLYING ENDCUTS ON STIFFENER2
Checking list of available endcuts for a given family and type
Gets the Specifications required to define a particular Endcut
Read the Name of Context
Checking the UDFParameters and Setting their values
Defining Limit
Get FunctionFactory Object
Adding Limit
Creating EndCut
Update the Connection Set
Applying EndCut at Start Of Stiffener with Default Parameter values
Checking list of available endcuts
Gets the Specifications required to define Endcut
In this case there are No UDFParameters
Define Limit
Creating EndCut
Update the Connection Set
APPLYING ENDCUTS ON STIFFENER1
Applying Endcut at Start Extremity with Default Parameter values
Checking list of available endcuts for a given family and type
Gets the Specifications required to define Endcut
Creating Endcut
Update the Connection Set
Applying Endcut at End Extremity with Default Parameter values
Update the Connection Set
APPLYING ENDCUTS ON MEMBER1
Applying Endcut at Start Extremity
Checking list of available endcuts for a given family and type
In this case there are No UDFParameters
Update the Connection Set
Applying Endcut at End Extremity
In this case there are no Contexts
Update the Connection Set
APPLYING ENDCUTS ON MEMBER2
Applying Endcut at Start Extremity
Gets the Specifications required to define a particular Endcut
Creating Endcut with Default Parameter values
Update the Connection Set
Applying Endcut at End Extremity
Update the Connection Set
********CREATING SLOTS*********
Get OperationFactory Object
Gets the list of available Slots from catalog for a given Profile(Stiffener/Member)
Gets the Slot Parameters and Names for a particular slot from catalog
Get the object of SfmSlots
Create References for Penetrating and Penetrating Objects
Create Slot on Plate Using a Stiffener
Update the Connection Set
Gets the Slot Parameters and Names for a particular slot from catalog
Get the object of SfmSlots
Create Slot on Profile Using a Stiffener
Update the Connection Set
To Update the Part