Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

~ BUG -- # Charter in Block Names -- Invalid Old Name

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
1451 Views, 4 Replies

~ BUG -- # Charter in Block Names -- Invalid Old Name

~ BUG -- # Charter in Block Names -- Invalid Old Name

This seems like a simple problem buy I have not found any documentation
on this bug.

I want to insert a file as a block

The filename is "WIRE#_L"

The block inserts fine, all attributes are editable with DDATTE

I can not redefine the block

Tried to use the ATTREDEF Command in AutoCAD200 and was prompted that
"WIRE#_L" was a invalid block name.

I returned to AutoCADLT2000 and tried to use the RENAME command.

When I opened the rename window I saw "WIRE#_L" as a block listed in the
drawing. I clicked on WIRE#_L, WIRE#_L was put into the old name field,
I then typed in anything for a new name, I clicked OK and got a popup
window "Invalid old name specified!"

What Gives????

If I change the file name of WIRE#_L to WIRE_L and insert the file as a
block in a new drawing, I can rename and redefine the block with no
errors or old name warnings.

From this I can only conclude that the # symbol is a taboo charter and
should not be used in filenames or block names for AutoCAD software.

I was also able to reproduce this error in AutoCAD2000 and in
AutoCAD200LT.

I called the AutoCADLT tech support number and the person I spoke with
did not even know that you could rename blocks with the rename command.
He took my numbers and said a "Level 2" representative would call me
back.

Any advice? I have now inserted WIRE#_L in a lot of my drawings and now
I need to redefine the block in all the drawings. Since I can not
rename or redefine the block I am stuck. Only alternative is to delete
all WIRE#_L blocks and reinsert a new block definition and re enter all
my date into the attributes.

John Collyer
AV Washington
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Here is what you need to do.

try inserting the block but there is a little trick.

-insert or -i

WIRE#_L(block name in the drawing you want to change)=wire_l(block outside
of the drawing that you need to change)

So this is what the information should look like...
-i
-INSERT Enter block name or [?] : wire#_l=wire_l
Block "wire#_l" already exists. Redefine it? [Yes/No] : y

Jeff M.

PS you may want to put this info into a script and then all you have to do
is press a button and the script would run automatically in your drawing.

"John Collyer" wrote in message
news:399AD9B9.FEADF2FF@avwashington.com...
> ~ BUG -- # Charter in Block Names -- Invalid Old Name
>
> This seems like a simple problem buy I have not found any documentation
> on this bug.
>
> I want to insert a file as a block
>
> The filename is "WIRE#_L"
>
> The block inserts fine, all attributes are editable with DDATTE
>
> I can not redefine the block
>
> Tried to use the ATTREDEF Command in AutoCAD200 and was prompted that
> "WIRE#_L" was a invalid block name.
>
> I returned to AutoCADLT2000 and tried to use the RENAME command.
>
> When I opened the rename window I saw "WIRE#_L" as a block listed in the
> drawing. I clicked on WIRE#_L, WIRE#_L was put into the old name field,
> I then typed in anything for a new name, I clicked OK and got a popup
> window "Invalid old name specified!"
>
> What Gives????
>
> If I change the file name of WIRE#_L to WIRE_L and insert the file as a
> block in a new drawing, I can rename and redefine the block with no
> errors or old name warnings.
>
> From this I can only conclude that the # symbol is a taboo charter and
> should not be used in filenames or block names for AutoCAD software.
>
> I was also able to reproduce this error in AutoCAD2000 and in
> AutoCAD200LT.
>
> I called the AutoCADLT tech support number and the person I spoke with
> did not even know that you could rename blocks with the rename command.
> He took my numbers and said a "Level 2" representative would call me
> back.
>
> Any advice? I have now inserted WIRE#_L in a lot of my drawings and now
> I need to redefine the block in all the drawings. Since I can not
> rename or redefine the block I am stuck. Only alternative is to delete
> all WIRE#_L blocks and reinsert a new block definition and re enter all
> my date into the attributes.
>
> John Collyer
> AV Washington
>
Message 3 of 5
Anonymous
in reply to: Anonymous

