formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction
Description
Creates an object with a single rectangular face.
The lower left corner is at 0,0,0.
Width is along the positive x axis.
Height is along the positive y axis.
The optional origin and rotation argments represent the
transformation into 3D space.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_rectangle(
fzrt_int | windex, |
double | width, |
double | height, |
origin, | |
rotation, | |
obj ) |
Parameters
windex [Input]
project window index
width [Input]
width (x axis)
Range: width > 0.0
height [Input]
height (y axis)
Range: height > 0.0
origin [Input, Optional]
origin of the rectagle
rotation [Input, Optional]
rotation
obj [Result]
rectangular object
Returns
Error codes
Availability
5.0.0.0
Example Files
util_objt_cnstr_simp_poly.fsl
util_objt_cnstr_simple.fsl
See Also
Function Set
Defined in