Exemplo n.º 1
0
 public override void PostProcess()
 {
     SetOrientation(this.FI, this.hand, this.facing);
     HostUtils.CutUncutHost(this.FI, base.cutHost);
     base.CutAndJoin();
     this.OperationFinished = true;
 }
Exemplo n.º 2
0
 /// <summary>
 /// after creation, need to regen doc to get
 /// corrent orientation info.
 /// </summary>
 public override void PostProcess()
 {
     if (this.NewFI != null && this.NewFI.IsValidObject)
     {
         if (facingRefPoint != null)
         {
             adjustFacingByRefPoint(this.NewFI);
         }
         FamilyEditor.SetOrientation(this.NewFI, this.Hand, this.Facing);
         //cuts needs to be inside post process
         //otherwise face change might affect creation of other new instances.
         HostUtils.CutUncutHost(this.NewFI, this.CutsHost);
         base.CutAndJoin();
         this.OperationFinished = true;
     }
 }