![]() Save your modified file in a support file folder that is “higher” in the search path sequence that the original swap_wdm.lsp (so that your modified version will be found first and executed). Make a copy of this file (same name) and slightly enhance it to transfer the Xdata from the old WD_M to the newly inserted WD_M. This swap_wdm.lsp file is installed into folder “c:\program files\autodesk\autocad 20xx\acade\support\en-us\”. ![]() Like the wdio.lsp PLC I/O utility, it is installed and executed in full source mode to allow user customization of the WD_M / WD_PNLM block swap commands. This tool is driven from an Autodesk supplied file swap_wdm.lsp provided in plain AutoLISP format. ![]() There is a way to do this. The solution is to just enhance the existing AcadE AESWAPWDM tool’s source code. Unfortunately, this AESWAPWDM tool doesn’t provide a means for a mass transfer of Xdata tags/values from the old WD_M block to the swapped-in new version. But there may be times when you need to use the AcadE AESWAPWDM tool to update a project’s WD_M block instances. ![]() The block is always there on the drawing if it’s AcadE-smart. ![]() The WD_M block instance is a handy place to store and retrieve Xdata values for your custom AcadE applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |