Overview
/
KCL Standard Library
/
Functions
/
drawing::customSheet

drawing::customSheetFunction in std::drawing

Create a drawing sheet from two side lengths and a name.

Added in KCL 4.0.

Both lengths must be finite and positive. The selected orientation determines which side is the width of the resulting sheet.

Arguments

NameTypeDescriptionRequired
widthnumber(Length)The width of the paper before applying the orientation.Yes
heightnumber(Length)The height of the paper before applying the orientation.Yes
orientationSheetOrientationThe orientation of the sheet.Yes
namestringA human-readable name that must be nonblank after trimming whitespace.Yes

Returns

Sheet - An opaque drawing sheet. Square sheets retain their selected orientation.

Examples