Menu Item - With spaces

Fred

Usenet Archive
Joined
Apr 25, 2000
Messages
86
Reaction score
0
Hi

I am making a menu for some of our blocks and our path to the blocks has a space in the path...ie C:/Company Standards/AutoCAD Blocks/Stamps/Review.dwg

When I run the file its putting a hard return after the spaces.

Without changing the name of the Folders is there something that I can put in my menu path?

This ;

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;

[--]

THANKS!

Fred
 
Is the path in "" ?
like: "C:/Company Standards/AutoCAD Blocks/Stamps/Review.dwg" or "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg" don't know if that would help?
 
Ya...you are probably right it is something in my path... I tried your suggestions...Nope No luck.. its crapping out after the C:

I am getting....

Command: -insert
Enter block name or [?]: C://Company
Invalid block name.

and

Command: -insert
Enter block name or [?]: C:

Thansk for help!

Fred

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;

[--]
 
Well....you would really be making life easier if you renamed the path to:
companystandards
 
Try this "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg"

Not this "C://Company Standards//AutoCAD Blocks//Stamps//Review.dwg"

Fred said:
Ya...you are probably right it is something in my path... I tried your suggestions...Nope No luck.. its crapping out after the C:

I am getting....

Command: -insert
Enter block name or [?]: C://Company
Invalid block name.

and

Command: -insert
Enter block name or [?]: C:

Thansk for help!

Fred

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;

[--]
Mark Propst said:
Is the path in "" ?
like: "C:/Company Standards/AutoCAD Blocks/Stamps/Review.dwg" or "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg" don't know if that would help?
has
 
Ya I hear ya....I know it would extremely easy...but unfortunately we have IT people who's thinking are in Windows based stuff and honestly they never heard of DOS and the underscores between names and such.......;-)
 
I tried it and no luck....I got

Command: -insert
Enter block name or [?]: C://Company
Invalid block name.

Thx for the help....

GIF said:
Try this "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg"

Not this "C://Company Standards//AutoCAD Blocks//Stamps//Review.dwg"

Fred said:
Ya...you are probably right it is something in my path... I tried your suggestions...Nope No luck.. its crapping out after the C:

I am getting....

Command: -insert
Enter block name or [?]: C://Company
Invalid block name.

and

Command: -insert
Enter block name or [?]: C:

Thansk for help!

Fred

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;

[--]
Mark Propst said:
Is the path in "" ?
like: "C:/Company Standards/AutoCAD Blocks/Stamps/Review.dwg" or "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg" don't know if that would help?

Hi

I am making a menu for some of our blocks and our path to the blocks
has
a
space in the path...ie C:/Company Standards/AutoCAD
Blocks/Stamps/Review.dwg
 
Hi

When i inserted your path in the menu and then run it....it says...

Command: -insert
Enter block name or [?]: C:

Fred

GIF said:
Try this "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg"

Not this "C://Company Standards//AutoCAD Blocks//Stamps//Review.dwg"

Fred said:
Ya...you are probably right it is something in my path... I tried your suggestions...Nope No luck.. its crapping out after the C:

I am getting....

Command: -insert
Enter block name or [?]: C://Company
Invalid block name.

and

Command: -insert
Enter block name or [?]: C:

Thansk for help!

Fred

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;

[--]
Mark Propst said:
Is the path in "" ?
like: "C:/Company Standards/AutoCAD Blocks/Stamps/Review.dwg" or "C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg" don't know if that would help?

Hi

I am making a menu for some of our blocks and our path to the blocks
has
a
space in the path...ie C:/Company Standards/AutoCAD
Blocks/Stamps/Review.dwg
 
I should of put this in my last post...sorry...

So now my menu says

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg;/;;;

[--]
RESULT;

Command: -insert
Enter block name or [?]: C:
 
You need the ""
Fred said:
I should of put this in my last post...sorry...

So now my menu says

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg;/;;;

[--]
RESULT;

Command: -insert
Enter block name or [?]: C:
 
Instead of:
]^c^c-insert;C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg;/;;;
Do:
^c^c(command "-insert" "c:/company standards/AutoCAD/Blocks/Stamps/Review" pause "" "" ""); Bob
 
Hi

Put what you said and after I run it; A "Substitute Block Name" dialog box Pops-up and requests "The file you have chosen can not be used as a block name..New Block name"

I tried both Typing in a new name and also leaving it blank ...still no luck....

I did make sure the block does work....;-)

Thanks for the help......
***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review^c^c(command "-insert" "c:/company standards/AutoCAD/Blocks/Stamps/Review" pause "" "" ""); [--] A dialog pops up and says..... "
ECCAD said:
Instead of:
]^c^c-insert;C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg;/;;;
Do:
^c^c(command "-insert" "c:/company standards/AutoCAD/Blocks/Stamps/Review" pause "" "" ""); Bob
 
Where do i need the ""

thanks for the help

Dave said:
You need the ""
Fred said:
I should of put this in my last post...sorry...

So now my menu says

***MENUGROUP=MyMenu

***POP1

**[&MyMenu]
[->&Annotation]
ID_Stamps [->&Issued Stamps]
ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:\\Company Standards\\AutoCAD Blocks\\Stamps\\Review.dwg;/;;;

[--]
RESULT;

Command: -insert
Enter block name or [?]: C:
 
is there by any chance a block inside the file "c:/company standards/AutoCAD/Blocks/Stamps/Review" that has the name "Review"??? If so you're trying to create a self-referencing block, maybe that's why the name substitution came up?
 
Hi

I tried your comment again and It worked....it was actually kinda weird....I rebooted my machine and selected the menu item and it worked...

hmmm go figure...

Thanks for the help MUCH appreciated....

Fred
 
Hi,

ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;
<snip>
The only thing wrong here are the missing quotes and the slash instead of the backslash in the macro.

I just tested the following on my machine, it worked:

^C^C_-insert;"C:/Dokumente und Einstellungen/ruul/Lokale Einstellungen/Temp/test";\;;

so your entry should probably be
ID_Issued For Review [<-&Issued For Review]^c^c-insert;"C:/Company Standards/AutoCAD Blocks/Stamps/Review";\;;;

hth
ruul
 
Got it

Thanks!

ruul morawetz said:
Hi,

ID_Issued For Review [<-&Issued For Review]^c^c-insert;C:/Company Standards/AutoCAD Blocks/Stamps/Review;/;;;
<snip>
The only thing wrong here are the missing quotes and the slash instead of the backslash in the macro.

I just tested the following on my machine, it worked:

^C^C_-insert;"C:/Dokumente und Einstellungen/ruul/Lokale Einstellungen/Temp/test";\;;

so your entry should probably be
ID_Issued For Review [<-&Issued For Review]^c^c-insert;"C:/Company Standards/AutoCAD Blocks/Stamps/Review";\;;;

hth
ruul
 

Latest threads

Back
Top