Since you are inputting the path with a LISP funtion, you need to either use
forward slashes or double up on the backslashes like so:
(command "-insert" "Y:/Block Library 2007/Miscellaneous Symbols &
Text/Detailing Symbols/Revision-Mark.dwg" "0,0" "1" "1" "0")
OR
(command "-insert" "Y:\\Block Library 2007\\Miscellaneous Symbols &
Text\\Detailing Symbols\\Revision-Mark.dwg" "0,0" "1" "1" "0")
Paul
wrote in message news:6238569@discussion.autodesk.com...
Ok I've got something wrong here...
Can -insert be used with a filepath instead of a block name/ for an
undefined block?
If i type "-insert"
Then paste the file path "Y:\Block Library 2007\Miscellaneous Symbols &
Text\Detailing Symbols\Revision-Mark.dwg"
The command line asks for the XY scale and rotation and inserts the block
BUT
(command "-insert" "Y:\Block Library 2007\Miscellaneous Symbols &
Text\Detailing Symbols\Revision-Mark.dwg" "0,0" "1" "1" "0")
does not work. The command line says it is searching for:
"Block Library 2007Miscellaneous Symbols & TextDetailing
SymbolsRevision-Mark.dwg"
and that the search path cannot be found, so I added it, but it didnt
help...
How can I insert and undefined block without specifying the search path,
just the file path?