Results 1 to 2 of 2

Thread: Osnap center

  1. #1
    Member
    Join Date
    2009-06
    Location
    Dallas
    Posts
    4
    Login to Give a bone
    0

    Smile Osnap center

    I am making changes to our CUI file and blocks. I have 2 blocks that I am inserting one after the other. The first is a circle with 2 attributes and the second is a line that I want to insert at the center of the circle and rotate around the circle. I can insert both blocks just fine, and the line rotate, but I cannot for the life of me figure out how to select the center of the circle at the insert command for the line without using the shift right click to pick center. It always wants to pick Nearest. Can someone please help me with this.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: Osnap center

    You can either specify the object snap override in your command statement...

    (command "._insert" "myblock" "_cen")

    -or-
    Set the OSMODE sysvar to 4 prior to inserting the block.
    You may want to save the previous value and restore it after you are done.
    R.K. McSwain | CAD Panacea |

Similar Threads

  1. OSNAP for center of polygon
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 5
    Last Post: 2015-04-13, 03:56 PM
  2. 2015: Center of object Osnap
    By smcfarren in forum AutoCAD General
    Replies: 4
    Last Post: 2014-11-14, 06:04 PM
  3. Center of object OSnap
    By Wish List System in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2013-03-03, 01:13 PM
  4. center of core vs. center of wall
    By violet78 in forum Revit Architecture - General
    Replies: 3
    Last Post: 2009-03-18, 03:00 AM
  5. Replies: 5
    Last Post: 2007-04-26, 07:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •