Can we add dwg image block in dxfTable cell?
![]() 12/9/2019 8:23 AM
|
---|
Hi Woute, Is there any way to add dwg image into table cells? C# Code: using (DxfModel sourceModel = CadReader.Read(@"dwg file path")) { CloneContext cloneContext = new CloneContext(sourceModel, dxfBlock.Model, ReferenceResolutionType.CloneMissing); dxfBlock.Entities.AddRange(sourceModel.Entities.Clone(cloneContext).ToArray()); cloneContext.ResolveReferences(); } table.Rows[0].Cells[0].Contents.Add(new DxfValueFormat.ObjectHandle(), new DxfInsert(dxfBlock)); Please suggest the correct DxfValueFormat to add this entity. Regards, |