Hi,
I met another problem.
I wanted to choose some value from a range list for a variable.
But the range list can't be another variable.
See my codes below:
Code:
(use-package :oli)(setf a-list '("aaa" "bbb"))
(sd-defdialog 'dialog_test
:dialog-title "dialog_test"
:toolbox-button t
:variables '(
("range test")
(objects :value-type :part
:multiple-items t
:modifies nil
:modifies :contents
:prompt-text "Specify parts"
:title "parts"
:initial-value nil
) ;end objects
(material
:title "Material"
:range ("aaa" "bbb")
:prompt-text "Enter material info."
:after-input (display a-list)
)
(material2
:title "Material2"
:range a-list
:prompt-text "Enter material info."
)
);end variables
)
In the varibale material2, ":range a-list" couldn't work.
Is there any way to solve this?
Thanks in advance!
Andy
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP