lcBlockAddTIN LiteCAD API

Adds a new TIN object into a block.

 HANDLE lcBlockAddTIN (
   HANDLE hBlock,
   LPCWSTR szFileName,
   int FileType
 );

Parameters
hBlock
  Handle to a block.
szFileName
  Name of the file that contains points or TIN model.
If NULL or empty string is specified then all points must be pre-defined by multiply call of function lcTIN_AddPoint (see code sample).
FileType
  0 - TIN model
1 - TIN points (see file format)

Return Value

  Handle to created TIN object or NULL if the function fails.

See Also

  Code sample 1,   Code sample 2