public override bool Read(GH_IReader reader) { int num = 2; reader.TryGetInt32("ColMode", ref num); this.colMode = (ColMode)num; return(base.Read(reader)); }
private void Menu_StrucAngleClicked(object sender, EventArgs e) { if (this.colMode != ColMode.StrucAngle) { this.RecordUndoEvent("Angle Driven Structural Column Mode"); this.colMode = ColMode.StrucAngle; this.ExpireSolution(true); } }
private void Menu_ArchClicked(object sender, EventArgs e) { if (this.colMode != ColMode.Arch) { this.RecordUndoEvent("Architectural Column Mode"); this.colMode = ColMode.Arch; this.ExpireSolution(true); } }
private void Menu_StrucVertClicked(object sender, EventArgs e) { if (this.colMode != ColMode.StrucVert) { this.RecordUndoEvent("Vertical Structural Column Mode"); this.colMode = ColMode.StrucVert; this.ExpireSolution(true); } }
public Column() : base("Columns", "Columns", "Add Revit Columns", "Extra", "Hummingbird") { this.colMode = ColMode.Arch; this.Hidden = false; }