Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon, forum members.
I am trying to create a scale using the following function:
(defun CreateScale ( nme dun lun / dictname )
(setq dictname (cdr (assoc -1 (dictsearch (namedobjdict) "ACAD_SCALELIST"))))
(dictadd dictname
(entmakex
(list
'(0 . "SCALE")
(cons 330 dictname)
'(100 . "AcDbScale")
'(70 . 0)
(cons 300 nme)
(cons 140 dun)
(cons 141 lun)
'(290 . 0)
)
)
)
)
Run the function:
(CreateScale "1:20" 50 1)
And this returns an error: too few arguments. What could be the reason?
Solved! Go to Solution.