TheSwamp

Code Red => .NET => Topic started by: Odoshi on February 02, 2011, 08:28:24 AM

Title: Xref Repath and Bind
Post by: Odoshi on February 02, 2011, 08:28:24 AM
Hi all,

I want to batch process some DWG's, re-pathing their Xrefs and Binding them.

Do I have to open the drawing in the Editor so that it becomes the MdiActiveDocument, or can I just make a new DB  in memory with ReadDwgFile(), re-path and bind?

Thanks,
Mike
Title: Re: Xref Repath and Bind
Post by: kaefer on February 02, 2011, 08:55:18 AM
I want to batch process some DWG's, re-pathing their Xrefs and Binding them.

Do I have to open the drawing in the Editor so that it becomes the MdiActiveDocument, or can I just make a new DB  in memory with ReadDwgFile(), re-path and bind?

No. Yes.

The honorable Glenn R. may have covered this already: http://www.theswamp.org/index.php?topic=24524.msg296051#msg296051 (http://www.theswamp.org/index.php?topic=24524.msg296051#msg296051)