User Guide
342
line...of
Syntax
textMemberExpression.line[whichLine]
line whichLine of fieldOrStringVariable
textMemberExpression.line[firstLine..lastLine]
line firstLine to lastLine of fieldOrStringVariable
Description
Keyword; specifies a line or a range of lines in a chunk expression. A line chunk is any sequence of
characters delimited by carriage returns, not by line breaks caused by text wrapping.
The expressions
whichLine, firstLine, and lastLine must be integers that specify a line
in the chunk.
Chunk expressions refer to any character, word, item, or line in any source of characters. Sources
of characters include field cast members and variables that hold strings.
Examples
This statement assigns the first four lines of the variable Action to the field cast member To Do:
member("To Do").text = Action.line[1..4]
This statement inserts the word and after the second word of the third line of the string assigned
to the variable
Notes:
put "and" after Notes.line[3].word[2]
See also
char...of, item...of, word...of, number (words)
lineColor
Syntax
member(whichCastmember).model(whichModel).inker.lineColor
member(whichCastmember).model(whichModel).toon.lineColor
Description
3D toon and inker modifier property; indicates the color of the lines drawn on the model by the
modifier. For this property to have an effect, either the modifier’s
creases, silhouettes, or
boundary
property must be set to TRUE.
The default value for this property is
rgb(0, 0, 0).
Example
This statement sets the color of all lines drawn by the toon modifier on the model named Teapot
to
rgb(255, 0, 0), which is red:
member("shapes").model("Teapot").toon.lineColor = rgb(255, 0, 0)
See also
creases, silhouettes, boundary, lineOffset