formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Utility

fz_objt_add_objt_to_project

Description

Adds a new object to the project's object list. When first created, all objects are temporary. fz_objt_add_objt_to_project needs to be called with the new object for it to show up in the Objects palette. It will also enable undo's for newly created objects and make sure the new objects are drawn properly in the project windows.

Plugin Prototype

fzrt_error_td fz_objt_add_objt_to_project(

fzrt_int

windex,

fz_objt_ptr

obj )

Parameters

windex [Input]

project window index

obj [Input]

object

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_model_fset


Defined in

fz_objt_api.h