CAD Managers

Reply
Active Member
ldcadman
Posts: 7
Registered: ‎08-20-2008
Message 1 of 4 (442 Views)
Accepted Solution

Attaching Xref

442 Views, 3 Replies
02-23-2012 04:09 PM

When we attach an exref we have to set the layer first, (XREF) and then attach the file we want.

I'm looking for a way to simplfy the process by combining the two tasks.

 

For one, it seems I'm not on the "right" layer when I attach an xref often.

 

I was thinking of a custom icon perhaps on a toolbar that when launched would first set the layer to XREF and then proceed to attaching the XREF

 

Appreciate you help.

Mark

 

 

Try adding the follow macro to an icon

 

^C^C_-layer;m;xref;c;white;xref;^C^C_-xref;a;

 

It will create layer "Xref" and give it the colour white, then open your xref manager.

 

Mark

The macro above uses -LAYER command's MAKE sub-option: look it up in HELP, it works without worries about if the layer is already in the file or not.

Distinguished Mentor
skintsubby
Posts: 549
Registered: ‎09-29-2004
Message 2 of 4 (438 Views)

Re: Attaching Xref

02-23-2012 11:26 PM in reply to: ldcadman

Try adding the follow macro to an icon

 

^C^C_-layer;m;xref;c;white;xref;^C^C_-xref;a;

 

It will create layer "Xref" and give it the colour white, then open your xref manager.

 

Mark

Active Member
ldcadman
Posts: 7
Registered: ‎08-20-2008
Message 3 of 4 (435 Views)

Re: Attaching Xref

02-24-2012 05:26 AM in reply to: ldcadman

Thank you for your reply.

I'm wondering what will happen if the file I attempt to attach an Xref with that command line if it already has a layer xref?

 

Mark

*Expert Elite*
pendean
Posts: 22,902
Registered: ‎11-06-2003
Message 4 of 4 (431 Views)

Re: Attaching Xref

02-24-2012 07:52 AM in reply to: ldcadman

The macro above uses -LAYER command's MAKE sub-option: look it up in HELP, it works without worries about if the layer is already in the file or not.

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.

Announcements
Manufacturing CAD & IT Manager Resource
Additional information for installing, licensing & deploying Inventor, the Product Design Suites and Factory Design Suites.