Insert DXF/DWG drawing inside DWG

How to insert DXF/DWG drawing inside DWG

Issue: How to insert DXF/DWG drawing inside DWG.

Tips: To do this, first create a CadInsertObject with the required values, then get all the blocks in a CadBlockDictionary, create a new CadBlockEntity block and add it to the CadBlockDictionary, add a CadBlockDictionary to the BlockEntities of the drawing, add a CadInsertObject to the drawing entity for the array, create a CadBlockTableObject by reference, then add a block to drawing.

Example: