civil:pgroup-isapplicable


(civil:pgroup-isapplicable  groupNameOrEname  pointNumber)

Verifies whether the specified C3D Point with pointNumber satisfies all filters of the given C3D PointGroup groupNameOrEname.

Arguments

groupNameOrEname  (string or ename)  the name (string) or ENAME of the PointGroup to verify whether point pointNumber is contained
pointNumber  (integer >= 0)  the point to be verified

Return

T or NIL, if point pointNumber does not match the filters defined for the groupNameOrEname PointGroup

Example

(vl-load-civil)  T
(setq res (civil:pgroup-isapplicable "testg1" 9))  NIL
(setq res (civil:pgroup-isapplicable "testg1" 10))  T

Remarks




©  Bricsys NV. All rights reserved.