Thanks for the help Paul. I am having a problem with the menu macro. When
it gets to the line about attaching the file it doesn't do anything. I have
a feeling it is just some little thing I'm not doing, but I wouldn't know
what it is due to my lack of knowledge about macros. I can write out a
simple command sequence, but not file paths. I'll give you what I got, but
I know the file path is wrong:
^C^C-xref;a;\\HOUSTON_BD1\APPLICATIONS\_ACAD\TBLK\GNRL\X-GNRL-AANL.dwg;0,0,0
;^c^c
One error message when I was trying to figure it out said---
Warning: If you are trying to attach the file: "X-GNRL-AANL": as an Xref, it
must be attached using the
= syntax.
How do I make the macro read the xref path.
TIA,
Brandon
"Paul Furman" wrote in message
news:3A5B76B7.A8180468@edgehill.net...
> When you say template, I think you mean just a library file that can be
> inserted. This won't work without first attaching the xref to define it as
an
> xref, then you can erase that (or stop just short of final placement) &
insert
> your setup block. Perhaps a very simple lisp command or menu macro could
do both
> steps for the users fairly painlessly. Another step needed will be to turn
the
> viewport on, it will com in turned off. If you did set up a template (DWG
saved
> as DWT) though, that would work for the first layout at least & people
could
> just copy & paste to additional layouts.
>
> here's sort of a rough outline for how it might go:
>
> -xref \\servername\library\30X42.DWG
> 0,0,0 cancel
> -insert *\\servername\library\SHEET.DWG
> 0,0,0 " " " "
> mview on all
>
> Brandon Cooley wrote:
>
> > I am trying to make all of my company's tblocks use xrefs for the
borders
> > and our company info. I am somewhat of a newbie to using xrefs, so
please
> > bear with me.
> >
> > I made a drawing of the border, etc. to use as an xref (X-GNRL-AANL)
> > I made a wblock of the tblock attribute info to insert into the template
> > (GNRL-AAN-ATTB)
> > I then created a dwg template (GNRL-AANL) with the inserted xref and
> > attributed block in order to minimize the steps when inserting a
paperspace
> > layout.
> >
> > The reason I am wanting to do it this way is to bypass having to make,
or
> > import any page setups, other blocks, etc. I want one step (insert
layout
> > from template) that will bring in everything.
> >
> > When I open a drawing and "insert layout from template" the xrefed
border
> > comes in as a block reference, not as what is shown when opening
GNRL-AANL.
> >
> > What can I do to accomplish this? Or do I have to bring the existing
> > drawing into the opened titleblock template drawing so that the Xref
will be
> > shown?
> >
> > using A2k.
> >
> > Thanks in advance for any help!
> >
> > --
> > Brandon
> > --
> > remove ~NS~ when replying.
> > --
>