Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Draw circle and numbering them clockwise/counterclockwise

  1. #1
    Active Member
    Join Date
    2006-10
    Posts
    80
    Login to Give a bone
    0

    Default Draw circle and numbering them clockwise/counterclockwise

    Actually I need help with creating a LISP where can get the point to draw the circle on each tip by offset tip line by certain distance. Please kindly refer to the attached file. As u can see in the first picture, all the lines are in the same layer. But what I want are all lines which highlighted in blue because I want to draw circle on each tip and numbering them clockwise or counterclockwise (as u can see in the picture). Do you have any idea to automate draw the circle on each tip clockwise or counterclockwise by prompt the user to enter the offset distance and circle diameter? The attachment file is just a description to my need, it's not a real drawing. The main propose is the last picture. Any help or other idea would be appreciated. Thank you.
    Attached Files Attached Files
    Last edited by noadea; 2006-11-16 at 02:32 AM.

  2. #2
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise



    Let me know if you have problems

    There are limitations for this routine make sure the U shaped lines are joined polylines.
    Attached Files Attached Files
    Last edited by peter; 2006-11-16 at 05:24 PM.

  3. #3
    Active Member
    Join Date
    2006-10
    Posts
    80
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Quote Originally Posted by peter


    Let me know if you have problems

    There are limitations for this routine make sure the U shaped lines are joined polylines.
    Thanks for your code.
    After I run your code, the result shows the circle at each end point of U shape (bubbleit[1].dwg).
    Please refer to the attached file (circre1.doc), I want the circle be drawn at each tip of U shape (figure 5) by certain distance from end of tip (figure 3).
    Attached Files Attached Files
    Last edited by noadea; 2006-11-17 at 03:35 AM.

  4. #4
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Try this also

    Hth

    ~'J'~
    Attached Files Attached Files

  5. #5
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Quote Originally Posted by rohaya.shaffini
    Thanks for your code.
    After I run your code, the result shows the circle at each end point of U shape (bubbleit[1].dwg).
    Please refer to the attached file (circre1.doc), I want the circle be drawn at each tip of U shape (figure 5) by certain distance from end of tip (figure 3).
    Just by tweeking that routine you can make it do what you want.

    The process is identical, it is just a matter of changing the points using trig.

    Why don't you play with it a little, and if you can't do it then let me know and I will change it.

    Peter

  6. #6
    Active Member
    Join Date
    2006-10
    Posts
    80
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Thank you fixo...
    I just try your code to my other drawing but it can't work properly.
    It only can work on the drawing that I've attached before.
    How if my drawing is like this attached file below? (please refer to ex1.dwg)
    Thanks for advance.
    Attached Files Attached Files

  7. #7
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Sorry, I am almost like a sleeping dog now,
    my local time is 02:20
    See you tomorrow, hope I could to help

    ~'J'~

  8. #8
    All AUGI, all the time CAB2k's Avatar
    Join Date
    2016-01
    Location
    Brandon, Florida
    Posts
    687
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    You may be able to use this routine.
    Select the center, Select the the lines to have the bubbles added to.
    Select the first end.
    Then CW or CCW & the bubbles are added to the outside points & the lines trimmed.

    You will need to adjust the text height & Bubble size.
    Attached Images Attached Images
    Attached Files Attached Files

  9. #9
    Active Member
    Join Date
    2006-10
    Posts
    80
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Quote Originally Posted by CAB2k
    You may be able to use this routine.
    Select the center, Select the the lines to have the bubbles added to.
    Select the first end.
    Then CW or CCW & the bubbles are added to the outside points & the lines trimmed.

    You will need to adjust the text height & Bubble size.
    CAB, I want it be like in the attached file below. The circle on each tip by any offset distance from end of tip.
    Attached Files Attached Files

  10. #10
    Active Member
    Join Date
    2006-10
    Posts
    80
    Login to Give a bone
    0

    Default Re: Draw circle and numbering them clockwise/counterclockwise

    Any help would be much encouraged.
    I woud be most thankful if anyone could assist.
    Thanks for advance.

Page 1 of 2 12 LastLast

Similar Threads

  1. Draw a circle based on circumference
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2006-06-11, 10:33 PM
  2. Ability to draw a circle with width
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2006-05-18, 06:13 PM
  3. How do I draw a circle on a cylinder?
    By fudata in forum AutoCAD 3D (2006 or below)
    Replies: 11
    Last Post: 2005-06-22, 11:11 PM
  4. How to draw attributed line circle?
    By animkundu in forum AutoCAD General
    Replies: 3
    Last Post: 2005-02-23, 09:40 AM
  5. Clockwise/Anti-clockwise Polyline
    By csgohjmj in forum AutoLISP
    Replies: 2
    Last Post: 2004-08-07, 05: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
  •