kalai Posted September 3, 2011 Share Posted September 3, 2011 (edited) how to create a attribute with multiline text. get input from user(multi line) and make attrbute. in lisp (setq text(getstring "Enter text:")) (setq lp1 '(100 0 0) lp2'(0 100 0) ) (command "attdef" "l" "m" "" "item" "item" text "" lp1 "h" 50 lp2) using this i could get one word as input. but i want multi line text as input. pls help. Edited September 3, 2011 by kalai Quote Link to comment Share on other sites More sharing options...
pBe Posted September 3, 2011 Share Posted September 3, 2011 (setq text(getstring [b][color=blue]T[/color][/b] "Enter text:")) Quote Link to comment Share on other sites More sharing options...
kalai Posted September 3, 2011 Author Share Posted September 3, 2011 thanks ,it works Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 3, 2011 Share Posted September 3, 2011 How the description of (multi line) means space ? Quote Link to comment Share on other sites More sharing options...
kalai Posted September 3, 2011 Author Share Posted September 3, 2011 tharwat, mutiple words with space in between Quote Link to comment Share on other sites More sharing options...
pBe Posted September 3, 2011 Share Posted September 3, 2011 How the description of (multi line) means space ? If you read the first post the OP is wondering why it only accepts one word. tharwat, mutiple words with space in between yeah.. that Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 3, 2011 Share Posted September 3, 2011 If you read the first post the OP is wondering why it only accepts one word. Frankly , I thought that they want multiple lines of texts as the command Mtext . Cheers . Quote Link to comment Share on other sites More sharing options...
pBe Posted September 3, 2011 Share Posted September 3, 2011 Frankly , I thought that they want multiple lines of texts as the command Mtext . Cheers . (command "attdef" "l" "m" "" "item" "item" text "" lp1 "h" 50 lp2) Quote Link to comment Share on other sites More sharing options...
SLW210 Posted September 8, 2011 Share Posted September 8, 2011 Please read the CODE POSTING GUIDELINES. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted September 8, 2011 Share Posted September 8, 2011 Please read usethe CODE POSTING GUIDELINES. Fixed that for ya :wink: 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.