leighmetcalfe Posted October 26, 2012 Posted October 26, 2012 (edited) Hi, I am struggling to input text as part of a script. If I type it in via the command line it works. This is what I currently have. Text 7.838,1.205 0.094 0 "Text" Text 7.838,1.205 0.094 0 "Text" Text 7.838,0.936 0.094 0 "Text" If this cannot be done, I could use a block but need to be able to populate the block with data via the script Help would be greatly appreciated Edited October 29, 2012 by SLW210 Quote
MSasu Posted October 27, 2012 Posted October 27, 2012 Since you didn't added code tags to your excerpt, I'm not sure about the exact formatting of your script, but seems that you added too much s. The example below should work: _TEXT 7.838,1.474 0.094 0 "1st text entity" _TEXT 7.838,1.205 0.094 0 "2nd text entity" _TEXT 7.838,0.936 0.094 0 "3rd text entity" ;end of file Another comment, since the example input the height of labels too, you should make sure that current text style doesn't define an imposed height (that it, this feature need to be set to 0). If there is an imposed height in current text style, then remove the height (0.094) from the script. Quote
SLW210 Posted October 29, 2012 Posted October 29, 2012 Welcome to The CADTutor! Please read the CODE POSTING GUIDELINES and from now on put your Scripts in CODE TAGS. I got you this time. I relocated your thread to the The CUI, Hatches, Linetypes, Scripts & Macros forum. Quote
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.