PointMonitor and AutoSnap == 37

PointMonitor and AutoSnap == 37

Anonymous
Not applicable
1,375 Views
6 Replies
Message 1 of 7

PointMonitor and AutoSnap == 37

Anonymous
Not applicable
Do not know, if any of you have noticed or if it is already a known issue.

When you have a command and use the PointMonitor class, and then it is
changed the value of AutoSnap to 37 - The tooltip is not shown at all.

That's how was designed?


Thanks!
0 Likes
1,376 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
I solved my own question... thanks!
0 Likes
Message 3 of 7

Anonymous
Not applicable
Luis, and the answer was ?

///kwb
wrote in message news:5787903@discussion.autodesk.com...
I solved my own question... thanks!
0 Likes
Message 4 of 7

Anonymous
Not applicable
By adding the following code inside of the event function:

[code]
// correccion de la variable autosnap!
object asnap = acadApp.GetSystemVariable("AUTOSNAP");
if (Convert.ToInt32(asnap).Equals(37))
{
object obj = 7;
acadApp.SetSystemVariable("AUTOSNAP", obj);
}
[/code]

That, way the tooltip is always shown.
0 Likes
Message 5 of 7

Anonymous
Not applicable
My question was to know if this is a BUG - To me they are using the same tooltip as the one in autosnap - the problem is that why is broken if the value of autosnap is changed to 37 - when there could be other custom commands that rely on PointMonitor to provide info...
0 Likes
Message 6 of 7

Anonymous
Not applicable
Luis, do you really think its ok to change the
user's preferences to get your program to work?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5787909@discussion.autodesk.com...
By adding the following code inside of the event function:

[code]
// correccion de la variable autosnap!
object asnap = acadApp.GetSystemVariable("AUTOSNAP");
if (Convert.ToInt32(asnap).Equals(37))
{
object obj = 7;
acadApp.SetSystemVariable("AUTOSNAP", obj);
}
[/code]

That, way the tooltip is always shown.
0 Likes
Message 7 of 7

Anonymous
Not applicable
Tony;

This is for an in-house tools.

Thanks.

/*
Luis, do you really think its ok to change the
user's preferences to get your program to work?
*/
0 Likes