<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
<title>OSNAP command in Autolisp</title>
<link>http://www.zwsoft.com/forum/viewthread.php?tid=1565</link>
<description>tested.... 
 
Osnap in version 2010 is not working...but it work on 2010 beta.
just be sure to put the Underscore on the snap settings
 
eg: &quot;_end&quot;Andrea2010-05-13 00:53:02</description>
<author>setq</author>
<pubDate>2010-05-13 00:49:15</pubDate>
<item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12753</link>
<description> [QUOTE=_mac] I have a similar problem but with the osnap &quot;per&quot;, can someone confirm this.

(command &quot;line&quot; p1)
(setq p2 (osnap (getpoint &quot;'nPick point: &quot;) &quot;per&quot;))

These lines worked in ACAD but not in ZWCAD.  

Anyone from zwcad care to comment on this?</description>
<author>_mac</author>
<pubDate>2010-07-27 10:18:32</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12728</link>
<description>I have a similar problem but with the osnap &quot;per&quot;, can someone confirm this.

(command &quot;line&quot; p1)
(setq p2 (osnap (getpoint &quot;'nPick point: &quot;) &quot;per&quot;))

These lines worked in ACAD but not in ZWCAD. </description>
<author>_mac</author>
<pubDate>2010-07-19 15:27:10</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12512</link>
<description>Ok thanks all, do I assume then that the osnap problem has been fixed 
and will work correctly in  (_VERNUM = &quot;2010.04.30(14725)&quot;) ??





It is now middle May, has this version been released yet ? 





Thanks

ps. Yes , Eric, my ID is a reference to the asign function in LISP, namely setq. I think it appropriate for postings where LISP is discussed. Been programming LISP since 1980....

</description>
<author>setq</author>
<pubDate>2010-05-18 06:49:45</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12491</link>
<description>[QUOTE=Andrea]tested.... 
 
Osnap in version 2010 is not working...but it work on 2010 beta.
just be sure to put the Underscore on the snap settings
 
eg: &quot;_end&quot; 
 
hi,Andrea,
thank you for you sharing~~
 
have a nice day
 
Eric
 </description>
<author>ZWCAD_Eric</author>
<pubDate>2010-05-13 10:57:56</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12475</link>
<description>hi,setq, 
 
   your id is very interesting, is it  a assignment function ?   
   to be frankly ,i know a little about programme ,but i just know little about lisp .
   i tried (setq p1 (osnap (getpoint &quot;'Pick intersection: &quot;) &quot;int&quot;))  in zwcad 2010 (_VERNUM = &quot;2010.04.30(14725)&quot;) ,it works well  ,returns  the coordinates of the intersection i osnap.   If no intersection is found, it will return NIL. 
   BTW,zwcad2010((_VERNUM = &quot;2010.04.30(14725)&quot;)) will be released in MAY.
  if the problem still exist ,  would you please kindly send your the problem  to &lt;a href=&quot;mailto:tech@zwcad.com&quot; target=&quot;_blank&quot;&gt;tech@zwcad.com&lt;/A&gt; via email and tell me the vernum of zwcad you are using . It is better to make a movie to record the operations you have done before the problem occured. In this case, we could verify the problem easily. After receiving your email, we will try  to find a solution for the problem as soon as possible.  Thanks in advance.
 
 have a nice day and wish to learn more from you ~~ 
&lt;DIV id=tts_ title=&#26391;&#35835;&#27492;&#35793;&#25991; style=&quot;DISPLAY: block&quot; =&quot; &quot;&gt; 
&lt;DIV title=&#26391;&#35835;&#27492;&#35793;&#25991; style=&quot;DISPLAY: block&quot; =&quot; &quot;&gt;EricEric2010-05-10 10:17:41</description>
<author>ZWCAD_Eric</author>
<pubDate>2010-05-10 10:15:41</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=1565&amp;pid=12474</link>
<description>The following line of lisp code should return point p1 only if an 
intersection
 is found.  If no intersection is found, it will return 
NIL.

(setq
 p1 (osnap (getpoint &quot;'Pick intersection: &quot;) &quot;int&quot;))

It works 
perfectly in 2009i, but crashes in 2010.

If the safety feature is
 omitted, namely:

(setq p1 (getpoint &quot;'Pick point: &quot;) )

it
 works in 2010, but it will now snap onto anything, even a void.</description>
<author>setq</author>
<pubDate>2010-05-09 15:37:04</pubDate>
</item>  </channel>
</rss>