Function Entry: FINDFILE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: FINDFILE

Name

findfile

Class

Function

Syntax

(findfile filename)

Arguments and Values

  • filename: string

Description

Searches the AutoCAD library path for the specified file.

Return Values

Returns a pathname string identifying the located file, or nil.

Side Effects

None.

Affected By

  • library-path configuration
  • trusted-path configuration
  • selected environment profile

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents that filename must not contain a directory prefix.
  • Autodesk documents that the support-file search path is searched.
  • Autodesk documents that URL strings may also be returned when appropriate.
  • In clautolisp, findfile searches the union of the support search path and the trusted folders (TRUSTEDPATHS plus the implicit folders), without trust-filtering. See Normative Rules: Secure File Loading and Trust Model (this chapter).