Code Red => AutoLISP (Vanilla / Visual) => Topic started by: civil.eng on May 10, 2021, 06:31:02 PM
Title: All circle diameter
Post by: civil.eng on May 10, 2021, 06:31:02 PM
Hi everyone, I have a drawing that contains lots of circle and I need a lisp to select all the circles and then the lisp create diameter dimension to all of them, like this :
can someone help me?
Title: Re: All circle diameter
Post by: Lee Mac on May 10, 2021, 06:46:20 PM
Title: Re: All circle diameter
Post by: jtoverka on May 11, 2021, 09:56:43 AM
The only reason one needs a VL instead of command is to use objectDBX. That aside the work is already done for you.
Title: Re: All circle diameter
Post by: HOSNEYALAA on May 11, 2021, 01:21:08 PM
TRY ANTHER LISP FROM LEE
https://www.theswamp.org/index.php?topic=49517.0
Title: Re: All circle diameter
Post by: JohnK on May 11, 2021, 01:40:35 PM
The OP could want to start learning the VL object model (not saying examples v the documentation is the better route to learn but...) because it sounds like they started to do their research?
Try one from yourself?
Try the one that doesn't work ( https://www.theswamp.org/index.php?topic=49517.msg546591#msg546591 ) and make it work.
Title: Re: All circle diameter
Post by: d2010 on May 24, 2021, 07:59:40 AM
SubTitle=I change whiteBackGround to manyGreen. Q1=How to replace the onlyALL->manyGreen with other Image isInside a23.jpg? Q2=You need execute (dfn_cmd_canceld) all times? (for; You must be sure, make flow-Control of Commands-Prompt with "dfn_cmd_canceld"). :embarrassed: