public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
 {
     base.CopyFrom(from, cloneContext);
     DxfDimensionObjectContextData.Diametric diametric = (DxfDimensionObjectContextData.Diametric)from;
     this.point3D_0 = diametric.point3D_0;
     this.point3D_1 = diametric.point3D_1;
 }
Esempio n. 2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfLayout dxfLayout = (DxfLayout)from;

            this.bool_0             = dxfLayout.bool_0;
            this.string_8           = dxfLayout.string_8;
            this.layoutOptions_0    = dxfLayout.layoutOptions_0;
            this.int_0              = dxfLayout.int_0;
            this.rectangle2D_1      = dxfLayout.rectangle2D_1;
            this.point3D_0          = dxfLayout.point3D_0;
            this.point3D_1          = dxfLayout.point3D_1;
            this.point3D_2          = dxfLayout.point3D_2;
            this.double_7           = dxfLayout.double_7;
            this.Ucs                = Class906.smethod_2(cloneContext, dxfLayout.Ucs);
            this.orthographicType_0 = dxfLayout.orthographicType_0;
            DxfBlock ownerBlock = dxfLayout.OwnerBlock;

            if (ownerBlock != null && ownerBlock.BlockBegin != null)
            {
                this.OwnerBlock = Class906.smethod_0(cloneContext, ownerBlock, true);
            }
            foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfViewport>)dxfLayout.dxfViewportCollection_0)
            {
                this.dxfViewportCollection_0.Add((DxfViewport)dxfHandledObject.Clone(cloneContext));
            }
            this.LastActiveViewport = (DxfHandledObject)cloneContext.GetExistingClone((IGraphCloneable)dxfLayout.LastActiveViewport);
            switch (dxfLayout.Handle)
            {
            case 30:
            case 34:
                this.SetHandle(dxfLayout.Handle);
                break;
            }
        }
 public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
 {
     base.CopyFrom(from, cloneContext);
     DxfDimensionObjectContextData.Ordinate ordinate = (DxfDimensionObjectContextData.Ordinate)from;
     this.point3D_0 = ordinate.point3D_0;
     this.point3D_1 = ordinate.point3D_1;
 }
Esempio n. 4
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockPolarStretchAction polarStretchAction = (DxfBlockPolarStretchAction)from;

            this.ActionConnections = DxfConnectionPoint.Clone(cloneContext, polarStretchAction.ActionConnections);
            if (polarStretchAction.Frame == null)
            {
                this.Frame = (WW.Math.Point2D[])null;
            }
            else
            {
                this.Frame = new WW.Math.Point2D[polarStretchAction.Frame.Length];
                for (int index = 0; index < polarStretchAction.Frame.Length; ++index)
                {
                    this.Frame[index] = polarStretchAction.Frame[index];
                }
            }
            if (polarStretchAction.RotateSelection == null)
            {
                this.RotateSelection = (DxfHandledObjectCollection <DxfHandledObject>)null;
            }
            else
            {
                int count = polarStretchAction.RotateSelection.Count;
                this.RotateSelection = new DxfHandledObjectCollection <DxfHandledObject>(count);
                for (int index = 0; index < count; ++index)
                {
                    this.RotateSelection.Add(cloneContext.SourceModel == cloneContext.TargetModel ? polarStretchAction.RotateSelection[index] : polarStretchAction.RotateSelection[index].Clone(cloneContext) as DxfHandledObject);
                }
            }
            this.StretchEntities = DxfBlockPolarStretchAction.StretchEntity.Clone(polarStretchAction.StretchEntities, cloneContext);
            this.StretchNodes    = DxfBlockPolarStretchAction.StretchNode.Clone(cloneContext, polarStretchAction.StretchNodes);
        }
Esempio n. 5
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfPlotSettings dxfPlotSettings = (DxfPlotSettings)from;

            this.string_0              = dxfPlotSettings.string_0;
            this.string_1              = dxfPlotSettings.string_1;
            this.string_2              = dxfPlotSettings.string_2;
            this.string_3              = dxfPlotSettings.string_3;
            this.double_0              = dxfPlotSettings.double_0;
            this.double_1              = dxfPlotSettings.double_1;
            this.double_2              = dxfPlotSettings.double_2;
            this.double_3              = dxfPlotSettings.double_3;
            this.size2D_0              = dxfPlotSettings.size2D_0;
            this.point2D_0             = dxfPlotSettings.point2D_0;
            this.rectangle2D_0         = dxfPlotSettings.rectangle2D_0;
            this.double_4              = dxfPlotSettings.double_4;
            this.double_5              = dxfPlotSettings.double_5;
            this.plotLayoutFlags_0     = dxfPlotSettings.plotLayoutFlags_0;
            this.plotPaperUnits_0      = dxfPlotSettings.plotPaperUnits_0;
            this.plotRotation_0        = dxfPlotSettings.plotRotation_0;
            this.plotArea_0            = dxfPlotSettings.plotArea_0;
            this.string_4              = dxfPlotSettings.string_4;
            this.short_0               = dxfPlotSettings.short_0;
            this.shadePlotMode_0       = dxfPlotSettings.shadePlotMode_0;
            this.shadePlotResolution_0 = dxfPlotSettings.shadePlotResolution_0;
            this.short_1               = dxfPlotSettings.short_1;
            this.double_6              = dxfPlotSettings.double_6;
            this.point2D_1             = dxfPlotSettings.point2D_1;
        }
Esempio n. 6
0
        public void ResolveReferences(Class374 modelBuilder)
        {
            DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_0);

            if (dxfHandledObject != null)
            {
                this.class1026_0.BlockOrField = dxfHandledObject;
            }
            if (this.ulong_1 != 0UL)
            {
                this.class1026_0.TextStyle = modelBuilder.method_4 <DxfTextStyle>(this.ulong_1);
            }
            else if (!string.IsNullOrEmpty(this.string_0))
            {
                this.class1026_0.TextStyle = modelBuilder.Model.TextStyles[this.string_0];
            }
            if (this.list_0 == null)
            {
                return;
            }
            foreach (Class331 class331 in this.list_0)
            {
                class331.ResolveReferences(modelBuilder);
            }
        }
Esempio n. 7
0
 public virtual void ResolveReferences(Class374 modelBuilder)
 {
     if (this.ulong_0 != 0UL && this.dxfHandledObject_0.OwnerObjectSoftReference == null)
     {
         DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_0);
         if (dxfHandledObject != null)
         {
             this.dxfHandledObject_0.vmethod_2((IDxfHandledObject)dxfHandledObject);
         }
     }
     if (this.ulong_1 != 0UL)
     {
         DxfDictionary dxfDictionary = modelBuilder.method_4 <DxfDictionary>(this.ulong_1);
         if (dxfDictionary != null)
         {
             this.dxfHandledObject_0.ExtensionDictionary = dxfDictionary;
         }
     }
     modelBuilder.ResolveReferences((ICollection <Interface10>) this.linkedList_0);
     if (this.list_0 == null)
     {
         return;
     }
     foreach (ulong handle in this.list_0)
     {
         DxfHandledObject reactor = modelBuilder.method_3(handle);
         if (reactor != null)
         {
             this.dxfHandledObject_0.AddPersistentReactor(reactor);
         }
     }
 }
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfAttributeObjectContextData objectContextData = (DxfAttributeObjectContextData)from;

            this.dxfMTextObjectContextData_0 = objectContextData.dxfMTextObjectContextData_0 == null ? (DxfMTextObjectContextData)null : (DxfMTextObjectContextData)objectContextData.dxfMTextObjectContextData_0.Clone(cloneContext);
        }
