Print Page | Close Window

auto block replacement lsp

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=14739
Printed Date: 19.May.2026 at 10:51


Topic: auto block replacement lsp
Posted By: sam675
Subject: auto block replacement lsp
Date Posted: 23.Oct.2025 at 08:49
uploads/977892/xch.lsp" rel="nofollow - uploads/977892/xch.lsp
uploads/977892/mchange.lsp" rel="nofollow - uploads/977892/mchange.lsp

Hello world!

hi guys, i have been using these 2 lisp regularly for a while now. i was wondering would it be possible to have some sort of lisp that combines both of their function? 
I do apologize i cannot give credit to the owners of these lisp as i have already forgotten where i got them.

the first lsp is xch, replaces the block and inherits the rotation - however, when the basepoint of the block is not in the center of the block it will mess up the location of the new block - relative to the basepoint of the original block that will be replaced.

second lsp is mchange - where regardless of the basepoint or rotation, the block will be replaced as is, and i have to rotate the block manually.

now ideally what i was looking for is the best of both worlds - if possible a lsp that would replace the block on the same location as mchange.lsp, but inherits the rotation of the block like xch irrelevant of the basepoint.

any help would be much appreciated. 



Replies:
Posted By: Vladimir Michl
Date Posted: 24.Oct.2025 at 08:24
What about the existing block replacement LISPs? See:
https://www.cadforum.cz/en/what-is-the-difference-between-the-blockreplace-breplace-replace-tip14402


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: julecave
Date Posted: 26.Nov.2025 at 18:28

You can use command blocks instead of end portal frames. Just use the MCStacker website and give yourself a command block that automatically activates and is programmed to replace itself with a nether portal.






https://snaptube.one/" rel="nofollow - - snaptube   https://vidmate.bid/" rel="nofollow - - e



Print Page | Close Window