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). dd>
- iType
- [in] The Type of Endcut(Snipe,Trim,Weld). dd>
- oListEndcutNames
- [out] A list of the available Endcuts. dd>
- Returns:
-
S_OKif 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") - This Example retrieves the list of avaliable Endcuts for Tee ProfileType and Snipe EndcutType.
- Example:
- 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). dd>
- iEndcutType
- [in] The EndcutType(Snipe,Trim,Weld). dd>
- iEndcutName
- [in] The Name of the Endcut sought from GetAvailableEndcuts Method. dd>
- oListOfContextNames
- [out] The Limit Names for the Endcut(Cutbacks & Contextual only). The List will be empty for Cutom Endcut. dd>
- oListEndCutParameters
- [out] A list of Parameters published by the UDF. The default values can be read using this output. dd>
- oListOfEndCutParamNames
- [out] A list of Parameter Names published by the UDF. dd>
- Returns:
-
S_OKif 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 - This Example retrieves the list of avaliable Endcuts for Tee ProfileType and Snipe EndcutType.
- Example: