Removing Nested Blocks Permanently

Removing Nested Blocks Permanently

Blissine_Augustine
Explorer Explorer
1,391 Views
11 Replies
Message 1 of 12

Removing Nested Blocks Permanently

Blissine_Augustine
Explorer
Explorer

I have a block that is nested within a main block. I want to completely remove the main block, but despite attempting to purge it, the purge function does not work for the nested block. 

 

I have attached a DXF file showing an example of the blocks.

 

 

0 Likes
1,392 Views
11 Replies
Replies (11)
Message 2 of 12

cadffm
Consultant
Consultant

Hi,

 

nothing special. Use BEDIT for globe lock 50 and explode the blockreference of block A$Ca81a78e7, bsave,bclose

delete the other blockreference of block (magenta circle)

and run PURGE.

 

cadffm_0-1733990084421.png

 

Sebastian

0 Likes
Message 3 of 12

Blissine_Augustine
Explorer
Explorer

yes, this function works but i need the block to be with a single block reference as i need it for conversion from DXF to Woodwop. So when i create it with a single block reference, the main block comes again with it and it cannot be purged or removed. 

 

Is there a way to hide the main block ?

0 Likes
Message 4 of 12

cadffm
Consultant
Consultant

I am really not sure what you are doing, but we can't change the rules of DXF/DWG format.

 

-  i need the block to be with a single block reference

    Which one, globe lock 50 or  A$Ca81a78e7   (sorry, but  A$Ca81a78e7 never make sense)

 

- So when i create it with a single block reference, the main block comes again with it and it cannot be purged or removed. 

   No idea what you are talking about - I don't know the "conversion from DXF to Woodwop"

 

- Removing Nested Blocks Permanently

   If you do what I wrote, the nested Block A$Ca81a78e7  is permanently erased from a) the block  globe lock 50 and also from the file template file.dxf

 

- I have a block that is nested within a main block.

   Mainblock is globe lock 50 ?

 

- I want to completely remove the main block, but despite attempting to purge it, the purge function does not work for the nested block. 

   Remove the Main block is not the same as removing the nested block, I am confused

    To remove the main block: Explode the main block blockreference (yellow circle) and run Purge

 

 

 
 

 

 
 

 

 

Sebastian

0 Likes
Message 5 of 12

Blissine_Augustine
Explorer
Explorer

In the file I have shared I want to keep "Globe Lock 50" block with single reference. I did the following steps:


1) I opened "Globe Lock 50" in block editor and exploded the block, then saved it.

2) I was able to purge the other block which is "A$Ca81a78e7".

3) I opened the "Globe Lock 50" block again in block editor to join and select all (showing 10 objects) and do Ctrl+Shift+C and delete the 10 objects and then Ctrl+Shift+V to paste them as 1 object with single base point.

 

once I perform the last step I get another block automatically the name starts with "A$"  and rest of the name is totally random and auto-generated.
@cadffm 

0 Likes
Message 6 of 12

cadffm
Consultant
Consultant

Hi,

"In the file I have shared I want to keep "Globe Lock 50" block with single reference"

Thats what you do  with 1) + 2) 

 

"Once I perform"

That's what you did. You get what you did.

 

"I opened the "Globe Lock 50" block again in block editor to join and select all (showing 10 objects)"

Okay (good idea), save the block and the file - well done.

 

"and do Ctrl+Shift+C "

and delete the 10 objects and then"

WHY?

 

"Ctrl+Shift+V to paste them as 1 object with single base point

Ctrl shift v create another block and you paste a blockreference of this new block. WHY?

 

GUESSING, I try to understand the reason of your doing in 3) 

DO THIS after step 1 and 2

BEDIT, run JOIN

run MOVE (select all objects)

1 Point = the Basepoint you want, select with osnaps and mouse

Point 2 = 0,0

Save and close the blockedit, BSAVE BCLOSE

 

Your file contains one Block and one Blockreference, nothing more.

 

 

 

Sebastian

0 Likes
Message 7 of 12

cadffm
Consultant
Consultant

Or: If the original basepoint is okay,

Just run BSAVE and BCLOSE after step 1+2

 

But if so, I don't know why you doing step 3 hmm

Sebastian

0 Likes
Message 8 of 12

Blissine_Augustine
Explorer
Explorer

@cadffm
same file will be used in a process where it will involve some conversions. the objects inside the block should always be as a single object when it is being converted. 
If you check the attached pictures, I don't need the block to contain 10 objects shown in Cad2.png.

it should be 1 object similar to Cad1.png

 

0 Likes
Message 9 of 12

pendean
Community Legend
Community Legend

May I ask, why are you using a DXF file for a template?

Why these two?

pendean_0-1734009627851.png

 

And why don't you just start over, fresh, in a new empty DWG/DXF file? There comes a time when abandoning a DWG becomes viable, I think you are there already.

0 Likes
Message 10 of 12

Blissine_Augustine
Explorer
Explorer

The other block which is there was inserted by mistake, but it is not the reason of the problem.

Regarding the dxf format, it is a must since the rest of our process cannot be done by dwg format.

 

Please check my previous reply which is the main problem that I am facing.
@pendean 

0 Likes
Message 11 of 12

pendean
Community Legend
Community Legend
0 Likes
Message 12 of 12

Blissine_Augustine
Explorer
Explorer

if you meant to place the block in a new dwg/dxf. I have already tried it.

but if you mean to create the block itself from scratch, it won't be easy task since I have more that 90 block @pendean 

0 Likes