button to dimension arc lengths

Discussion in 'AutoCAD' started by vicmc, Jun 29, 2004.

  1. vicmc

    vicmc Guest

    does any one have a macro that will pull arc length dims. I also lost my revision clouds , If some one can help me I'd really appreciate it.



    thanks
    Victor
     
    vicmc, Jun 29, 2004
    #1
  2. vicmc

    madcadd Guest

    Hi Vic,

    You didn't mention what version you are on. And what do you mean "pull" ?
    ^C^C_dimangular (here is the standard dimanglar macro for R2002)

    Somehow I don't think that this is what you want!
     
    madcadd, Jun 29, 2004
    #2
  3. vicmc

    Graeme Guest

    I shoulda said, it was written with vba for AutoCAd 2002.

    Graeme
     
    Graeme, Jun 29, 2004
    #3
  4. vicmc

    S. Yoder Guest

    And for those of us who can't run VBA or LISP [grin]:
    ^C^C_pedit;\;;_list;@;;_undo;2;_dimangular;@;t;$M=$(rtos,$(getvar,PERIMETER));

    (There's another for you, Chip.)
     
    S. Yoder, Jun 29, 2004
    #4
  5. vicmc

    Chip Harper Guest

    Who me? Whaaaaaaat???

    <click-copy-click-paste-click-saveas) ;-)
     
    Chip Harper, Jun 29, 2004
    #5
  6. vicmc

    Graeme Guest

    OOH, thats cool, wish I'd learned diesel now.

    Graeme

     
    Graeme, Jun 29, 2004
    #6
  7. vicmc

    vicmc Guest

    thank u
    madcadd, Greame, S.Yoder & Chip

    kinda forgot ot mention I use 2000i , I try to use these anyway , If u know before hand they dont work on 2000i please , help.
    Thanx
    Victor mc
     
    vicmc, Jun 30, 2004
    #7
  8. vicmc

    cadcoke4 Guest

    I just got your Button Macro to dimension Arc lengths, and have adapted it to call out the lenght of a polyline with a leader.

    In your original routine, you convert the arc to a polyline so that when you list it, an overall length is given. This causes the internal Autocad variable, PERIMETER to be updated with the lenght of the polyline. Then you undo it all, and use that PERIMETER variable in the arc length dimension.

    However, I am having some difficulty with the selection method. In Diesel, you can use the \ or SELECT or SINGLE options to get userinput. I had hoped that the SINGLE command would give me a pickbox to select one object. But, it is not working well.

    I've also added the NEA snap option so that the leader connects at the object where you select it.

    New macro which will call out polyline length
    *^C^C_list;\;_le;nea;@;\\;;$M=$(rtos,$(getvar,PERIMETER));;
     
    cadcoke4, Jul 9, 2004
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.