tinc:getwallside


(tinc:getWallSide  ename  constraint)

This function returns the side of the wall 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) bcTinWallLeft 0, bcTinWallRight 1, or NIL

Example

(tinc:getwallside   tin constraint)  1

Remarks

if constraint is not a wall type constraint, NIL is returned;
for the EWallSide wall side symbolic names, please see Type Constants



©  Bricsys NV. All rights reserved.