tinc:createboundarybyentity


(tinc:createBoundaryByEntity  ename  type  ent)

Creates a boundary constraint of type using ent as boundary definition for the ename TinSurface; returns ID identifier (integer) or NIL.

Arguments

ename  (ename) the TinSurface entity
type  (integer 0...2) type of the boundary constraint to be created (bcTinShow 0, bcTinHide 1, bcTinOuter 2)
ent  (ename) specifies the boundary entity (any curve type)

Return

(integer) ID, identifier of the constraint, or NIL if the operation fails

Example

(setq constraint (tinc:createBoundaryByEntity tin bcTinOuter (entlast)))
(setq constraint (tinc:createBoundaryByEntity tin bcTinHide  (entlast)))
(setq constraint (tinc:createBoundaryByEntity tin bcTinShow  (entlast)))

Remarks

for the boundary constraint type, see Type Constants



©  Bricsys NV. All rights reserved.