formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Cube
Description
Creates a cube primitive
Plugin Prototype
fzrt_error_td fz_objt_cnstr_cube(
fzrt_int | windex, |
wdh, | |
origin, | |
rotation, | |
obj ) |
Parameters
windex [Input]
project window index
wdh [Input]
width, depth, height
Range: wdh > 0.0
origin [Input, Optional]
origin
Default Value: {0,0,0}
rotation [Input, Optional]
rotation angles, applied in z,y,x order
Default Value: {0,0,0}
obj [Result]
new object
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
,
Function Set
Defined in