Akbar Posted December 11, 2023 Posted December 11, 2023 (edited) Hi every one, I'm newbie in lisp and Autocad, I have simple drawing with lisp includes some boxes and cylinder and i want to subtract some cylinder from box My code look like this : (command "box" "0, 0, 0" "16, 400, 1084") (command "cylinder" "24,28,16" "4" "-11") (command "cylinder" "24,72,16" "4" "-11") (command "cylinder" "40,108,16" "5" "-10.3") How can subtract these cylinder form box? Thanks for any help Akbar Edited December 12, 2023 by fuccaro Thread title adjusted Quote
BIGAL Posted December 11, 2023 Posted December 11, 2023 Think of it like this as you make each solid remember it (setq sol1 (entlast)) ie box, then when you use the subtract command you can use the entitiy names in the correct sequence. Have a go rather than us providing an answer. (command "extract" sol1 .......................) 1 Quote
paulmcz Posted December 12, 2023 Posted December 12, 2023 13 hours ago, Akbar said: Hi every one, I'm newbie in lisp and Autocad, I have simple drawing with lisp includes some boxes and cylinder and i want to subtract some cylinder from box My code look like this : (command "box" "0, 0, 0" "16, 400, 1084") (command "cylinder" "24,28,16" "4" "-11") (command "cylinder" "24,72,16" "4" "-11") (command "cylinder" "40,108,16" "5" "-10.3") How can subtract these cylinder form box? Thanks for any help Akbar You can't subtract these 3 cylinders from the box. The cylinders are outside the box. They do not interfere with the box. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.