Beispiel #1
0
        public override void ResolveReferences(Class374 modelBuilder)
        {
            base.ResolveReferences(modelBuilder);
            DxfBlockBegin handledObject = this.HandledObject as DxfBlockBegin;

            if (handledObject == null)
            {
                return;
            }
            DxfBlock block = handledObject.Block;
            bool     flag  = false;

            if (block == null)
            {
                block = new DxfBlock(this.Name);
                flag  = true;
            }
            block.BlockBegin = handledObject;
            if (this.dxfBlockEnd_0 == null)
            {
                this.dxfBlockEnd_0 = new DxfBlockEnd();
            }
            block.BlockEnd = this.dxfBlockEnd_0;
            if (this.nullable_3.HasValue)
            {
                block.Flags = this.nullable_3.Value;
            }
            if (this.dxfEntityCollection_0 != null)
            {
                block.method_10(this.dxfEntityCollection_0);
            }
            block.method_8(this.vector3D_0);
            if (this.string_3 != null)
            {
                block.Description = this.string_3;
            }
            if (this.string_4 != null)
            {
                block.ExternalReference = this.string_4;
            }
            block.BlockEnd = this.dxfBlockEnd_0;
            if (this.nullable_4.HasValue)
            {
                block.IsExternalReferenceUnloaded = this.nullable_4.Value;
            }
            if (!flag)
            {
                return;
            }
            modelBuilder.Model.method_38(block, (IList <DxfMessage>)modelBuilder.Messages, true);
        }
Beispiel #2
0
        public override void ResolveReferences(Class374 modelBuilder)
        {
            base.ResolveReferences(modelBuilder);
            DxfBlockBegin handledObject = this.HandledObject as DxfBlockBegin;

            if (handledObject == null)
            {
                return;
            }
            DxfBlock block = handledObject.Block;

            if (block == null || this.string_2 == null)
            {
                return;
            }
            block.method_9(this.string_2);
        }
Beispiel #3
0
 public Class289(DxfBlockBegin entity)
     : base(entity)
 {
 }
Beispiel #4
0
 public Class288(DxfBlockBegin entity)
     : base((DxfEntity)entity)
 {
 }