Esempio n. 1
0
        public override bool Read(GH_IReader reader)
        {
            int num = 2;

            reader.TryGetInt32("ColMode", ref num);
            this.colMode = (ColMode)num;
            return(base.Read(reader));
        }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 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);
     }
 }
Esempio n. 4
0
 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);
     }
 }
Esempio n. 5
0
 public Column() : base("Columns", "Columns", "Add Revit Columns", "Extra", "Hummingbird")
 {
     this.colMode = ColMode.Arch;
     this.Hidden  = false;
 }