formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction

# fz_objt_cnstr_parallel_wire

Description

Creates a single offset (parallel) wire object on the same plane. The source object must be an open or closed wire and must be planar. Positive offset values create an object to the left of the source, looking along the direction of the source. Negative values create objects on the right of the source.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_parallel_wire(

fzrt_int | windex,
fz_objt_ptr | src_obj,
double | offset,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

offset [Input]

offset

obj [Result]

new object

Returns

Error codes
MODEL_ERR_NOT_A_WIRE object not a wire

Availability

5.0.0.0

Example Files

util_objt_cnstr_derv.fsl

Function Set

fz_model_fset

Defined in

fz_objt_api.h