Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modify the code to use in Autocad LT.

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
arpansark0544TCX
578 Views, 10 Replies

Modify the code to use in Autocad LT.

Hello everyone,

I have a code which works in AutoCad but not In Latest Autocad LT.

 

The lisp can automatically give dimensions to the selected blocks from the center of the block(mostly circles blocks with base points in the center).

 

Can we remodify to use it in Autocad LT.

 

Here are the snapshot of the same and lisp for the same

 

Type BDIM to activate the lisp.

 

 

 

10 REPLIES 10
Message 2 of 11
Moshe-A
in reply to: arpansark0544TCX

@arpansark0544TCX  hi,

 

If your AutoCAD LT supports lisp, it must also have QDIM command, have you try it?

>> the web says it is from R2023 << 

 

Moshe

 

Message 3 of 11
arpansark0544TCX
in reply to: Moshe-A

Sir,i tried QDIM command, but it is not working.

I have attached a video of the same.

 

Message 4 of 11

So this is the 3rd request now for draw a rectang with circle inside, you now want dimensions. That is why I made the comment about put forward all your requests in one post. Yes can be added. 

 

Stay in one post please. In your other post provide an image of what dims are to look like.

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/arrange-the-blocks-inside-a-rectangl...

Message 5 of 11
Moshe-A
in reply to: arpansark0544TCX

@arpansark0544TCX ,

 

QDIM is an excellent command. you need to work it as it knows how to work and not as your old lisp.

please, go ahead and explore the command in the help\on-line help.

 

In your first video i saw you are selection (with your lisp) only one row of circles and take out the dimension line - right?  well, that's exactly what QDIM know to do.

 

Moshe

 

Message 6 of 11
arpansark0544TCX
in reply to: Moshe-A

LET ME CHECK. WILL GET BACK TO YOU.
Message 7 of 11
pendean
in reply to: arpansark0544TCX


@arpansark0544TCX wrote:

Sir,i tried QDIM command, but it is not working...


QDIM is used for this quick method, and seems to do what your first video shows

pendean_1-1720533932341.png

 

 

You only seem to want to run DIMLINEAR twice back to back in the second video, nothing more, so start that command abbreviation once then hit <enter> to activate it again for the second one, no LISP needed really unless you want to just put it on a loop until you decide to terminate it.

 

 

FYI, your BDIM lisp doesn't seem to work for me in AutoCAD2023 (not LT)

Message 8 of 11
arpansark0544TCX
in reply to: pendean

Everyone I got a lisp which worked as we were discussing. This is working same as QDIM but the QDIM limitation is overcome.

 

As QDIM cannot be attached to the dimensions with the blocks.

 

Here is the  link :

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/qdim-block/m-p/9493905/highlight/tru...

Message 9 of 11

Dear Sir,
Giving dimensions to the blocks was a different requirement.
This code can be used externally for the post which I posted earlier.
But if you still feel like both the requirements can be clubbed, I will ensure that this will not happen next time.
Message 10 of 11

Not a problem, you could add the qdim to what I already provided, or its just as easy to do a DIM aligned between points as you know where all the points are so do dims for top and side. If get time will add dims and angle to other post.

Message 11 of 11

Sir that will be very good from your side.
That way, the code will be a complete set for the users with similar cases.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report