tinvs:createbysurfaceandentity


(tinvs:createbysurfaceandentity  tinEname  mode  refZ  clipEnt  midOrdinateDist)

Creates a TinVolumeSurface using mode with refZ reference height and clipping entity clipEnt rasterised by midOrdinateDist smoothness, referencing the tinEname TinSurface entity.

Arguments

tinEname  (ename or vla-object) the TinSurface entity
mode (integer, 1...2)  specifies the mode how the TinVolumeSurface is created;
bcTinVolumeToElevation  1  the refZ specifies the reference elevation to be used
bcTinVolumeToDepth  2  the refZ specifies the base height to be used
refZ  (number)  the base height or reference elevation to be used
clipEnt  (ename or vla-object)  the clipping entity
midOrdinateDist  (number)  specifies the smoothness (it is the relation of the deviation at the mid of the ordinate between 2 rasterised points)

Return

(ename)  TinVolumeSurface entity, or NIL

Example

(tinvs:createBySurfaceAndEntity  tin  bcTinVolumeToDepth  -5  (entlast)  0.2)
<Entity name: 492fb560>

Remarks

for mode, see Type Constants

the 'midOrdinateDistance' is the distance of the curve's midpoint, to the arc center; similar to arc's bulge; used as a kind of tolerance;
see https://civil3dplus.wordpress.com/2012/12/23/surfaces-and-the-mid-ordinate-distance/




©  Bricsys NV. All rights reserved.