Version 3.26.4.0 (3.26.4)
I've been going a little bit crazy over a problem with block names, but I think I have found the answer/solution.
The problem I was having is when I insert library objects into a drawing, in the Block List tab, some would be listed by the name I gave them when I created them, but some would be listed as "Block_1, Block_2,...Block_x", making it hard to identify what the block is.
After some careful, though incomplete, testing, I have found that if the filename of the Library object contains a comma (,) or semi-colon (;), the object will appear in the Block List as "Block_x". There may be other characters that cause this behaviour.
Is this a quirk of QCad, a bug, or SOP?
Obviously, I can go through my library files and remove commas and semi-colons from the names, but they do help clarify the name of the object.
(Solved) Block Names
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
(Solved) Block Names
Last edited by stecoop1 on Wed Mar 02, 2022 4:02 am, edited 1 time in total.
Re: Block Names
You didn't mention your OS but most likely "illegal character" are used in the filenames. An example ....stecoop1 wrote: ↑Mon Feb 28, 2022 9:31 pmAfter some careful, though incomplete, testing, I have found that if the filename of the Library object contains a comma (,) or semi-colon (;), the object will appear in the Block List as "Block_x". There may be other characters that cause this behaviour.
Is this a quirk of QCad, a bug, or SOP?
https://www.mtu.edu/umc/services/websit ... ers-avoid/
Maybe you can use a batch filename rename program for that boring task ...
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: Block Names
stecoop1,
Indeed, comma (,) or semi-colon (;) are not allowed.
These are not allowed for layer names:
smallerThen, greaterThen, slash, backSlash, quotationMarks, doublePoint, semiColon, questionMark, asterix, pipe, comma, equalTo, backtick
Simply tryout to create a new block and typing them returns nothing.
QCAD replaces errors by 'Block_x' where x is one larger looking forward sequentially.
Regards,
CVH
Indeed, comma (,) or semi-colon (;) are not allowed.
These are not allowed for layer names:
smallerThen, greaterThen, slash, backSlash, quotationMarks, doublePoint, semiColon, questionMark, asterix, pipe, comma, equalTo, backtick
Simply tryout to create a new block and typing them returns nothing.
QCAD replaces errors by 'Block_x' where x is one larger looking forward sequentially.
Regards,
CVH
Re: Block Names
My operating system is Windows 10 Pro; it permits a lot of special characters in filenames that QCad doesn't allow in block/layer names; a wee bit annoying, but not world ending. BTW, it would take me longer to write the batch file to fix the names than it would take me to fix the couple of dozen filenames by hand.Husky wrote: ↑Mon Feb 28, 2022 10:18 pmYou didn't mention your OS but most likely "illegal character" are used in the filenames. An example ....stecoop1 wrote: ↑Mon Feb 28, 2022 9:31 pmAfter some careful, though incomplete, testing, I have found that if the filename of the Library object contains a comma (,) or semi-colon (;), the object will appear in the Block List as "Block_x". There may be other characters that cause this behaviour.
Is this a quirk of QCad, a bug, or SOP?
https://www.mtu.edu/umc/services/websit ... ers-avoid/
Maybe you can use a batch filename rename program for that boring task ...
Re: Block Names
Indeed, I have noticed that QCad limits the use of special characters in block and layer names (ignores them when entered); I just didn't realize it extended to filenames as well. I've been using QCad for over a year and a half, and I'm still learning about it's quirks (special features???).CVH wrote: ↑Mon Feb 28, 2022 10:35 pmstecoop1,
Indeed, comma (,) or semi-colon (;) are not allowed.
These are not allowed for layer names:
smallerThen, greaterThen, slash, backSlash, quotationMarks, doublePoint, semiColon, questionMark, asterix, pipe, comma, equalTo, backtick
Simply tryout to create a new block and typing them returns nothing.
QCAD replaces errors by 'Block_x' where x is one larger looking forward sequentially.
Regards,
CVH
- ryancousins
- Premier Member
- Posts: 367
- Joined: Thu Mar 19, 2020 3:47 am
- Location: Michigan, USA
Re: (Solved) Block Names
I have no idea if this is the case, but perhaps the limitations on characters is due to the DXF standard that QCAD typically abides by?