how to keep setted value inside a block when redefining this bloc

how to keep setted value inside a block when redefining this bloc

Anonymous
Not applicable
777 Views
8 Replies
Message 1 of 9

how to keep setted value inside a block when redefining this bloc

Anonymous
Not applicable

Hi,

 

I'm creating smart blocs in Autocad Electrical to be used in Autocad LT (we don't have enought Electrical licences for everyone) ... and one of my blocs is a relay. A simple relay that I've add variables to ... like: voltage, series, flipped or not, with or without diode, etc.

 

I have deployed this new bloc in a project (which contains about 65 of them), but they all have different settings ... ex: one can be MY2-AC120, not flipped, no diode ... but another one next to it can be a MY4-DC24 not-flipped with diode, but it's the same block.

 

The problem I face is, the bloc wasn't perfect the first time I deployed it ... ex: one of the selection doesn't have pin number ... so I have modified the bloc to add those ... after making the changes, I've saved the block and close the block editor and I have redefined this bloc in the entire project (and I hoped to get this change in every single bloc that is the same (same bloc name) ... but after the redefined ... all my 65 blocs loosed their attributes (the one setted one by one) ... so they all have the default settings (ex: MY2-DC12, not flipped, no diode) ... So I'll have to go through 65 single blocs to RE-define them all the the wanted value ... which was erased when I'have redefined the bloc ...

 

Can you help me make changes into this bloc and still keep all setted values in each replica of this bloc?

 

Ex: If I use my relay bloc, that I set it to be MY4-AC120, flipped, no diode ... and then make changes to the bloc through the block editor (ex: move a line to get it at the right place), and then redefine the bloc in the project, I don't want it to be resetted to the default values of the block , which are MY2-DC12, not flipped with diode, but I want it to keep the MY4-AC120, flipped, no diode values, but integrated the changes that I made in the bloc editor (moved line).

 

Thanks and have a nice day!

0 Likes
778 Views
8 Replies
Replies (8)
Message 2 of 9

h_s_walker
Mentor
Mentor

Welcome to the Forums


A quick way is to cut all your blocks to the clipboard with a base point of 0,0 Do your changes to the block and redefine it, then paste all your blocks back from the clipboard. They will "remember" the last visibility state they were in.

 

The only problem with that is if you delete a visibility state the block which used that visibility state will default to the first one.

Howard Walker
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.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 9

Anonymous
Not applicable

here are some screenshot of the problem ...

0 Likes
Message 4 of 9

Anonymous
Not applicable

her eis the rest of the screenshot ...

0 Likes
Message 5 of 9

Anonymous
Not applicable

Hey!

 

thanks for the response ... how do you cut with base point?

0 Likes
Message 6 of 9

h_s_walker
Mentor
Mentor

Ok so it's copy with basepoint not cut, but you can delete the selected objects afterwards.

 

1. Select all the blocks.

2. Right Click.

3. Move to the CLIPBOARD section of the shortcut menu.

4. Choose COPY WITH BASEPOINT.

5. At the command line type 0,0

Howard Walker
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.

EESignature


Left Handed and Proud

Message 7 of 9

Anonymous
Not applicable

Hi,

 

I've tryed your solution ... but it doesn't work ... when I paste the blocks back ... they all are pasted with the same default setting instrad ogf the previous ones ...I think I messed up something while I was modifying the bloc ... and that causes that bug to keeps driving me crazy!

0 Likes
Message 8 of 9

pendean
Community Legend
Community Legend
No shortcut for what you need based on your posts: REFEDIT or BEDIT commands, ideally to be done in AutoCAD Electrical, to fix your blocks to be as "correct" as you desire them.

But at 65+ blocks, is today and this project of yours the appropriate time to tackle this large undertaking? Worth asking yourself and your co-workers. It might be worth fixing for FUTURE projects and let these be the transition as they are now.
0 Likes
Message 9 of 9

Emmsleys
Alumni
Alumni

Following up on your thread, did any of the posts in the thread help with the issue?

 

Please use the Accept as Solution for those post’s that helped. It may benefit other users who might have a similar question or issue.

 

Thanks for your time.



Sarah Emmsley
Technical Support Specialist

0 Likes