ASydDesigns Posted May 7 Share Posted May 7 Can multiple single line text be combined into one multiline text box? Quote Link to comment
GregG Posted May 8 Share Posted May 8 I copy and paste to Word and back to VW. Must be a simpler way.... We get to deal with it often when importing AutoCAD drawings. Quote Link to comment
Jesse Cogswell Posted May 8 Share Posted May 8 I wrote up a quick little script that will do this for you. It requires that you have more than one Text object to be selected. When the script is run, it will create a database of all currently selected Text boxes within the current parent container (Group, Symbol, Viewport Annotation, or Layer), sort them by Y dimension, and then add the contents of the Text boxes to the top-most Text box and delete the originals. Test Objects: Resulting Text Box: Keep in mind that the resulting multi-line Text object will have the same formatting as the original top-most Text object, the other Text objects' formatting will be forgotten. This includes things like Wrap Text and Width. Normally I would just post the code itself since it's so simple, but because it uses the dreaded combination of characters to add the carriage return, I've instead just attached the menu command .vsm itself. Installation instructions are as follows: Download the attached Combine Text Boxes.vsm file Place file within your User Folder in the Plug-ins folder To easily get to this, open up your Vectorworks Preferences Go to the User Folder tab Click on the Explore button (Windows), or Open in Finder button (Mac) Restart Vectorworks Once restarted, you will need to add the script to your workspace. Go to Tools - Workspaces - Edit Current Workspace Select the Menus tab In the box on the left, navigate to and expand the JNC category In the box on the right, find a menu you'd like the command to be placed in, such as Modify or Tools or Text Click and drag the Combine Text Boxes command from the box on the left to the desired menu in the box on the right. Click OK to accept the changes and close the Workspace Editor. Let me know if you have any trouble getting this to work or if is produces unexpected results. Combine Text Boxes.vsm 3 Quote Link to comment
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.