SfmEndcut (Object)

Interface to manage the EndCut on Super Profile.
Role: Allows managing (mainly retreiving parameters)on existing EndCut.
See also:
, ,

Methods


Func GetConnectionCoordinate() As
Gets thelocation of existing endcut.
Parameters:
oCoordinate
[out] The Coordinates.
Returns:
S_OK if everything ran ok
Example
:
The example retrieves endcut Coordinates defined on start end.
 Dim EndcutObj As SfmEndcut
 Set EndcutObj = StiffObj.GetEndcut(1)
 Dim Coord() As Variant
 Dim x,y,z as Double
 Coord() = EndcutObj.GetConnectionCoordinate
 x = Coord(0)
 y = Coord(1)
 z = Coord(2)
 
Sub GetEndcutinfo( oTypeOfEndcut, oNameOfEndcut, oListOfEndcutContexts, oListOfEndcutParams, oListOfEndCutParamNames)
Gets the information on existing Endcut.
Parameters:
oTypeOfEndcut
[out] Type of Endcut(Snipe,Trim,Weld).
oNameOfEndcut
[out] Name of the Endcut.
oListOfEndcutContexts
[out] List of Contexts (Limits) defined for Cutbacks and Contextual Endcuts. The list will be empty for custom UDF based endcuts.
oListOfEndcutParams
[out] List of Parameters set when defining the Endcut.
oListOfEndCutParamNames
[out] List of Parameter Names set when defining the Endcut.
Returns:
S_OK if everything ran ok
Example
:
The example retrieves endcut information.
 Dim EndcutObj As SfmEndcut
 Set EndcutObj = StiffObj.GetEndcut(1)
 Dim EndCutName, EndCutType As String
 Dim ContextList  As SfmReferences
 Dim ParamList As SfmConnectionParameters
 Dim ParamNamesList() As Variant
 EndcutObj.GetEndcutinfo EndCutType, EndCutName, ContextList, ParamList, ParamNamesList
 
Sub UpdateConnectionsSet()
Updates the Connection Set.
Returns:
S_OK if everything ran ok
Example
:
The example Updates the Connection Set.
 Dim EndcutObj As SfmEndcut
 Set EndcutObj = StiffObj.GetEndcut(1)
 EndcutObj.UpdateConnectionsSet