Skip to content

Commit

Permalink
Update component icon position in ribon
Browse files Browse the repository at this point in the history
  • Loading branch information
hrntsm committed Aug 29, 2021
1 parent a7f5721 commit 7aa4351
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HoaryFox/Component/Geometry/Axes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public class Axis : GH_Component
private readonly List<string> _storyStr = new List<string>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.secondary;

public Axis()
: base("Axis", "Axis",
"Description",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Geometry/Stb2Brep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class Stb2Brep : GH_Component
private ST_BRIDGE _stBridge;
private readonly List<List<Brep>> _brepList = new List<List<Brep>>();

public override GH_Exposure Exposure => GH_Exposure.primary;

public Stb2Brep()
: base("Stb to Brep", "S2B",
"Display ST-Bridge model in Brep",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Geometry/Stb2Line.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class Stb2Line : GH_Component
private List<Point3d> _nodes = new List<Point3d>();
private readonly List<List<Line>> _lineList = new List<List<Line>>();

public override GH_Exposure Exposure => GH_Exposure.primary;

public Stb2Line()
: base("Stb to Line", "S2L",
"Display ST-Bridge model in line",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/BeamNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class BeamNameTag : GH_Component
private readonly List<Point3d> _framePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.secondary;

public BeamNameTag()
: base("Beam Name Tag", "BeamTag",
"Display Beam Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/BraceNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class BraceNameTag : GH_Component
private readonly List<Point3d> _framePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.tertiary;

public BraceNameTag()
: base("Brace Name Tag", "BraceTag",
"Display Brace Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/ColumnNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class ColumnNameTag : GH_Component
private readonly List<Point3d> _framePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.primary;

public ColumnNameTag()
: base("Column Name Tag", "ColumnTag",
"Display Column Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/GirderNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class GirderNameTag : GH_Component
private readonly List<Point3d> _framePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.secondary;

public GirderNameTag()
: base("Girder Name Tag", "GirderTag",
"Display Girder Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/PostNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class PostNameTag : GH_Component
private readonly List<Point3d> _framePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.primary;

public PostNameTag()
: base("Post Name Tag", "PostTag",
"Display Post Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/SlabNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class SlabNameTag : GH_Component
private readonly List<Point3d> _platePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.quarternary;

public SlabNameTag()
: base("Slab Name Tag", "SlabTag",
"Display Slab Name Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Name/WallNameTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class WallNameTag : GH_Component
private readonly List<Point3d> _platePos = new List<Point3d>();

public override bool IsPreviewCapable => true;
public override GH_Exposure Exposure => GH_Exposure.quarternary;

public WallNameTag()
: base("Wall Name Tag", "WallTag",
"Display Wall Name Tag",
Expand Down
1 change: 1 addition & 0 deletions HoaryFox/Component/Tag/Section/BeamSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class BeamSecTag : GH_Component
private int _size;
private GH_Structure<GH_String> _frameTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();
public override GH_Exposure Exposure => GH_Exposure.secondary;

public BeamSecTag()
: base("Beam Section Tag", "BeamSec",
Expand Down
1 change: 1 addition & 0 deletions HoaryFox/Component/Tag/Section/BraceSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class BraceSecTag : GH_Component
private int _size;
private GH_Structure<GH_String> _frameTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();
public override GH_Exposure Exposure => GH_Exposure.tertiary;

public BraceSecTag()
: base("Brace Section Tag", "BraceSec",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Section/ColumnSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class ColumnSecTag : GH_Component
private int _size;
private GH_Structure<GH_String> _frameTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();
public override GH_Exposure Exposure => GH_Exposure.primary;


public ColumnSecTag()
: base("Column Section Tag", "ColumnSec",
Expand Down
1 change: 1 addition & 0 deletions HoaryFox/Component/Tag/Section/GirderSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class GirderSecTag : GH_Component
private int _size;
private GH_Structure<GH_String> _frameTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();
public override GH_Exposure Exposure => GH_Exposure.secondary;

public GirderSecTag()
: base("Girder Section Tag", "GirderSec",
Expand Down
1 change: 1 addition & 0 deletions HoaryFox/Component/Tag/Section/PostSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class PostSecTag : GH_Component
private int _size;
private GH_Structure<GH_String> _frameTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();
public override GH_Exposure Exposure => GH_Exposure.primary;

public PostSecTag()
: base("Post Section Tag", "PostSec",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Section/SlabSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class SlabSecTag : GH_Component
private GH_Structure<GH_String> _plateTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();

public override GH_Exposure Exposure => GH_Exposure.quarternary;

public SlabSecTag()
: base("Slab Section Tag", "SlabSec",
"Display Slab Section Tag",
Expand Down
2 changes: 2 additions & 0 deletions HoaryFox/Component/Tag/Section/WallSecTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class WallSecTag : GH_Component
private GH_Structure<GH_String> _plateTags = new GH_Structure<GH_String>();
private List<Point3d> _tagPos = new List<Point3d>();

public override GH_Exposure Exposure => GH_Exposure.quarternary;

public WallSecTag()
: base("Wall Section Tag", "WallSec",
"Display Wall Section Tag",
Expand Down

0 comments on commit 7aa4351

Please sign in to comment.