• Download & Store

    Download now!

    ETOOLBOX Free CAD Viewer
    QuoteCAD Manufacturing

    Store - Buy Online


    • Standalone perpetual licenses
    • Network Floating Licenses
    • Subscription Licenses
    • Upgrade Licenses
    • Dedicated Support
    • Learn CAD online

  • Login
  • Register
    • Download & Store

      Download now!

      ETOOLBOX Free CAD Viewer
      QuoteCAD Manufacturing

      Store - Buy Online


      • Standalone perpetual licenses
      • Network Floating Licenses
      • Subscription Licenses
      • Upgrade Licenses
      • Dedicated Support
      • Learn CAD online

    • Unanswered topics
    • Active topics
  1. Home
  2. Board index
  3. CMS IntelliCAD
  4. VBA, . NET & IRX

Turn on and off ESNAP from .Net

Moderator: CMS Inc

  • Print view
Post Reply
  1. Home
  2. Board index
  3. CMS IntelliCAD
  4. VBA, . NET & IRX
3 posts
Display posts from previous
Sort by
geza.szabo
geza.szabo
Rank:
Contributor
Posts:
21
Joined:
Sun Dec 08, 2019 10:51 pm

Turn on and off ESNAP from .Net

#1 by geza.szabo
Is it possible to turn on and off entity snapping using the .net api? Can not find the documentation on this.
Kind regards
Geza
  • Quote
  • Mon Jun 22, 2020 12:41 am
User avatar
QuanNguyen
Rank:
Valued Contributor
Posts:
426
Joined:
Sat Nov 09, 2019 6:50 pm
Contact:
  • Website

Re: Turn on and off ESNAP from .Net

#2 by QuanNguyen
Hi Geza,

To turn on or off the running snap, simply set the SNAPMODE system variable to 1 or 0.

Refer:

Code: Select all

// Turn-off running snap
Application.SetSystemVariable("SNAPMODE", 0); 

// Turn-on running snap
Application.SetSystemVariable("SNAPMODE", 1);
  • Quote
  • Mon Jun 22, 2020 1:39 am
geza.szabo
geza.szabo
Rank:
Contributor
Posts:
21
Joined:
Sun Dec 08, 2019 10:51 pm

Re: Turn on and off ESNAP from .Net

#3 by geza.szabo
Adding as reference to myself. To turn off entity snapping the OSMODE system variable must be set to 0
  • Quote
  • Sat Dec 19, 2020 4:57 am

Latest Posts
3 posts
Post Reply

Return to “VBA, . NET & IRX”

Jump to
  • CMS IntelliCAD
  • -     FAQ - Frequently Asked Questions
  • -     General
  • -     AutoLisp/SDS
  • -     VBA, . NET & IRX
  • -     -     FAQ
  • -     New User
  • -     Small Business
  • -     Realistic Rendering
  • -     Bonus
  • -     Free CAD .DWG Blocks
  • -     License Management
  • -     Store, Accounts and Purchases
  • -     Academic
  • QuoteCAD Manufacturing
  • -     General
  • -     Quotation and Manufacturing
  • -     Database Manager
  • -     License Management
  • ETOOLBOX CAD Viewer
  • -     General
  • -     License management
iCAD v15 failed creation of c…
Hi i'm an updater from v12.1 and had to uninstall v15 (manteinance updated) and run back to v12.1 cause with v15 it
ant64, Fri Oct 09, 2026 8:51 am
Artisan with cms 15
Hi everyone, is it possible to use Artisan 1.1 (which I used with CMS 12) in version 15? Thank you.
magh10, Fri Oct 09, 2026 12:31 am
User avatar
Re: [v15.0] DISTANCE command …
The fix will be available on the next maintenace build.
CMS Inc, Tue Oct 06, 2026 1:48 pm
Re: [v15.0] DISTANCE command …
I installed maintenance build 15.0.587.175583.PE+.VC17.x64.CMS150, but the problem persists; it doesn't happen cons
andcip, Tue Oct 06, 2026 12:11 pm

  • Home
  • Board index
  • FAQ
  • Privacy
  • Terms
  • All times are UTC-06:00
  • It is currently Sun Oct 11, 2026 4:58 am
Copyright © 1993-2026 CAD-Manufacturing Solutions, Inc. All rights reserved. ETOOLBOX , QUOTECAD and CADhobby are CMS, Inc. US trademarks no. 4,374,633 ; 3,463,607 and 7,391,196 respectively.
Avatar icons made by Freepik from www.flaticon.com

Login




Register