std-flagsetp


Synopsis

(std-flagsetp <val> <ele>)

Description

STD-FLAGSETP checks if a specific bitvalue is set in the flag 70 of the AutoCAD element. This flag typically holds just some boolean values associated with specific bitvalues. You may wish to use this function to avoid low-level bit arithmetic.

It is defined as:

(defun STD-FLAGSETP (val ele)
  (std-bitsetp val (std-getflag ele)))

Example

(std-flagsetp 1 pline)   => T if closed
(std-flagsetp 16 vertex) => T if spline control point

Arguments

val: A integer number

ele: Either an entity type, entget-list or entsel picklist.

Return Value

T or nil

Side Effects

None. See *ENTGET-CACHE*

Module

(std-require 'STDENT)

Defined in STDENT