option:get
List of: Scheme Extensions
Subjects: Modeler Control
Contents: Kernel

Action: Gets the value of an option.

Filename: kern/kern_scm/opt_scm.cxx

Syntax: (option:get option-string)

Arg Types: option-string string

Returns: integer | real | boolean | position | string

Description: The command option:list displays the available options.


The argument option-string is generally a quoted text. When entering an option, the text can be abbreviated to the portion preceding the pound (#) sign. For example, brief_s#urface_debug can be abbreviated as brief_s.

Example: ; option:get

; List the options available.

(option:list)

;; (("abl_c#aps" . #t)

;; ("abl_off_x#curves" . #f)

;; ("abl_rem#ote_ints" . #f)

;; ("abl_require_on#_support" . #t)

;; ("abort_on_illegal_surface" . #t)

;; ("adaptive#_grid" . #f)

;; ("adaptive_t#riangles" . #f)

;; ("add_bl_atts" . #f)

;; ("addr#ess_debug" . #t)

;; ("align_corners" . #t)

;; ("align_first_wire" . #f)

;; ("all_free_edges" . #f)

;; ("angular_control" . #t)

;; ("anno#tations" . #f)

;; ("api_checking" . #t)

;; ("approx#_eval" . #t)

;; ("approx-vbl_off#set" . #t)

;; ("auto_disp#lay" . #t)

;; ("backup_boxes" . #t)

;; ("bb_immediate_close" . #f)

;; ("bend_debug_file" . "")

;; ("bend_self_int" . #f)

;; ("bhl_smooth_edges" . #t)

;; ("bhl_smooth_surfaces" . #t)

;; ("bhl-use_ds_patch" . #f)

;; ("bhl-use_iso_approx" . #f)

;; ("bhl-use_iso_patch" . #f)

;; ("binary_format" . #f)

; .

; .

; .

; Get the value of an option.

(option:get "addr")

;; #t
PDF/KERN/14SCI.PDF
HTM/DATA/KERN/KERN/14SCI/0037.HTM