SpeckleGrasshopper/ObjectCreation/ConvertSpeckleObject.cs
/// <summary>
/// Handles the change to the selected type.
/// </summary>
/// <param name="myType"></param>
Handles the change to the selected type.
Handles the change to the selected type .
public void SwitchToType(Type myType)
    {
      if (SelectedType == myType) return;
      Message = myType.Name;
      SelectedType = myType;
      Params.Output[0].NickName = myType.Name;
      Params.OnParametersChanged();
      ExpireSolution(true);
    }
public void SwitchToType ( Type myType ) { if ( SelectedType == myType ) return ; Message = myType . Name ; SelectedType = myType ; Params . Output [ 0 ] . NickName = myType . Name ; Params . OnParametersChanged ( ) ; ExpireSolution ( true ) ; }
Handles the change to the selected type.
Handles the change to the selected type .
myType
Type
None