Ejemplo n.º 1
0
        public override void ResolveReferences(Class374 modelBuilder)
        {
            base.ResolveReferences(modelBuilder);
            DxfBlockPolarStretchAction polarStretchAction = this.Object as DxfBlockPolarStretchAction;

            if (polarStretchAction == null)
            {
                return;
            }
            if (this.ulong_3 != null && this.ulong_3.Length != 0)
            {
                polarStretchAction.RotateSelection = new DxfHandledObjectCollection <DxfHandledObject>(this.ulong_3.Length);
                for (int index = 0; index < this.ulong_3.Length; ++index)
                {
                    polarStretchAction.RotateSelection.Add(modelBuilder.method_3(this.ulong_3[index]));
                    if (polarStretchAction.RotateSelection[index] == null)
                    {
                        throw new Exception("Cannot resolve handle.");
                    }
                }
            }
            else
            {
                polarStretchAction.RotateSelection = (DxfHandledObjectCollection <DxfHandledObject>)null;
            }
            if (this.ulong_4 != null && this.ulong_4.Length != 0)
            {
                for (int index = 0; index < this.ulong_4.Length; ++index)
                {
                    polarStretchAction.StretchEntities[index].Entity = modelBuilder.method_3(this.ulong_4[index]);
                    if (polarStretchAction.StretchEntities[index].Entity == null)
                    {
                        throw new Exception("Cannot resolve handle.");
                    }
                }
            }
            else
            {
                polarStretchAction.StretchEntities = (DxfBlockPolarStretchAction.StretchEntity[])null;
            }
            if (polarStretchAction.RotateSelection != null)
            {
                foreach (DxfHandledObject dxfHandledObject in polarStretchAction.RotateSelection)
                {
                    if (dxfHandledObject == null)
                    {
                        Class740.smethod_14(polarStretchAction.OwnerObjectSoftReference as DxfEvalGraph);
                        return;
                    }
                }
            }
            if (polarStretchAction.StretchEntities == null)
            {
                return;
            }
            foreach (DxfBlockPolarStretchAction.StretchEntity stretchEntity in polarStretchAction.StretchEntities)
            {
                if (stretchEntity.Entity == null)
                {
                    Class740.smethod_14(polarStretchAction.OwnerObjectSoftReference as DxfEvalGraph);
                    break;
                }
            }
        }
Ejemplo n.º 2
0
 public void Visit(DxfBlockPolarStretchAction blockPolarStretchAction)
 {
 }
Ejemplo n.º 3
0
 public Class270(DxfBlockPolarStretchAction obj)
     : base((DxfBlockAction)obj)
 {
 }
Ejemplo n.º 4
0
 public void Visit(DxfBlockPolarStretchAction blockPolarStretchAction)
 {
     this.bool_0 = true;
 }