formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Text Object
Description
Creates a solid or surface text object. The text is by default, left justified at the origin, extending along the x axis. The optional origin and rotation parameters transform it into a 3d space position. If do_solid is TRUE, the text is extruded by "depth". Otherwise a surface object is created.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_text_object(
fzrt_int | windex, |
char * | str, |
double | height, |
double | depth, |
do_solid, | |
model_type, | |
refn_opts, | |
origin, | |
rotation, | |
opts, | |
obj ) |
Parameters
windex [Input]
project window index
str [Input]
text string
height [Input]
height of text object
Range: height > 0.0
depth [Input]
depth of text object
Range: depth > 0.0
do_solid [Input]
if TRUE, extrudes by depth, otherwise creates a surface object.
model_type [Input]
model type
refn_opts [Input, Optional]
display resolution options. For defaults see see fz_attr_refn_parm_enum
origin [Input, Optional]
origin of text object
Default Value: {0.0, 0.0, 0.0}
rotation [Input, Optional]
rotation of text object
Default Value: {0.0, 0.0, 0.0}
opts [Input, Optional]
construction options. For defaults see fz_objt_text_parm_enum
obj [Result]
text object
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in