Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hie,
I am a novice lisp programmer. I am trying to make a routine to insert a block from other file. When i run the routine i receive a warning "Unable to insert a dependent block" and i don´t understand why.
Could you help me?
Regards.
(defun c:7B ()
(setq blkPath "C:\\Users\\xxx\\Dropbox\\Bloques.dwg")
(setq blkName "BQ_xxxx")
(command "_.-INSERT" (strcat blkPath "|" blkName) "0,0,0" 1 1 0)
(if (tblsearch "BLOCK" blkName)
(princ "\nBloque cargado correctamente. Ahora puedes insertarlo manualmente.")
(princ "\nError: No se pudo cargar el bloque.")
)
(princ)
)
Solved! Go to Solution.