TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: squirreldip on July 29, 2016, 12:51:12 PM

Title: Un-Snapable Entity
Post by: squirreldip on July 29, 2016, 12:51:12 PM
Does anyone know of a way to make an object unsnapable?

For example, I create a cross section or profile grid with linework on top.  I would like to be able to snap to the linework but disregard any of the grid.
Title: Re: Un-Snapable Entity
Post by: ChrisCarlson on July 29, 2016, 12:59:26 PM
Does this help?

OSOPTIONS - 1 (Object snaps ignore hatch objects.)

Title: Re: Un-Snapable Entity
Post by: squirreldip on July 29, 2016, 01:14:23 PM
I saw that...  No...

Wanting to remove individual objects or blocks not just hatch.
Title: Re: Un-Snapable Entity
Post by: ChrisCarlson on July 29, 2016, 01:49:15 PM
Appears possible with .NET

http://through-the-interface.typepad.com/through_the_interface/2013/12/disabling-snapping-to-specific-autocad-objects-using-net-part-1.html
Title: Re: Un-Snapable Entity
Post by: ribarm on July 29, 2016, 02:14:05 PM
Appears possible with .NET

http://through-the-interface.typepad.com/through_the_interface/2013/12/disabling-snapping-to-specific-autocad-objects-using-net-part-1.html

I was just about to suggest the same... I've already compiled it for A2012 and A2014... For other versions, you'll have to do it yourself... But I must admit that I use it very rarely... So NETLOAD => select *.dll, and just type commandnames already provided in dll names...

HTH, M.R.
Title: Re: Un-Snapable Entity
Post by: squirreldip on July 29, 2016, 02:32:31 PM
Thanks guys, I'll look through that link.

I'm hoping it's possible to do in lisp so it wouldn't be version dependent.
Title: Re: Un-Snapable Entity
Post by: VovKa on July 29, 2016, 07:46:27 PM
try shapes