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. dd>
- Returns:
-
S_OKif 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). dd>
- oNameOfEndcut
- [out] Name of the Endcut. dd>
- oListOfEndcutContexts
- [out] List of Contexts (Limits) defined for Cutbacks and Contextual Endcuts. The list will be empty for custom UDF based endcuts. dd>
- oListOfEndcutParams
- [out] List of Parameters set when defining the Endcut. dd>
- oListOfEndCutParamNames
- [out] List of Parameter Names set when defining the Endcut. dd>
- Returns:
-
S_OKif 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_OKif everything ran ok- Example :
-
The example Updates the Connection Set.
Dim EndcutObj As SfmEndcut Set EndcutObj = StiffObj.GetEndcut(1) EndcutObj.UpdateConnectionsSet