Jump to content

Recommended Posts

Posted (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 by kalai
Posted
 
(setq text(getstring [b][color=blue]T[/color][/b] "Enter text:"))

Posted
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 :)

Posted
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 . :shock:

 

Cheers .

Posted
Frankly , I thought that they want multiple lines of texts as the command Mtext . :shock:

 

Cheers .

 

(command "attdef" "l" "m" "" "item" "item" text "" lp1 "h" 50 lp2)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...