• 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

  • 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

    • 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:
20
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:
214
Joined:
Sat Nov 09, 2019 6:50 pm

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:
20
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
User avatar
Re: Customization of Context …
Matrice does not appear in my system 10.1.1267.130525.PE+.VC16.x64.CMS101a sorry for the broken posts Steve It's n
SPirou4D, Thu May 26, 2022 3:28 pm
User avatar
Re: Customization of Context …
My version is IntelliCAD 10.0.1572.123806.PE.VC15.x64.CMS100a.
SPirou4D, Thu May 26, 2022 3:27 pm
Re: When dynamic block in CMS…
Dear IntelliCAD Team, I'd like to ask the same question :) I happily bought the PE version as I saw that my previously
chris.kreuzberger, Thu May 26, 2022 10:55 am
User avatar
Re: Customization of Context …
Matrice does not appear in my system 10.1.1267.130525.PE+.VC16.x64.CMS101a sorry for the broken posts Steve
sln8458, Thu May 26, 2022 8:53 am

  • Home
  • Board index
  • FAQ
  • Privacy
  • Terms
  • All times are UTC-06:00
  • It is currently Thu May 26, 2022 6:45 pm
Copyright © 1993-2022 CAD-Manufacturing Solutions, Inc. All rights reserved. ETOOLBOX and QUOTECAD are CMS, Inc. US trademarks no. 4,374,633. and 3,463,607 respectively.
Avatar icons made by Freepik from www.flaticon.com

Login




Register