tinc:getconstrainttype


(tinc:getConstraintType  ename  constraint)

This function returns the type of the constraint  for the ename TinSurface entity or NIL.

Arguments

ename  (ename)  the TinSurface entity to query
constraint  (integer or ename)  the constraint to be queried

Return

(integer) bcTinBreakline 0, bcTinBoundary 1, bcTinWall 2, or NIL

Example

(tinc:getconstrainttype tin 1610385961629)  1

Remarks

for the EConstraintType constraint type symbolic names, please see Type Constants



©  Bricsys NV. All rights reserved.