Skip to content

Commit

Permalink
Fix Rigid connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Oscarsson committed Jul 15, 2020
1 parent 0ab8fbe commit 7f251c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace FemDesign.GH
{
public class BarsConnectivityRigid: GH_Component
public class BarsConnectivityHinged: GH_Component
{
public BarsConnectivityRigid(): base("Connectivity.Rigid", "Rigid", "Define Rigid end releases for a bar element.", "FemDesign", "Bars")
public BarsConnectivityHinged(): base("Connectivity.Hinged", "Hinged", "Define hinged releases for a bar element.", "FemDesign", "Bars")
{

}
Expand All @@ -26,12 +26,12 @@ protected override System.Drawing.Bitmap Icon
{
get
{
return FemDesign.Properties.Resources.ConnectivityRigid;
return FemDesign.Properties.Resources.ConnectivityHinged;
}
}
public override Guid ComponentGuid
{
get { return new Guid("4d958eab-ea4a-4753-a6d6-42f9dc27c96b"); }
get { return new Guid("a37aad78-7306-486f-8ef2-57bfd986307d"); }
}
}
}
10 changes: 5 additions & 5 deletions componentsGrasshopper/Bars/BarsConnectivityRigid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace FemDesign.GH
{
public class BarsConnectivityHinged: GH_Component
public class BarsConnectivityRigid: GH_Component
{
public BarsConnectivityHinged(): base("Connectivity.Hinged", "Hinged", "Define hinged releases for a bar element.", "FemDesign", "Bars")
public BarsConnectivityRigid(): base("Connectivity.Rigid", "Rigid", "Define Rigid end releases for a bar element.", "FemDesign", "Bars")
{

}
Expand All @@ -20,18 +20,18 @@ protected override void RegisterOutputParams(GH_OutputParamManager pManager)
}
protected override void SolveInstance(IGH_DataAccess DA)
{
DA.SetData(0, FemDesign.Bars.Connectivity.Hinged());
DA.SetData(0, FemDesign.Bars.Connectivity.Rigid());
}
protected override System.Drawing.Bitmap Icon
{
get
{
return FemDesign.Properties.Resources.ConnectivityHinged;
return FemDesign.Properties.Resources.ConnectivityRigid;
}
}
public override Guid ComponentGuid
{
get { return new Guid("a37aad78-7306-486f-8ef2-57bfd986307d"); }
get { return new Guid("4d958eab-ea4a-4753-a6d6-42f9dc27c96b"); }
}
}
}

0 comments on commit 7f251c4

Please sign in to comment.