TheSwamp
Code Red => VB(A) => Topic started by: Matersammichman on May 22, 2007, 09:40:30 AM
-
Can you use a Mousemove event (or something similar) when hovering over a dwg to detect a certain type of object in Cad (ie: circle)? Examples?
-
Can you use the AECINSPECT command instead?
-
Not unless you know a way I can pass the data. Basically I want to create a "typeof" sniffer.
working at trying to create a "smart" osnap function...
When I hover my cursor over a circle, line, etc., I want vba to automatically set my osnaps byobject.
ie: If the typeof object is a circle, then set osmode = 276 (quadrant, center, tangent),
or if it's a line, then set osmode = 35 (end, midpoint, intersection),
etc.....
Ideas?
-
What if you select an object instead? I'm not sure you can do what you're asking with VBA.
-
Yeah...I'm not sure either.
Sure, I can select the object and use a typeof statement.
That's kind of halfway doing it, but its better than nothing I guess.
Thanks for the help Matt.