formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back

fz_ffmt_cbak_data_model_write_can_do_smooth

Description

A function used to determine if an object can be exported as a smooth object. This function is called to determine if the translator can export a specific object as a smooth object. This function should return the appropriate export method for the smooth object. If possible, the return value should match the user selected export option ( fz_ffmt_data_model_write_smod_meth_enum). If the files format does not support smooth objects, this function pointer should be set to NULL and no implementation is necessary. In this case, all formZ smooth objects will be written as facetted data.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_can_do_smooth(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void *

data,

fz_objt_ptr

obj,

fzrt_boolean

do_tmap,

fz_ffmt_data_model_write_smod_meth_enum *

smod_method )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

obj [Input]

The object to export.

do_tmap [Input]

If TRUE, export texture, otherwise don't export textures.

smod_method [Input, Result]

The method for exporting ACIS entities.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset


Defined in

fz_ffmt_api.h