Results 1 to 2 of 2

Thread: Get data from command line

  1. #1
    Member
    Join Date
    2020-07
    Posts
    14
    Login to Give a bone
    0

    Default Get data from command line

    Hello Everyone

    I want to get the texts that come after I activate the command "id". That says "Specify point: x=#### y=####"
    how do I do it?
    Here is the code.
    Thanks


    Public Sub tryer()

    ThisDrawing.SendCommand "id" & vbCr

    End Sub
    Last edited by estuyose791044; 2020-08-22 at 08:47 AM.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,737
    Login to Give a bone
    0

    Default Re: Get data from command line

    You can't because the SendCommand method is asynchronous. You need to define your own ID command, which is pretty simple. Use the GetPoint utility and examine the x and y values of the returned point. There is sample here.
    C:> ED WORKING....

Similar Threads

  1. Replies: 4
    Last Post: 2014-01-01, 07:58 PM
  2. Replies: 0
    Last Post: 2009-04-15, 02:42 PM
  3. Replies: 5
    Last Post: 2006-11-09, 07:19 PM
  4. Command Line Or No Command Line?
    By H-Angus in forum ACA General
    Replies: 8
    Last Post: 2006-03-01, 12:18 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
  •