Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XRef Attachment

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
210 Views, 5 Replies

XRef Attachment

I would like to create a (menu) macro to attach an xref, however I cannot
seem to find a way to control the command xattach from the command line. Any
suggestions would be appreciated.
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

-XREF command (note the dash) is what you need to use.

--
Dean Saadallah
http://www.pendean.com
LT Express Utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--

"TomDe" wrote in message
news:9DE914412B6C0A60DEF0097377F04151@in.WebX.maYIadrTaRb...
> I would like to create a (menu) macro to attach an xref, however I cannot
> seem to find a way to control the command xattach from the command line.
Any
> suggestions would be appreciated.
>
>
Message 3 of 6
Anonymous
in reply to: Anonymous

-xref, note the dash.

Also, add underscore _-xref to force english command if
the macro should be used on localized version.

And use slash / not backslash \ when enter path in macro.
Backslash is used as special character for "wait for user input".

One more, use double quote "around path" if it contains spaces
Spaces are special character for Enter key in macro.

Conny

"TomDe" skrev i meddelandet
news:9DE914412B6C0A60DEF0097377F04151@in.WebX.maYIadrTaRb...
> I would like to create a (menu) macro to attach an xref, however I cannot
> seem to find a way to control the command xattach from the command line.
Any
> suggestions would be appreciated.
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

OK, now I've gotten that far, I still can't get past the "Attach" dialogue
box and can't seem to get any further via the command line.
What I want to do is have an xref (that resides in the same folder as the
drawing I'm working on) attached to the new drawing, inserted at 0,0 and
scaled to 1.
A sample would be appreciated.

TomDe

Conny Klasson wrote in message
news:235A07B932E5217EFAECC1595A58B586@in.WebX.maYIadrTaRb...
> -xref, note the dash.
>
> Also, add underscore _-xref to force english command if
> the macro should be used on localized version.
>
> And use slash / not backslash \ when enter path in macro.
> Backslash is used as special character for "wait for user input".
>
> One more, use double quote "around path" if it contains spaces
> Spaces are special character for Enter key in macro.
>
> Conny
>
> "TomDe" skrev i meddelandet
> news:9DE914412B6C0A60DEF0097377F04151@in.WebX.maYIadrTaRb...
> > I would like to create a (menu) macro to attach an xref, however I
cannot
> > seem to find a way to control the command xattach from the command line.
> Any
> > suggestions would be appreciated.
> >
> >
>
>
Message 5 of 6
Anonymous
in reply to: Anonymous

^C^C_undo;_mark;_filedia;0;_-xref;_attach;MYXREF;0,0;1;;;_filedia;1

--
Dean Saadallah
http://www.pendean.com
LT Express Utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--

"TomDe" wrote in message
news:0A3710ABDD93123668CACF2BE4E487A9@in.WebX.maYIadrTaRb...
> OK, now I've gotten that far, I still can't get past the "Attach" dialogue
> box and can't seem to get any further via the command line.
> What I want to do is have an xref (that resides in the same folder as the
> drawing I'm working on) attached to the new drawing, inserted at 0,0 and
> scaled to 1.
> A sample would be appreciated.
>
> TomDe
>
> Conny Klasson wrote in message
> news:235A07B932E5217EFAECC1595A58B586@in.WebX.maYIadrTaRb...
> > -xref, note the dash.
> >
> > Also, add underscore _-xref to force english command if
> > the macro should be used on localized version.
> >
> > And use slash / not backslash \ when enter path in macro.
> > Backslash is used as special character for "wait for user input".
> >
> > One more, use double quote "around path" if it contains spaces
> > Spaces are special character for Enter key in macro.
> >
> > Conny
> >
> > "TomDe" skrev i meddelandet
> > news:9DE914412B6C0A60DEF0097377F04151@in.WebX.maYIadrTaRb...
> > > I would like to create a (menu) macro to attach an xref, however I
> cannot
> > > seem to find a way to control the command xattach from the command
line.
> > Any
> > > suggestions would be appreciated.
> > >
> > >
> >
> >
>
>
Message 6 of 6
Anonymous
in reply to: Anonymous

Dean,
Thanks you, thank you, thank you.
I wouldn't have thought of going that way.
It works, what more can I say.

TomDe

Dean Saadallah wrote in message
news:3B5AA15E1B02BB7FBD1BD79C31351642@in.WebX.maYIadrTaRb...
> ^C^C_undo;_mark;_filedia;0;_-xref;_attach;MYXREF;0,0;1;;;_filedia;1
>
> --
> Dean Saadallah
> http://www.pendean.com
> LT Express Utilities
> http://www.pendean.com/ltexpress
> Expanded Links Pages
> http://www.pendean.com/lt/links.htm
> --
>
> "TomDe" wrote in message
> news:0A3710ABDD93123668CACF2BE4E487A9@in.WebX.maYIadrTaRb...
> > OK, now I've gotten that far, I still can't get past the "Attach"
dialogue
> > box and can't seem to get any further via the command line.
> > What I want to do is have an xref (that resides in the same folder as
the
> > drawing I'm working on) attached to the new drawing, inserted at 0,0 and
> > scaled to 1.
> > A sample would be appreciated.
> >
> > TomDe
> >
> > Conny Klasson wrote in message
> > news:235A07B932E5217EFAECC1595A58B586@in.WebX.maYIadrTaRb...
> > > -xref, note the dash.
> > >
> > > Also, add underscore _-xref to force english command if
> > > the macro should be used on localized version.
> > >
> > > And use slash / not backslash \ when enter path in macro.
> > > Backslash is used as special character for "wait for user input".
> > >
> > > One more, use double quote "around path" if it contains spaces
> > > Spaces are special character for Enter key in macro.
> > >
> > > Conny
> > >
> > > "TomDe" skrev i meddelandet
> > > news:9DE914412B6C0A60DEF0097377F04151@in.WebX.maYIadrTaRb...
> > > > I would like to create a (menu) macro to attach an xref, however I
> > cannot
> > > > seem to find a way to control the command xattach from the command
> line.
> > > Any
> > > > suggestions would be appreciated.
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost