Acad Specific Functions
Miscellaneous

Overview

STDMISC Module

STDLOCAL Module

Dealing with AutoCAD specific stuff not fitting into other categories.

Support for block update, bpoly, commands, osmodes and highlighting.

Locale (internationalisation) issues.

Function Reference

Module STDMISC

(STD-BLOCK-UPDATE name) ; re-load block from DWG

(STD-BLOCK-REQUIRE name) ; load block into DWG if not

(STD-BPOLY pt ss) ; create a boundary element as with BPOLY

(STD-BREAK-COMMAND) ; break a running command

(STD-PAUSE-COMMAND) ; repeat command pause

(STD-OPEN-COMMAND lst) ; commands with user-intercative open end

(STD-CMDACTIVE-P) ; command active?

(STD-DCLACTIVE-P) ; DCL Dialog active?

(STD-SCRIPTACTIVE-P) ; script active?

(STD-OSMSTR flag) ; osmode bitvalue as user-friendly string

(STD-ENTITY-MARK ele) ; highlights entity, sets error handler

(STD-ENTITY-UNMARK ele) ; normal again

Module STDLOCAL: Codepages and Locale Information

(STD-SYS-CODEPAGE cp) ; set/get stdlib codepage: T/nil/cp

(STD-CODEPAGE-AVAILABLE-P cp) ; T/nil

(STD-CPTRANS string from to) ; translate strings between codepages

(STD-ACAD-LOCALE) ; Acad Locale lcid as number

(STD-SYS-LOCALE) ; System Locale lcid as number

(STD-GET-LOCALE-INFO locale-info) ; specific locale setting

(STD-MSG msg) ; translates message to current language.

(STD-MSG-ADD msg-list) ; adds translations at run-time