Author Topic: Osnaps  (Read 1717 times)

0 Members and 1 Guest are viewing this topic.

OcCad

  • Guest
Osnaps
« on: December 03, 2007, 02:00:51 PM »
Hey guys,

Any help on how to incorporate object snaps into a routine. For example inserting a block to all intersections of (ss) crossing lines or centers of (ss) circles

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Osnaps
« Reply #1 on: December 03, 2007, 02:27:02 PM »
Just loop through the selection set testing each item against each other using the 'IntersectWidth' method.  For circles, just use the 'Center' property, or dxf code 10.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

daron

  • Guest
Re: Osnaps
« Reply #2 on: December 03, 2007, 05:16:04 PM »
Shouldn't that be intersectWith?

ronjonp

  • Needs a day job
  • Posts: 7531
Re: Osnaps
« Reply #3 on: December 03, 2007, 05:29:27 PM »
Shouldn't that be intersectWith?

yes

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Osnaps
« Reply #4 on: December 03, 2007, 05:31:44 PM »
Dang fat fingers.... all day today.  :|
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.