SfmEndcutManager (Object)

Interface to get information on available endcuts from catalog.
Role: Allows to see avaiable endcuts and their reuired inputs.

Methods


Func GetAvailableEndcuts( iSectionFamily, iEndcutType) As
Gets the list of available endcuts for a given family and type from the catalog.
Parameters:
iSectionFamily
[in] The name of the Section Family(Tee,Angle,Bulb).
iType
[in] The Type of Endcut(Snipe,Trim,Weld).
oListEndcutNames
[out] A list of the available Endcuts.
Returns:
S_OK if everything ran ok
Example:
This Example retrieves the list of avaliable Endcuts for Tee ProfileType and Snipe EndcutType.
 Dim FactoryObj As SfmOperationFactory
 Set FactoryObj = PartObj.GetCustomerFactory("SfmOperationFactory")
 Dim EndCutManagerObj As SfmEndcutManager
 Set EndCutManagerObj = FactoryObj.GetEndcutManager
 Dim ListOfEndCutNames() As Variant
 ListOfEndCutNames = EndCutManagerObj.GetAvailableEndcuts("Tee", "Snipe")
 
Sub GetEndcutSpecifications( iSectionFamily, iEndcutType, iEndcutName, oListOfContextNames, oListEndCutParameters, oListOfEndCutParamNames)
Gets the Specifications required to define a particular Endcut.
Parameters:
iSectionFamily
[in] The Section Family(Tee,Angle,Bulb).
iEndcutType
[in] The EndcutType(Snipe,Trim,Weld).
iEndcutName
[in] The Name of the Endcut sought from GetAvailableEndcuts Method.
oListOfContextNames
[out] The Limit Names for the Endcut(Cutbacks & Contextual only). The List will be empty for Cutom Endcut.
oListEndCutParameters
[out] A list of Parameters published by the UDF. The default values can be read using this output.
oListOfEndCutParamNames
[out] A list of Parameter Names published by the UDF.
Returns:
S_OK if everything ran ok
Example:
This Example retrieves the list of avaliable Endcuts for Tee ProfileType and Snipe EndcutType.
 Dim FactoryObj As SfmOperationFactory
 Set FactoryObj = PartObj.GetCustomerFactory("SfmOperationFactory")
 Dim EndCutManagerObj As SfmEndcutManager
 Set EndCutManagerObj = FactoryObj.GetEndcutManager
 Dim ListOfContextNames, ListOfUDFParamNames As Variant
 Dim ListOfUDFParameters As SfmConnectionParameters
 EndCutManagerObj.GetEndcutSpecifications "Tee", "Snipe", "T-CTX-PLATE", ListOfContextNames, ListOfUDFParameters, ListOfUDFParamNames