Defines a portion of the solid with a different style.

syntaxSyntax:
DlxRevolve.AddPattern(style, minL, maxL, minA, maxA)

Parameters

Parameter Description
style A Dlx3DStyle object or the index of the style. There are 10 styles available with indexes from 0 to 9.
minL Lower end, lengthwise, of the portion of the solid to which the style is to be applied.
maxL Upper extreme, lengthwise, of the portion of the solid to which the style is to be applied.
minA Starting angle of the portion of the solid to which the style is to be applied.
maxA End angle of the portion of the solid to which to apply the style.

Return Value

If the operation ends correctly it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also