CesarA Posted January 8, 2016 Share Posted January 8, 2016 I have a lot of objects with similar properties, for example they always have this format and number of characters: "P02 12x34" I've managed to edit a lisp file so that it would edit the text object into: "P02 (0.12x0.34)" However, i'll be using lt very soon, so I wont be able to use lisp. Is this possible to do using a macro? What about converting the text object to multiline text, and eventually edit the text in there? Quote Link to comment Share on other sites More sharing options...
CesarA Posted January 8, 2016 Author Share Posted January 8, 2016 I'm considering using the "find" command, but this however opens a new window, and I can't change it's properties with the command line, or am I wrong? Quote Link to comment Share on other sites More sharing options...
steven-g Posted January 8, 2016 Share Posted January 8, 2016 Sorry it's not going to happen in LT, the find command is dialogue only, so is the quickselect command and filter. You could however maybe improve on one by one editing by using a couple of features of those two commands, it depends on the structure of all your other text items in the drawing. The quickselect dialogue will allow you to select text items based on a wildcard search of the contents, once specific items are selected then you could use the find/replace command to alter parts of just the selected texts, but it does depend on how easy it is to pick items based on a few common features, for example select all text containing "PO" then using the current set select all items containing "x", then replace "* *"(wildcard,space,wildcard) with " (0." Obviously this won't work if you have other text items with similar content that you don't want to use. 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.