tin:getmeshoftype


(tin:getmeshoftype  tinEname  type  thickness)

Creates and returns a SubDMesh entity from tinEname TinSurface entity, based on the type and thickness.

Arguments

tinEname  (ename or vla-object)  the TinSurface entity
type  (integer)  one of the mesh generation types :
bcTinMeshTypeElevation  1 thickness specifies the height/elevation
bcTinMeshTypeDepth  2  thickness specifies the ground height/elevation
thickness  (number)  specifies ground or elevation level, due to type specification

Return

(ename) the SubDMesh entity or NIL

Example


Remarks

for the mesh generation types, see Type Constants;
also see (tin:getmeshbetweensurfaces) and (tin:getmesh) functions



©  Bricsys NV. All rights reserved.