Author Topic: Xref renaming, no repathing  (Read 648 times)

0 Members and 1 Guest are viewing this topic.


  • Mosquito
  • Posts: 2
Xref renaming, no repathing
« on: April 14, 2019, 08:59:06 AM »
I want to make a command that will fix the names of all xrefs in the file.
xrefs in the file:
name - path
"X1" - C:/view1.dwg
"X2" - C:/view2.dwg
"X3" - C:/view3.dwg

has to change to:

"view1" - C:/view1.dwg
"view2" - C:/view2.dwg
"view3" - C:/view3.dwg

I would like to be able to do that in accoreconsole and this means I would have to use .net c#, netload it and use it in accoreconsole. (cannot use AutoLISP as far as I understand).
I am not much of a .net guy and would be happy if somebody at least jump-starts me regarding this task.


  • Water Moccasin
  • Posts: 2261
  • Marseille, France
Re: Xref renaming, no repathing
« Reply #1 on: April 14, 2019, 11:07:52 AM »

As you use a script in the Core Console you can use LISP expressions the same way you'd do it at the command line.
Speaking English as a French Frog