• 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

example of GetDistance

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
GUILLERMO_ZELAYA
GUILLERMO_ZELAYA
Rank:
Newbie
Posts:
5
Joined:
Sun Oct 20, 2019 8:08 pm

example of GetDistance

#1 by GUILLERMO_ZELAYA
I am trying to use the function Getdistance, just like i have used in AutocAD, but using it with Intellicad it doesn't work.

can somebody give the correct way to use the getdistance function?
  • Quote
  • Sat Mar 28, 2020 9:43 pm
User avatar
QuanNguyen
Rank:
Valued Contributor
Posts:
426
Joined:
Sat Nov 09, 2019 6:50 pm
Contact:
  • Website

Re: example of GetDistance

#2 by QuanNguyen
Please refer a sample of GetDistance.

Code: Select all

Private Sub GetLength()
    Dim PT1 As Point
    Dim dist As Double
    
    Set PT1 = IntelliCAD.ActiveDocument.Utility.GetPoint(, "Pick a point:")
    dist = IntelliCAD.ActiveDocument.Utility.GetDistance(PT1, vbCr & "Pick next point:")
    
    MsgBox (dist)
    
End Sub
  • Quote
  • Sat Mar 28, 2020 10:58 pm
GUILLERMO_ZELAYA
GUILLERMO_ZELAYA
Rank:
Newbie
Posts:
5
Joined:
Sun Oct 20, 2019 8:08 pm

Re: example of GetDistance

#3 by GUILLERMO_ZELAYA
thanks
  • Quote
  • Mon Mar 30, 2020 6:39 pm

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 7:15 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