See the top rated post in this thread. Click here

Results 1 to 10 of 15

Thread: Nested commands, command during point input

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Login to Give a bone
    0

    Default Nested commands, command during point input

    After issuing a "Line" command in AutoCad the command window/prompt is awaiting a "Point Input". I would like to write something in .NET that would handle user entered text while awaiting a point input command. Does anyone have any ideas?

    Christmas May

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

    Default Re: Nested commands, command during point input

    What do you mean by "handle user entered text"? Do you mean, restrict user input to selecting a point?
    C:> ED WORKING....

  3. #3
    Login to Give a bone
    0

    Default Re: Nested commands, command during point input

    So while the command window/prompt is awaiting a point input if the user entered "Circle" or "Snap" or a variety of other commands I'm wanting AutoCAD to respond intelligently. By default if this is not a point then AutoCAD does not respond intelligently. If it won't recognize "Commands" then can I write a "custom handler" somehow for specific commands?

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

    Default Re: Nested commands, command during point input

    So if the LINE command is in progress waiting for a point, you want to cancel the command and start another? That would be the standard "intelligent" way to do it. What else would you want to do? Draw a circle and then resume the LINE command? You can only have one command active at a time. Running osnaps are handled by pressing Shift+RtClk while waiting for a point input.
    C:> ED WORKING....

  5. #5
    Login to Give a bone
    0

    Default Re: Nested commands, command during point input

    Yes, exit the "line" command (or whatever command you are currently in) and then perform the next command such as "Circle". Basically I just want a way/method to handle text entered into the command window/prompt while AutoCAD is awaiting a point input. For example while waiting for a point in the "line" command, if I typed "Hello?" Perhaps a message box would appear that responded "Hello" or something similar.

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

    Default Re: Nested commands, command during point input

    No, you can't program something to wait in the middle of the line command if your code didn't start it. You just have to hit the {ESC} key first, then enter your new command. What you are asking for goes against the standards AutoCAD has used since the beginning. You can build your own LINE command and make allowances, but I wouldn't recommend it. It would be better to train your users on the proper use of AutoCAD.
    C:> ED WORKING....

  7. #7
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,376
    Login to Give a bone
    0

    Default Re: Nested commands, command during point input

    Quote Originally Posted by Christmas050873782348 View Post
    After issuing a "Line" command in AutoCad the command window/prompt is awaiting a "Point Input". I would like to write something in .NET that would handle user entered text while awaiting a point input command. Does anyone have any ideas?

    Christmas May
    That doesn't make any sense. Are you trying to add a prompt or options for a command? That's easy!
    Why not just figure out what order you want to run commands?

    Can you explain better what you're trying to do?
    Tom Beauford P.S.M. - Civil 2020 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

Similar Threads

  1. 2014: DWG Nested Inside Detail Comp. > Nested Inside Profile > Nested Inside Window
    By edu.rocha.tavares in forum Revit Architecture - Families
    Replies: 5
    Last Post: 2013-11-26, 06:46 PM
  2. CV104-1P: One Point, Two Point, Red Point, Blue Point
    By Autodesk University in forum Civil Infrastructure
    Replies: 0
    Last Post: 2013-05-05, 03:17 AM
  3. CV12-4: One Point, Two Point, Red Point, Blue Point
    By Autodesk University in forum Civil Infrastructure
    Replies: 0
    Last Post: 2013-04-17, 04:50 AM
  4. Running Object Snap Lost During Dimension Input
    By cadjockey in forum AutoCAD General
    Replies: 0
    Last Post: 2012-11-29, 01:16 PM
  5. Pressing and holding the shift, ctrl and alt keys during commands
    By rmejia in forum Revit Architecture - Wish List
    Replies: 2
    Last Post: 2007-07-31, 05:36 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
  •