Save block under new name [solved]
Moderator: andrew
-
- Senior Member
- Posts: 107
- Joined: Wed Dec 06, 2017 4:06 pm
- Location: Germany - Heidelberg
Save block under new name [solved]
Hi Andrew,
question for you. Let's say I have to blocks of a kind in a drawing and I want to edit one without changing the other one. Is there any possibility to save the edited block with a new name?
question for you. Let's say I have to blocks of a kind in a drawing and I want to edit one without changing the other one. Is there any possibility to save the edited block with a new name?
Last edited by Rantanplan7 on Thu Dec 10, 2020 10:01 am, edited 1 time in total.
Best Regards
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Re: Save block under new name
No. You would have to duplicate the block before you start working on it.
Re: Save block under new name
What I do is open the block for editing.
select all and copy
open a new drawing
paste the block you copied.
explode the pasted block and edit.
Save as your new file.
select all and copy
open a new drawing
paste the block you copied.
explode the pasted block and edit.
Save as your new file.
Re: Save block under new name
Hmm ...
Now you have a second drawing open and after a paste there are some entities in it.
That one is left in Block edit state.
Troubled...CVH
Now you have entities in selection.
You didn't had a block in selection!
Now you have a second drawing open and after a paste there are some entities in it.
There are no blocks to explode in the second drawing and one can edit those loose entities at will.
Changes to, nor saving your second file will reflect in your original file ....
That one is left in Block edit state.
Troubled...CVH
Last edited by CVH on Thu Dec 03, 2020 5:41 am, edited 1 time in total.
Re: Save block under new name
That would be:
Copy block reference in file 1
New drawing (2)
Paste
Select block name in Block list
Rename block
Edit block >> alter composition
Back to Model_Space
Copy block reference in file 2
Swap to drawing 1
Paste
No need to save drawing 2
IMHO duplicate block is much easier.
Regards
CVH
Copy block reference in file 1
New drawing (2)
Paste
Select block name in Block list
Rename block
Edit block >> alter composition
Back to Model_Space
Copy block reference in file 2
Swap to drawing 1
Paste
No need to save drawing 2
IMHO duplicate block is much easier.
Regards
CVH
Last edited by CVH on Thu Dec 03, 2020 7:28 am, edited 2 times in total.
Re: Save block under new name
The proper solution is as andrew suggested it. Nothing else! That is the reason why the "Duplicate Block" functionality was implemented.
viewtopic.php?f=31&t=7800&p=30661#p30387
viewtopic.php?f=31&t=7800&p=30661#p30387
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Save block under new name
From the guy who always keeps the myth alive that many ways lead to ROM.
https://dictionary.cambridge.org/dictio ... ad-to-rome
'Rome', the city in Italy : https://en.wikipedia.org/wiki/Rome
Not: https://en.wikipedia.org/wiki/Rom
Right, and the 'IMHO' in my post stands for: https://dictionary.cambridge.org/dictio ... glish/imho
IMHO ... 'ljbuller' had it all wrong!
Explained what was wrong with it.
Still I did follow his tracks, 'the other way to Rome'.
I can not understand why constructive debate suddenly isn't allowed anymore.
IMHO: What is NOT given as advise is:
- How to alter one or more existing or used block reference by an alternative cloned + renamed copy.
- Duplicate Block (BY)
- Comply with the new naming or enter a new name (OK) or not (Cancel)
When cloned with a new name: A clone is created and listed in the Block List.
- Select the Block reference(s) to alter.
- Alter the specific property 'Block' to the new name.
The Block is still a perfect clone:
- Edit the new Block (Double-Click) or R-click in Block List and choose to Edit or 'Edit in Place'.
- Apply any changes.
- Return to Model_space.
Not all possible variations are listed. Sorry for that.
And probably this is "making everything extremely complicated" too. Duly noted.
Regards,
CVH
-
- Senior Member
- Posts: 107
- Joined: Wed Dec 06, 2017 4:06 pm
- Location: Germany - Heidelberg
Re: Save block under new name
Well I have worked a bit with the ideas given now. Especially with the duplicate function.
Not so ergonomic or I still overlook something.
Given situation: Two or more library blocks of the same kind (lets call it block7) on a complex drawing and I want to make changes to one of the three.
I duplicate the block and rename it (lets call it dupblock7).
Now I get a new entry in the block list - dupblock7.
Next is to insert this dupblock7 into my drawing, but on spot at the position of the block7 I wanted to change.
To keep things simple I have to insert the dupblock7 on a different layer, after that I can delete the block7 underneath it.
And finally I can edit the dupblock7 in place.
So I can mark this now as solved.
Thanks for the discussion.
I have learned a lot the last days about model space and block list, where I have never really payed attention to.
Not so ergonomic or I still overlook something.
Given situation: Two or more library blocks of the same kind (lets call it block7) on a complex drawing and I want to make changes to one of the three.
I duplicate the block and rename it (lets call it dupblock7).
Now I get a new entry in the block list - dupblock7.
Next is to insert this dupblock7 into my drawing, but on spot at the position of the block7 I wanted to change.
To keep things simple I have to insert the dupblock7 on a different layer, after that I can delete the block7 underneath it.
And finally I can edit the dupblock7 in place.
So I can mark this now as solved.
Thanks for the discussion.
I have learned a lot the last days about model space and block list, where I have never really payed attention to.
Best Regards
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Re: Save block under new name
4- Select the Block reference refering to the old copy.
5- Select another blockname for the Block Specific Property in the Property Editor. CVH
Re: Save block under new name
@Rantanplan7
Correct.Rantanplan7 wrote: ↑Thu Dec 03, 2020 3:09 pmGiven situation: Two or more library blocks of the same kind (lets call it block7) on a complex drawing and I want to make changes to one of the three.
I duplicate the block and rename it (lets call it dupblock7).
Correct.
No, follow CVH instruction and use the Property Editor.Rantanplan7 wrote: ↑Thu Dec 03, 2020 3:09 pmNext is to insert this dupblock7 into my drawing, but on spot at the position of the block7 I wanted to change.
Replacing the block within the Property Editor offers also the possibility to change the layer at the same time.Rantanplan7 wrote: ↑Thu Dec 03, 2020 3:09 pmTo keep things simple I have to insert the dupblock7 on a different layer, ...
I think it is pretty straight forward but as always - you have first to get used to it:
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Senior Member
- Posts: 107
- Joined: Wed Dec 06, 2017 4:06 pm
- Location: Germany - Heidelberg
Re: Save block under new name
@Husky,
thanks for the quick tutorial, now I understand how to do it. By the way, are you using Active Presenter to record your desktop?
Unfortunately I have never paid attention to the block list in the past and by repeating what you have shown me I felt into another problem.
I have not checked all library items, but a couple of them and if I place them on a drawing I get two different entries into the block list.
In the attachment you can find first the library item "20_Operator" and a drawing sheet where I have placed that item and got two entries in the block list.
Whatever I do, I cannot figure out why.
Any ideas?
thanks for the quick tutorial, now I understand how to do it. By the way, are you using Active Presenter to record your desktop?
Unfortunately I have never paid attention to the block list in the past and by repeating what you have shown me I felt into another problem.
I have not checked all library items, but a couple of them and if I place them on a drawing I get two different entries into the block list.
In the attachment you can find first the library item "20_Operator" and a drawing sheet where I have placed that item and got two entries in the block list.
Whatever I do, I cannot figure out why.
Any ideas?
Best Regards
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
-
- Senior Member
- Posts: 107
- Joined: Wed Dec 06, 2017 4:06 pm
- Location: Germany - Heidelberg
Re: Save block under new name
Well after exploring a bit for myself I can make an educated guess about what happened.
In the beginning I exported all library items from Autosketch by placing them on a drawing sheet and saving that as a dxf file.
In QCAD I have made library blocks from them and named them different from the old Autosketch name. Maybe this was causing this strange behaviour - that the block name is different from the file name and to get two entries in the block list.
Now to change this I will open the library blocks as files and not from the library list, and rename the block in the block list.
So I can now finally mark this thread as solved.
In the beginning I exported all library items from Autosketch by placing them on a drawing sheet and saving that as a dxf file.
In QCAD I have made library blocks from them and named them different from the old Autosketch name. Maybe this was causing this strange behaviour - that the block name is different from the file name and to get two entries in the block list.
Now to change this I will open the library blocks as files and not from the library list, and rename the block in the block list.
So I can now finally mark this thread as solved.
Best Regards
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Re: Save block under new name
Hi Rantanplan7,
Your Library item 20_Operator.dxf is designed with a block called "61_operator". If QCAD now insert this library item into your drawing it loads "20_Operator.dxf", convert it to a block called "20_Operator" and loads at the same time the content with the block called "61_operator" = 2 block entries.
To clean that library item: Load normal the 20_Operator.dxf file into QCAD, in Model_Space select ALL, explode, delete the block "61_operator", save the drawing in your Library Folder with the same name (20_Operator.dxf).
Test the inserting behavior in a new drawing - it should be only one block name listed ... the name should be "20_Operator".
Don't rename just the blocks - please think about my explanation ....Rantanplan7 wrote: ↑Thu Dec 10, 2020 9:59 amNow to change this I will open the library blocks as files and not from the library list, and rename the block in the block list.
A library item should be saved as a simple dxf without any blocks (if possible). Using the QCAD Library browser inserting function will convert a simple dxf drawing to a block. The block name is then the dxf file name. In this case "20_Operator".Rantanplan7 wrote: ↑Thu Dec 10, 2020 8:26 amIn the attachment you can find first the library item "20_Operator" and a drawing sheet where I have placed that item and got two entries in the block list.
Whatever I do, I cannot figure out why.
Your Library item 20_Operator.dxf is designed with a block called "61_operator". If QCAD now insert this library item into your drawing it loads "20_Operator.dxf", convert it to a block called "20_Operator" and loads at the same time the content with the block called "61_operator" = 2 block entries.
To clean that library item: Load normal the 20_Operator.dxf file into QCAD, in Model_Space select ALL, explode, delete the block "61_operator", save the drawing in your Library Folder with the same name (20_Operator.dxf).
Test the inserting behavior in a new drawing - it should be only one block name listed ... the name should be "20_Operator".
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Senior Member
- Posts: 107
- Joined: Wed Dec 06, 2017 4:06 pm
- Location: Germany - Heidelberg
Re: Save block under new name [solved]
I have already done the renaming with three library entries and they look ok now. There is only one block entry if inserted with the library browser.Don't rename just the blocks - please think about my explanation ....
To explode them is a lot more work. I have tried that as well but I cannot see any difference on the result.
Your advice to avoid blocks in a library block is not a good idea for me unless it would create massive trouble. Quite often I have to delete a couple of tables from a library block. So I use edit in place and can delete the tables I wish to get rid of very quick instead of deleting multiple lines, dot, etc.
Best Regards
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Sven
QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)
Re: Save block under new name [solved]
Sounds like a plan.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."