Place a back-quote in front of the pound sign (#) in the Old File name box.
This will allow you to rename the block by ignoring that character. The
back-quote key is on the tilde key in the upper left corner of the keyboard.
Another option (discovered by John) is to use rename from the command line
(-rename). This way you don't need to add the back-quote in front of the
pound sign.
Debbie Mohorovich
Autodesk Product Support
Jeff Milos (Kasian Kennedy) wrote in message
<9C8F3BCB89946DFB46D64495F8693AF8@in.WebX.SaUCah8kaAW>...
>Here is what you need to do.
>
>try inserting the block but there is a little trick.
>
>-insert or -i
>
>WIRE#_L(block name in the drawing you want to change)=wire_l(block outside
>of the drawing that you need to change)
>
>So this is what the information should look like...
>-i
>-INSERT Enter block name or [?] : wire#_l=wire_l
>Block "wire#_l" already exists. Redefine it? [Yes/No] : y
>
>Jeff M.
>
>PS you may want to put this info into a script and then all you have to do
>is press a button and the script would run automatically in your drawing.
>
>"John Collyer" wrote in message
>news:399AD9B9.FEADF2FF@avwashington.com...
>> ~ BUG -- # Charter in Block Names -- Invalid Old Name
>>
>> This seems like a simple problem buy I have not found any documentation
>> on this bug.
>>
>> I want to insert a file as a block
>>
>> The filename is "WIRE#_L"
>>
>> The block inserts fine, all attributes are editable with DDATTE
>>
>> I can not redefine the block
>>
>> Tried to use the ATTREDEF Command in AutoCAD200 and was prompted that
>> "WIRE#_L" was a invalid block name.
>>
>> I returned to AutoCADLT2000 and tried to use the RENAME command.
>>
>> When I opened the rename window I saw "WIRE#_L" as a block listed in the
>> drawing. I clicked on WIRE#_L, WIRE#_L was put into the old name field,
>> I then typed in anything for a new name, I clicked OK and got a popup
>> window "Invalid old name specified!"
>>
>> What Gives????
>>
>> If I change the file name of WIRE#_L to WIRE_L and insert the file as a
>> block in a new drawing, I can rename and redefine the block with no
>> errors or old name warnings.
>>
>> From this I can only conclude that the # symbol is a taboo charter and
>> should not be used in filenames or block names for AutoCAD software.
>>
>> I was also able to reproduce this error in AutoCAD2000 and in
>> AutoCAD200LT.
>>
>> I called the AutoCADLT tech support number and the person I spoke with
>> did not even know that you could rename blocks with the rename command.
>> He took my numbers and said a "Level 2" representative would call me
>> back.
>>
>> Any advice? I have now inserted WIRE#_L in a lot of my drawings and now
>> I need to redefine the block in all the drawings. Since I can not
>> rename or redefine the block I am stuck. Only alternative is to delete
>> all WIRE#_L blocks and reinsert a new block definition and re enter all
>> my date into the attributes.
>>
>> John Collyer
>> AV Washington
>>
>
Message 4 of 5
Anonymous
in reply to: Anonymous

>When I opened the rename window I saw "WIRE#_L" as a block listed in the
>drawing. I clicked on WIRE#_L, WIRE#_L was put into the old name field,
>I then typed in anything for a new name, I clicked OK and got a popup
>window "Invalid old name specified!"
>What Gives????

Tthe dialog version of the rename command allows you to use wildcard
characters to rename objects, and the # character is a wildcard
character which stand for 'any numeral'. Use the command line version
instead:

-rename
block
WIRE#_L
Something

Or tell the dialog not to use # as a wildcard but as a character. This
is done using the backquote character.

Dietmar Rudolph

President, CR/LF GmbH, http://www.crlf.de
Vice-President Europe, CADLock, Inc. http://www.cadlock.com
Webmaster, AutoCAD Developers Group Europe, http://www.adge.org
Member of the Autodesk Discussion Forum Moderator Program

Author, "Mastering AutoCAD 2000 Objects", http://www.crlf.de/Verlag/PublishingServices.html
Message 5 of 5
astral.engenharia.fabio
in reply to: Anonymous

Perfect thank you! It worked!

 

 

-rename
block
WIRE#_L
Something

[...]

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Technology Administrators