ds:set-icon-radius
List of: Scheme Extensions
Subjects: Deformable Surfaces
Contents: ACIS Deformable Modeling

Action: Sets the icon radius to be used to render tag object information.

Filename: adm/ds_scm/dsscm.cxx

APIs: api_dm_get_attrib_dm2acis

Syntax: (ds:set-icon-radius owner radius)

Arg Types: owner entity

radius real

Returns: unspecified

Description: Sets the size for rendering the face's deformable model icons. Point icons are drawn for point constraints and point pressure loads. Curve icons are drawn for curve constraints, curve loads and spring loads.


owner ACIS face or edge on which the deformable model lives.


radius is the radius of the rendering face.

Example: ; ds:set-icon-radius

; Set the rendering size of deformable model point

; and curve icons.

; Build a test square face with some tag objects.

; (6x6 control points, x and y side length = 36)

(define dsmodel1 (ds:test-face 6 6 36 36 0))

;; dsmodel1

; Don't display entity / ds test face exists.

(define erase (entity:erase dsmodel1))

;; erase

; Render the loads and constraints.

(ds:set-draw-state dsmodel1 1


(+ ds-draw-cstrns ds-draw-loads))

;; ()

; Render the control points, loads and constraints.

(ds:set-draw-state dsmodel1 1


(+ ds-draw-cpts ds-draw-cstrns ds-draw-loads))

;; ()

; Change the icon size.

(ds:set-icon-radius dsmodel1 1)

;; ()

(ds:set-icon-radius dsmodel1 5)

;; ()

; OUTPUT Original


(ds:set-icon-radius dsmodel1 9)

;; ()

; OUTPUT Result

; The icon sizes render progressively larger.



Figure 6-10. ds:set-icon-radius
PDF/ADM/06SCJ.PDF
HTM/DATA/ADM/ADM/06SCJ/0027.HTM