Esempio n. 9
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfDictionary dxfDictionary = (DxfDictionary)from;

            this.bool_0 = dxfDictionary.bool_0;
            this.duplicateRecordCloning_0 = dxfDictionary.duplicateRecordCloning_0;
            foreach (DxfDictionaryEntry dxfDictionaryEntry1 in (ActiveList <IDictionaryEntry>)dxfDictionary.dxfDictionaryEntryCollection_0)
            {
                DxfDictionaryEntry dxfDictionaryEntry2 = (DxfDictionaryEntry)dxfDictionaryEntry1.Clone(cloneContext);
                if (dxfDictionaryEntry2.Value != null)
                {
                    dxfDictionaryEntry2.Dictionary = this;
                    dxfDictionaryEntry2.Value.vmethod_2((IDxfHandledObject)this);
                }
                cloneContext.ClonedDictionaryEntries.Add(dxfDictionaryEntry2);
                this.dxfDictionaryEntryCollection_0.Add((IDictionaryEntry)dxfDictionaryEntry2);
            }
            switch (dxfDictionary.Handle)
            {
            case 12:
            case 13:
            case 14:
            case 23:
            case 25:
            case 26:
                this.SetHandle(dxfDictionary.Handle);
                break;
            }
        }
Esempio n. 10
0
 public Class319(
     DxfHandledObject tableControl,
     KeyedDxfHandledObjectCollection <string, T> tableRecords)
     : base(tableControl)
 {
     this.keyedDxfHandledObjectCollection_0 = tableRecords;
 }
Esempio n. 11
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfEvalGraph dxfEvalGraph = (DxfEvalGraph)from;

            this.LastNodeId = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)dxfEvalGraph.LastNodeId);
            if (dxfEvalGraph.Nodes == null)
            {
                this.Nodes = (DxfEvalGraph.GraphNode[])null;
            }
            else
            {
                this.Nodes = new DxfEvalGraph.GraphNode[dxfEvalGraph.Nodes.Length];
                for (int index = 0; index < this.Nodes.Length; ++index)
                {
                    this.Nodes[index] = (DxfEvalGraph.GraphNode)dxfEvalGraph.Nodes[index].Clone(cloneContext);
                    this.Nodes[index].Expression.vmethod_2((IDxfHandledObject)this);
                }
            }
            if (dxfEvalGraph.Edges == null)
            {
                this.Edges = (DxfEvalGraph.GraphEdge[])null;
            }
            else
            {
                this.Edges = dxfEvalGraph.Edges;
                for (int index = 0; index < this.Edges.Length; ++index)
                {
                    this.Edges[index] = (DxfEvalGraph.GraphEdge)dxfEvalGraph.Edges[index].Clone(cloneContext);
                }
            }
        }
Esempio n. 12
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockAction dxfBlockAction = from as DxfBlockAction;

            this.Position         = dxfBlockAction.Position;
            this.AttachedElements = DxfEvalGraph.GraphNodeId.Clone(cloneContext, dxfBlockAction.AttachedElements);
            if (dxfBlockAction.AttachedEntities != null && dxfBlockAction.AttachedEntities.Count != 0)
            {
                int count = dxfBlockAction.AttachedEntities.Count;
                this.AttachedEntities = new DxfHandledObjectCollection <DxfHandledObject>(count);
                for (int index = 0; index < count; ++index)
                {
                    if (dxfBlockAction.AttachedEntities[index] == null)
                    {
                        this.AttachedEntities.Add((DxfHandledObject)null);
                    }
                    else if (cloneContext.SourceModel == cloneContext.TargetModel)
                    {
                        this.AttachedEntities.Add(dxfBlockAction.AttachedEntities[index]);
                    }
                    else
                    {
                        this.AttachedEntities.Add(dxfBlockAction.AttachedEntities[index].Clone(cloneContext) as DxfHandledObject);
                    }
                }
            }
            else
            {
                this.AttachedEntities = (DxfHandledObjectCollection <DxfHandledObject>)null;
            }
        }
Esempio n. 13
0
        public IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfXRecordValue dxfXrecordValue = new DxfXRecordValue();

            dxfXrecordValue.short_0 = this.short_0;
            DxfHandledObject dxfHandledObject1 = this.Value as DxfHandledObject;

            if (dxfHandledObject1 == null)
            {
                dxfXrecordValue.Value = this.Value;
            }
            else
            {
                DxfHandledObject dxfHandledObject2 = (DxfHandledObject)dxfHandledObject1.Clone(cloneContext);
                dxfXrecordValue.object_0 = (object)dxfHandledObject2;
                switch (Class820.smethod_2((int)this.short_0))
                {
                case Enum5.const_5:
                case Enum5.const_7:
                case Enum5.const_8:
                case Enum5.const_15:
                    cloneContext.method_0(dxfHandledObject2);
                    break;
                }
            }
            return((IGraphCloneable)dxfXrecordValue);
        }
Esempio n. 14
0
        public override void ResolveReferences(Class374 modelBuilder)
        {
            base.ResolveReferences(modelBuilder);
            DxfField dxfField1 = this.Object as DxfField;

            if (dxfField1 == null)
            {
                return;
            }
            foreach (ulong handle in this.list_1)
            {
                DxfField dxfField2 = modelBuilder.method_4 <DxfField>(handle);
                if (dxfField2 != null)
                {
                    dxfField1.ChildFields.Add(dxfField2);
                }
            }
            foreach (ulong handle in this.list_2)
            {
                DxfHandledObject dxfHandledObject = modelBuilder.method_3(handle);
                if (dxfHandledObject != null)
                {
                    dxfField1.FieldObjects.Add(dxfHandledObject);
                }
            }
        }
Esempio n. 15
0
        internal static DxfAnnotationScaleObjectContextData smethod_5(
            DxfHandledObject obj,
            bool returnAny = false)
        {
            if (obj.ExtensionDictionary == null)
            {
                return((DxfAnnotationScaleObjectContextData)null);
            }
            DxfDictionary valueByName1 = obj.ExtensionDictionary.GetValueByName("AcDbContextDataManager") as DxfDictionary;

            if (valueByName1 == null)
            {
                return((DxfAnnotationScaleObjectContextData)null);
            }
            DxfDictionary valueByName2 = valueByName1.GetValueByName("ACDB_ANNOTATIONSCALES") as DxfDictionary;

            if (valueByName2 == null)
            {
                return((DxfAnnotationScaleObjectContextData)null);
            }
            DxfAnnotationScaleObjectContextData objectContextData = valueByName2.Entries.Select <IDictionaryEntry, DxfAnnotationScaleObjectContextData>((Func <IDictionaryEntry, DxfAnnotationScaleObjectContextData>)(ctxDataEntry => (DxfAnnotationScaleObjectContextData)ctxDataEntry.Value)).FirstOrDefault <DxfAnnotationScaleObjectContextData>((Func <DxfAnnotationScaleObjectContextData, bool>)(ctx => ctx.IsDefault));

            if (objectContextData == null && returnAny && valueByName2.Entries.Count != 0)
            {
                return((DxfAnnotationScaleObjectContextData)valueByName2.Entries[0].Value);
            }
            return(objectContextData);
        }
Esempio n. 16
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockRotateAction blockRotateAction = (DxfBlockRotateAction)from;

            this.ActionConnection = (DxfConnectionPoint)cloneContext.Clone((IGraphCloneable)blockRotateAction.ActionConnection);
        }
Esempio n. 17
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfMText dxfMtext = (DxfMText)from;

            this.string_1              = dxfMtext.string_1;
            this.Style                 = Class906.GetTextStyle(cloneContext, dxfMtext.Style);
            this.point3D_0             = dxfMtext.point3D_0;
            this.double_1              = dxfMtext.double_1;
            this.double_2              = dxfMtext.double_2;
            this.double_3              = dxfMtext.double_3;
            this.attachmentPoint_0     = dxfMtext.attachmentPoint_0;
            this.drawingDirection_0    = dxfMtext.drawingDirection_0;
            this.vector3D_0            = dxfMtext.vector3D_0;
            this.vector3D_1            = dxfMtext.vector3D_1;
            this.lineSpacingStyle_0    = dxfMtext.lineSpacingStyle_0;
            this.double_4              = dxfMtext.double_4;
            this.backgroundFillFlags_0 = dxfMtext.backgroundFillFlags_0;
            if (dxfMtext.backgroundFillInfo_0 == null)
            {
                this.backgroundFillInfo_0 = (BackgroundFillInfo)null;
            }
            else
            {
                this.backgroundFillInfo_0 = dxfMtext.backgroundFillInfo_0.Clone(cloneContext);
            }
        }
Esempio n. 18
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfDictionaryWithDefault dictionaryWithDefault = (DxfDictionaryWithDefault)from;

            if (dictionaryWithDefault.DefaultEntry == null)
            {
                return;
            }
            int       index        = 0;
            DxfObject defaultEntry = dictionaryWithDefault.DefaultEntry;

            foreach (DxfDictionaryEntry entry in (ActiveList <IDictionaryEntry>)dictionaryWithDefault.Entries)
            {
                if (entry.Value != defaultEntry)
                {
                    ++index;
                }
                else
                {
                    this.DefaultEntry = this.Entries[index].Value;
                    break;
                }
            }
        }
Esempio n. 19
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfOle dxfOle = (DxfOle)from;

            this.qualityType_0 = dxfOle.Quality;
            this.int_0         = dxfOle.OleDataVersion;
            this.int_1         = dxfOle.UnknownLong;
            this.byte_0        = dxfOle.UnknownByte1;
            this.byte_1        = dxfOle.UnknownByte2;
            this.point3D_0     = dxfOle.UpperLeft;
            this.point3D_1     = dxfOle.UpperRight;
            this.point3D_2     = dxfOle.LowerRight;
            this.point3D_3     = dxfOle.LowerLeft;
            this.short_1       = dxfOle.HimetricWidth;
            this.short_2       = dxfOle.HimetricHeight;
            this.int_2         = dxfOle.OleItemVersion;
            this.int_3         = (int)dxfOle.Model.UniqueOleItemCounter();
            this.aspect_0      = dxfOle.AdviseType;
            this.bool_2        = dxfOle.Moniker;
            this.aspect_1      = dxfOle.DrawAspect;
            this.string_0      = dxfOle.UserType;
            this.type_0        = dxfOle.OleObjectType;
            this.dxfOleXData_0 = dxfOle.dxfOleXData_0;
            this.byte_2        = dxfOle.OleData;
        }
Esempio n. 20
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfRasterImage dxfRasterImage = (DxfRasterImage)from;

            this.InsertionPoint = dxfRasterImage.InsertionPoint;
            this.XAxis          = dxfRasterImage.XAxis;
            this.YAxis          = dxfRasterImage.YAxis;
            this.Size           = dxfRasterImage.Size;
            if (dxfRasterImage.ImageDef == null)
            {
                this.SetImageDef((DxfImageDef)null, false);
            }
            else if (cloneContext.SourceModel == cloneContext.TargetModel)
            {
                this.SetImageDef(dxfRasterImage.ImageDef, false);
            }
            else
            {
                this.SetImageDef((DxfImageDef)dxfRasterImage.ImageDef.Clone(cloneContext), false);
            }
            this.ImageDisplayFlags = dxfRasterImage.ImageDisplayFlags;
            this.ClippingEnabled   = dxfRasterImage.ClippingEnabled;
            this.Brightness        = dxfRasterImage.Brightness;
            this.Contrast          = dxfRasterImage.Contrast;
            this.Fade = dxfRasterImage.Fade;
            this.BoundaryVertices.Clear();
            this.BoundaryVertices.AddRange((IEnumerable <WW.Math.Point2D>)dxfRasterImage.BoundaryVertices);
            this.bool_3 = dxfRasterImage.bool_3;
        }
Esempio n. 21
0
        public static DxfExtendedData.ValueCollection smethod_4(
            DxfHandledObject o,
            DxfModel model)
        {
            if (!o.HasExtendedData)
            {
                return((DxfExtendedData.ValueCollection)null);
            }
            DxfAppId appId;

            if (model == null || !model.AppIds.TryGetValue("AcadAnnotative", out appId))
            {
                return((DxfExtendedData.ValueCollection)null);
            }
            DxfExtendedData extendedData;

            if (!o.ExtendedDataCollection.TryGetValue(appId, out extendedData))
            {
                return((DxfExtendedData.ValueCollection)null);
            }
            DxfExtendedData.ValueCollection valueCollection = (DxfExtendedData.ValueCollection)null;
            if (extendedData.Values.Count > 1)
            {
                valueCollection = extendedData.Values[1] as DxfExtendedData.ValueCollection;
            }
            return(valueCollection);
        }
Esempio n. 22
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockFlipAction dxfBlockFlipAction = (DxfBlockFlipAction)from;

            this.ActionConnections = DxfConnectionPoint.Clone(cloneContext, dxfBlockFlipAction.ActionConnections);
        }
Esempio n. 23
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockConstraintParameter constraintParameter = (DxfBlockConstraintParameter)from;

            this.Dependency = (DxfHandledObject)cloneContext.Clone((IGraphCloneable)constraintParameter.Dependency);
        }
Esempio n. 24
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfVPort dxfVport = (DxfVPort)from;

            this.string_0           = dxfVport.string_0;
            this.point2D_0          = dxfVport.point2D_0;
            this.point2D_1          = dxfVport.point2D_1;
            this.point2D_2          = dxfVport.point2D_2;
            this.point2D_3          = dxfVport.point2D_3;
            this.vector2D_0         = dxfVport.vector2D_0;
            this.vector2D_1         = dxfVport.vector2D_1;
            this.vector3D_0         = dxfVport.vector3D_0;
            this.point3D_0          = dxfVport.point3D_0;
            this.double_0           = dxfVport.double_0;
            this.double_1           = dxfVport.double_1;
            this.double_2           = dxfVport.double_2;
            this.double_3           = dxfVport.double_3;
            this.double_4           = dxfVport.double_4;
            this.double_5           = dxfVport.double_5;
            this.double_6           = dxfVport.double_6;
            this.standardFlags_0    = dxfVport.standardFlags_0;
            this.ViewMode           = dxfVport.viewMode_0;
            this.short_0            = dxfVport.short_0;
            this.short_1            = dxfVport.short_1;
            this.bool_0             = dxfVport.bool_0;
            this.bool_1             = dxfVport.bool_1;
            this.snapStyle_0        = dxfVport.snapStyle_0;
            this.short_2            = dxfVport.short_2;
            this.renderMode_0       = dxfVport.renderMode_0;
            this.bool_2             = dxfVport.bool_2;
            this.bool_3             = dxfVport.bool_3;
            this.Ucs                = Class906.smethod_2(cloneContext, dxfVport.Ucs);
            this.orthographicType_0 = dxfVport.orthographicType_0;
        }
Esempio n. 25
0
 public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
 {
     base.CopyFrom(from, cloneContext);
     foreach (DxfContentFormat dxfContentFormat in (Collection <DxfTableCellStyle>)((DxfCellStyleMap)from).dxfTableCellStyleCollection_0)
     {
         this.dxfTableCellStyleCollection_0.Add((DxfTableCellStyle)dxfContentFormat.Clone(cloneContext));
     }
 }
Esempio n. 26
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfRay dxfRay = (DxfRay)from;

            this.point3D_0  = dxfRay.point3D_0;
            this.vector3D_0 = dxfRay.vector3D_0;
        }
Esempio n. 27
0
 public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
 {
     base.CopyFrom(from, cloneContext);
     foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfVertex3D>)((DxfPolyline3D)from).dxfVertex3DCollection_0)
     {
         this.dxfVertex3DCollection_0.Add((DxfVertex3D)dxfHandledObject.Clone(cloneContext));
     }
 }
Esempio n. 28
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockRepresentationData representationData = (DxfBlockRepresentationData)from;

            this.Version      = representationData.Version;
            this.DynamicBlock = Class906.smethod_0(cloneContext, representationData.DynamicBlock, false);
        }
Esempio n. 29
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfBlockScaleAction blockScaleAction = (DxfBlockScaleAction)from;

            this.ScaleType         = blockScaleAction.ScaleType;
            this.ActionConnections = DxfConnectionPoint.Clone(cloneContext, blockScaleAction.ActionConnections);
        }
Esempio n. 30
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfPolylineBase dxfPolylineBase = (DxfPolylineBase)from;

            this.enum21_0 = dxfPolylineBase.enum21_0;
            this.SeqEnd.CopyFrom((DxfHandledObject)dxfPolylineBase.SeqEnd, cloneContext);
        }