• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    *Schmitt, Jean

    Removing undesired grips

    84 Views, 4 Replies
    01-24-2000 02:02 AM
    Hi Autocad users
    Currently developing a GUI, I'd like to remove the grips on selected
    objects when I launch a function from a toolbar.
    I have the classical ^c^c at the beginning of my scripts, but it doesn't
    seem to remove them, although pressing 2 times the esc keys does it...
    Anybody got an idea about this?
    Thanks by advance
    Please use plain text.
    *Kenewell, Phil

    Re: Removing undesired grips

    01-24-2000 04:27 AM in reply to: *Schmitt, Jean
    Jean,

    Put the following in a menu macro: ^c^c_graphscr

    This sequence will cancel and deselect any grips currently active.

    --
    Phillip Kenewell
    CAD Systems Technician
    Air Gage Company
    pkenewell@airgage.com
    ===================
    > Not < a Member of the AutoDESK
    Discussion Forum Moderator Program

    Jean Schmitt wrote in message
    news:388C234B.2DFA8BA6@ciril.fr...
    > Hi Autocad users
    > Currently developing a GUI, I'd like to remove the grips on selected
    > objects when I launch a function from a toolbar.
    > I have the classical ^c^c at the beginning of my scripts, but it doesn't
    > seem to remove them, although pressing 2 times the esc keys does it...
    > Anybody got an idea about this?
    > Thanks by advance
    >
    >
    Please use plain text.
    *Schmitt, Jean

    Re:

    01-24-2000 04:51 AM in reply to: *Schmitt, Jean
    Thank you very much; that's exactly what I needed
    J. S
    Please use plain text.
    *White, Ian A.

    Re: Removing undesired grips

    01-26-2000 10:38 PM in reply to: *Schmitt, Jean
    On Mon, 24 Jan 2000 11:02:51 +0100, Jean Schmitt
    wrote:

    >Hi Autocad users
    >Currently developing a GUI, I'd like to remove the grips on selected
    >objects when I launch a function from a toolbar.
    >I have the classical ^c^c at the beginning of my scripts, but it doesn't
    >seem to remove them, although pressing 2 times the esc keys does it...
    >Anybody got an idea about this?
    >Thanks by advance
    >

    Here is part of something Owen Wengerd posted back in 1996!

    Setting bit 1 of QAFLAGS to 1 should see grips cancelled. I have used
    this in R14.

    **********************************************************************

    _LINFO string hardware lock serial number; responds to
    (getvar
    "_LINFO")
    only
    _SERVER network license server (read-only)
    AUXSTAT integer [-32767 - 32767]
    AXISMODE boolean [0,1]
    AXISUNIT (x y)
    DBGLISTALL boolean [0,1]
    ENTEXTS [0,1,2]
    ENTMODS (read-only) increments every time a database record is
    modified
    FORCE_PAGING long integer
    GLOBCHECK [0,1,2,3] [3 = show dialog size (in pixels)]
    [>0 = disallow local language commands]
    LAZYLOAD boolean [0,1]
    MAXOBJMEM long integer
    NODENAME string (read-only)
    PHANDLE long integer
    QAFLAGS [0 - 32767] [1 bit = ^C in menu macro cancels grips
    (acts like
    keyboard
    ]
    [2 bit = no pause during text screen
    listings]
    [4 bit = no "alert" boxes]

    --

    Ian A. White, CPEng
    WAI Engineering
    Sydney 2000
    Australia

    Ph: +61 418 203 229
    Fax: +61 2 9622 0450
    Please use plain text.
    Contributor
    Posts: 16
    Registered: ‎02-12-2009

    Re: Removing undesired grips

    06-14-2012 09:27 AM in reply to: *Kenewell, Phil

    It worked in my Shortcut Menu Macro.  Thanks for the old tip.

    Please use plain text.