Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody,
I'm using a lisp file which (should) send all the xrefs to the back with draworder. But suddenly it doesn't work anymore.
I've reloaded him in the startup suite but this doesn't work.
It could be because the xref isn't a dwg but a pdf, but I don't know.
Nothing is changed. I didn't change something in the settings from AutoCad, no other lisp is added and there was no software update.
Does anyone know what the reason could be?
Thank you
Sander
Showed command lines after using the command:
"Command: XDR
_.draworder
Select objects: 0 found
Select objects:
Command: _b Unknown command "B". Press F1 for help."
; set all Xref's to back [code] (DEFUN c:xdr ( / curent curset newset) (vl-load-com) (SETQ newset (SSADD)) (IF (SETQ curset (SSGET "X" '((0 . "INSERT")))) (WHILE (SETQ curent (SSNAME curset 0)) (SETQ curobj (VLAX-ENAME->VLA-OBJECT curent)) (IF (= T (VLAX-PROPERTY-AVAILABLE-P curobj 'path)) (SSADD curent newset) ) (SSDEL curent curset) ) ) (command "_.draworder" newset "" "_b") [/code] (princ) )
Solved! Go to Solution.