Author Topic: How to ignore an XREF's Osnaps  (Read 11874 times)

0 Members and 1 Guest are viewing this topic.

Nibster

  • Guest
How to ignore an XREF's Osnaps
« on: January 07, 2011, 04:48:46 PM »
Does anyone have any idea how this can be done?  We got a real doozy background package where someone didn't believe in ortho mode, but got it annoyingly close (accuracy set to 2 places facilitated the illusion that it was perfect).  No option to have them fix it and it's quicker to redraw this smaller area ourselves anyway.

Thanks in advance!

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: How to ignore an XREF's Osnaps
« Reply #1 on: January 08, 2011, 10:27:14 AM »
Not possible through LISP unless perhaps a LISP is run transparently at EVERY point prompt, which would probably take more time that its worth IMO...

Otherwise LISP takes priority, and couldn't be run simultaneously whilst a command is prompting for a point.

Lee

Nibster

  • Guest
Re: How to ignore an XREF's Osnaps
« Reply #2 on: January 11, 2011, 09:39:12 AM »
That sounds exactly like something i don't want running transparently, if even possible.  Just wondering about possibilities....

Thanks!

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: How to ignore an XREF's Osnaps
« Reply #3 on: January 11, 2011, 04:08:17 PM »
I would probably turn off osnaps and type them when I need them or press F3 to toggle them on/off as needed in this case.

VVA

  • Newt
  • Posts: 166
Re: How to ignore an XREF's Osnaps
« Reply #4 on: January 12, 2011, 05:08:34 AM »
once upon a time was a program AlxdOSnapFilter. The author returned to the project and published a version AlxdOSnapFilter for AutoCAD 2010-2011. Among other things, the program can filter out the layers of a name or part of its name (mask)
If you have inserted xref named XREF1, then the layers will have a name XREF1|Layer1, XREF1|Layer2, etc.
How do I: Set the layer named XREF1 * and include inversion

Quote
Command: _OSF
Active filters ON
  Color number: *
  Layer name: xref1* inversed
  Linetype name: *
Enter mode [ON/OFF] or select filter to change [Color/LAyer/LType/LWeight/eXit]
<ON>: la
Enter layer filter option [Name/Inverse/eXit] <eXit>: n
Enter filter layer name: xref1*
Enter mode [ON/OFF] or select filter to change [Color/LAyer/LType/LWeight/eXit] <ON>: la
Enter layer filter option [Name/Inverse/eXit] <eXit>: i
Do you want to use inverse? <Yes>: y
Enter mode [ON/OFF] or select filter to change [Color/LAyer/LType/LWeight/eXit] <ON>:

Translated readme
Quote
AlxdOSnapFilter allows you to filter the entities involved in
determining the object snap points.

Key features:
- filter on color
- filter on the layer name
- Filter by type lines
- By the thickness
- invert any filter
- On / Off filter

Description:
Command _osnapfilter or _osf
Setting the filter.

Active filters ON
  Color number: *
  Layer name: *
  Linetype name: *
  Lineweight value: *
Enter mode [ON/OFF] or select filter to change [Color/LAyer/LType/LWeight/eXit] <OFF>:
ON - enable the filter object snap
   OFF - disable the filter object snap
   Color - customize the color filter option
     Enter color index or [Reset / Select / Inverse / eXit] <eXit>: enter the number of colors
       Reset - reset the filter by color
       Select - to select the color
       Inverse
         Do you want to use inverse? <No>: On / Off inversion Filter preferably in color
       eXit - out of options
LAyer - set up filter options on the layer name
     Enter layer filter option [Name / Inverse / eXit] <eXit>:
       Name
         Enter filter layer name: input filter on the layer name
       Inverse
         Do you want to use inverse? <No>: on / off the inversion layer of filter mappingson name
       eXit - out of options
   LType - set filter options for the type of lines
     Enter linetype filter option [Name / Inverse / eXit] <eXit>:
       Name
         Enter filter linetype name: input filter on the name of the type lines
       Inverse
         Do you want to use inverse? <No>: On / Off inversion filter mappings of type lines
       eXit - out of options
LWeight - set filter options for the thickness of the lines
     Enter lineweight value or [Reset / Inverse / eXit] <eXit>: entry thickness
       Reset - reset the filter thickness
       Inverse
         Do you want to use inverse? <No>: On / Off inversion filter mappings in thickness
       eXit - out of options
   eXit - out of the team


Command _osnapfilterstate or _osfstate
Displays the current filter status.


Active filters ON
  Color number: *
  Layer name: *
  Linetype name: *
  Lineweight value: *

Line inversed after the filter value means its inversion.
Commands "transparent", ie may be caused during the action of other teams.

Download:
1. Unpack the archive
2. Run AutoCAD
3. Call the team _appload
4. Find and download the uncompressed file AlxdOSnapFilter2010.arx
5. For other downloads AutoCAD AlxdOSnapFilter will be loaded automatically.


License:
AlxdOSnapFilter provided "as is" ("as is"). No warranty.
The program is used at your own risk. The author is not liable for
loss of data from being damaged, etc.

Error information, comments and suggestions please send to email. Author's address:
alexandrkozin@mail.ru Shchetinin Alexander

Thank you.

tony bombata

  • Newt
  • Posts: 45
Re: How to ignore an XREF's Osnaps
« Reply #5 on: March 10, 2011, 09:35:14 AM »
you guys are the best  :-)

some guy in my office gave me a drawing that was all linework (no blocks) . working with it was a NIGHTMARE

huiz

  • Swamp Rat
  • Posts: 917
  • Certified Prof C3D
Re: How to ignore an XREF's Osnaps
« Reply #6 on: March 10, 2011, 10:12:22 AM »
You can save the xref as Microstation DGN or Adobe PDF. If you reference such a file, you can turn off Object Snaps for that file type.
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

Nibster

  • Guest
Re: How to ignore an XREF's Osnaps
« Reply #7 on: March 10, 2011, 10:19:04 AM »
You can save the xref as Microstation DGN or Adobe PDF. If you reference such a file, you can turn off Object Snaps for that file type.
PDF references bog the HECK out of my machine so i personally try to avoid them here.  file size doesn't seem to be the issue, it seems to be the file format.  :ugly:

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: How to ignore an XREF's Osnaps
« Reply #8 on: March 10, 2011, 10:21:56 AM »
You can save the xref as Microstation DGN or Adobe PDF. If you reference such a file, you can turn off Object Snaps for that file type.
PDF references bog the HECK out of my machine so i personally try to avoid them here.  file size doesn't seem to be the issue, it seems to be the file format.  :ugly:
I've had really good luck saving to PDF, converting to TIFF, inserting into Excel then linking into Word, create an XPS, convert to ASCII, print it, scan it then finally xref it back into AutoCAD.   :roll:
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Nibster

  • Guest
Re: How to ignore an XREF's Osnaps
« Reply #9 on: March 10, 2011, 10:24:58 AM »
You can save the xref as Microstation DGN or Adobe PDF. If you reference such a file, you can turn off Object Snaps for that file type.
PDF references bog the HECK out of my machine so i personally try to avoid them here.  file size doesn't seem to be the issue, it seems to be the file format.  :ugly:
I've had really good luck saving to PDF, converting to TIFF, inserting into Excel then linking into Word, create an XPS, convert to ASCII, print it, scan it then finally xref it back into AutoCAD.   :roll:
:lmao: