formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Materials

# fz_rmtl_delete

Description

Deletes a surface style. If the surface style to be deleted is referenced from another entity, the repl_option parameter decides what will be done. Note : the surface style cannot be deleted if it is the only surface style in the windex.

Plugin Prototype

fzrt_error_td fz_rmtl_delete(

fzrt_int | windex,
fz_rmtl_ptr | rmtl,
fz_rmtl_repl_opt_enum | repl_option,
fz_rmtl_ptr | rmtl_repl )

Parameters

windex [Input]

project window index

rmtl [Input]

surface style

repl_option [Input]

replacement options

rmtl_repl [Input]

replacement surface style

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_rmtl.fsl
util_rmtl.fsl

Function Set

fz_rmtl_fset

Defined in

fz_rmtl_api.h