formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction
Description
Creates a dimension style with the given parameters (same as in user interface).
Plugin Prototype
fzrt_error_td fz_dimn_style_create(
fzrt_int | windex, |
name, | |
font_name, | |
size_as_3d, | |
align_with_view, | |
fzrt_int | screen_size, |
double | world_size, |
term_type, | |
double | linear_accuracy, |
double | angular_accuracy, |
style_tag ) |
Parameters
windex [Input]
project window index
name [Input]
name for the style, as it will appear in the user interface
font_name [Input, Optional]
font name for the style. If passed as NULL the default font is used
size_as_3d [Input]
If TRUE, the font size is specified in world units. using the world_size argument. If FALSE, the font size is specified in screensize units (Points) using the screen_size argument
align_with_view [Input]
If TRUE, the dimension text is drawn perpendicular to the view (2d on the screen). If FALSE it is drawn in 3d.
screen_size [Input]
The font size in points, if size_as_3d is FALSE
world_size [Input]
The font size in world units (inches, cm), if size_as_3d is TRUE
term_type [Input]
The dimension terminator type (arrow, slash, dot ...)
linear_accuracy [Input]
The linear dimension accuracy. If 0 is passed in, the working units accuracy is used.
angular_accuracy [Input]
The angular dimension accuracy. If 0 is passed in, the working units accuracy is used.
style_tag [Result]
The tag of the new style.
Returns
Error codes
Availability
7.0.0.0
Function Set
Defined in