Least Posted September 12, 2008 Share Posted September 12, 2008 Hi For the last while I have been working on a lisp to automatically convert a drawing from mm to metres and vice versa. Attached is what I have so far, which seems to work fine for drawings with single viewports, single layouts and no dims. The routine: Saves an original copy of the drawing with prefix (mm) scales all objects in model space from 0,0 by 1000 changes the linetype scale of all polylines so they display correctly. Finds the centre of the existing viewport. modifies the zxp of the existing viewport and then re-centres the viewport. I don't really know how to modify the routine to take into account dimensions, multiple viewports and multiple layouts. I would really aprreciate some help. Thanks Patrick mm2m.lsp Quote Link to comment Share on other sites More sharing options...
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.