Same block name but different base point

Same block name but different base point

ssuoiresos
Contributor Contributor
962 Views
8 Replies
Message 1 of 9

Same block name but different base point

ssuoiresos
Contributor
Contributor

Hello. I am not sure if it is possible to change the base point for a block, but not for all instances of the same block. For example, if I have a block named "BOX", and in my drawing I have 50 instances of this block, is it possible for half of them the base point to be in the centre of the block and for half of them to be on the edge of the block? I am aware of @lee Mac lisp routine (http://www.lee-mac.com/lisp/html/ChangeBlockBasePointV1-5.html) but this does the trick for all blocks with this specific name. Is there a way to do it just for the blocks that I select? If this is possible not sure if after that, the use of ATTSYNC command won't ruin the work. Would be easy to create 2 blocks with different base points, but what I need is to change this in the already existing drawings (and there are hundreds of the :)). Many thanks

0 Likes
Accepted solutions (1)
963 Views
8 Replies
Replies (8)
Message 2 of 9

hak_vz
Advisor
Advisor

Check this link there are several solutions presented.

You will have to create two separate blocks.

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 3 of 9

ssuoiresos
Contributor
Contributor

I think this might not work as all my blocks have attributes, I need to keep the existing data in the blocks and just to change the base point for some of them, to give me correct x and y coordinates. 

0 Likes
Message 4 of 9

pbejse
Mentor
Mentor

@ssuoiresos wrote:

I need to keep the existing data in the blocks and just to change the base point for some of them, to give me correct x and y coordinates. 


A drawing sample will help you get a solution way faster. Just so you know, Express tool blockreplace will respect the current attribute values.

 

0 Likes
Message 5 of 9

ssuoiresos
Contributor
Contributor

I understand. But if I am not mistaken, with block replace you can't select just some of the blocks, will replace all the blocks with that name in a drawing. I have attached a .dwg sample, with some basic blocks, no attributes. At the moment I have 4 blocks with the base point in the centre of the square (see BOX 1.png). I need to know if it is possible to change the basepoint just for 2 instances of the block "box" so that the base point to be shown on the wall (see BOX 2.png).  I hope is more clearBOX 1.PNGBOX 2.PNG now what I want to ask. Thank you.

0 Likes
Message 6 of 9

pbejse
Mentor
Mentor
Accepted solution

@ssuoiresos wrote:

 I need to know if it is possible to change the basepoint just for 2 instances of the block "box" so that the base point to be shown on the wall (see BOX 2.png).  I hope is more clear now what I want to ask. Thank you.


 

Will you settle fro dynamic block with "BASEPOINT" parameter?

What you see here is a block named "Box" with two different basepoint, because its dynamic block, the name would change to anonymous name like "*U12", but its still the same definition.

 

BoX_DB.png

When you insert the block, press ctrl and you will see it moves from one basepoint to another

I attached the same drawing with the redefined "Box" block

See if that works for you.

 

IF you need more information about Dynamic blocks, you can post your question here

 

Message 7 of 9

ronjonp
Mentor
Mentor

You could also add alignment parameters on each side:

2021-06-25_14-08-38.gif

Message 8 of 9

ssuoiresos
Contributor
Contributor

This should work. Will have to create one for my drawings to see how it goes. Thank you.

0 Likes
Message 9 of 9

ssuoiresos
Contributor
Contributor

If my block was called "BOX" this is definitely the "SUPER BOX". 😁 Will add this to my blocks. Thanks

0 Likes