2009-01-16 08:30 UTC
I have new dialog tree.odcl with modal dialogs Form into Form I have Image tree control name "tree".
For an example I start LISP
After start mytree on the screen of AutoCAD I see Form with Image tree control
but Image tree control empty, after closings form i have alert :
"An OpenDCL function argument processing exception has occurred!
Error: NIL value not allowed
Function: dcl_Tree_AddParent
Argument: 0 "
What do I do incorrectly?
For an example I start LISP
(command "OPENDCL")
(DEFUN c:mytree (/ nCount)
(dcl_Project_Load "tree" T)
(dcl_FORM_SHOW tree_Form)
(dcl_TREE_ADDPARENT tree_Form_tree "slide1" "t1")
(dcl_TREE_ADDPARENT tree_Form_tree
"slide library"
"t2"
)
(dcl_TREE_ADDPARENT tree_Form_tree "slide3" "t3")
(dcl_TREE_ADDCHILD tree_Form_tree
'(("t2" "Child1" "C1")
("t2" "Child2" "C2")
("t2" "Child3" "C3")
)
)
(dcl_TREE_SELECTITEM tree_Form_tree "t1")
(dcl_TREE_COUNTITEMS tree_Form_tree)
)After start mytree on the screen of AutoCAD I see Form with Image tree control
but Image tree control empty, after closings form i have alert :
"An OpenDCL function argument processing exception has occurred!
Error: NIL value not allowed
Function: dcl_Tree_AddParent
Argument: 0 "
What do I do incorrectly?