Started by donnieworld ·
2017-07-27 21:13 UTC ·
4 replies · SMF topic #2522
donnieworld
2017-07-27 21:13 UTC
(dcl-ListBox-SetTopIndex HASD_Surveypoints/frmPointExport/lstElev 3)
why doesn't this work? OpenDCL is reporting that NIL value is not allowed.
roy_043
2017-07-28 08:02 UTC
Most likely HASD_Surveypoints/frmPointExport/lstElev is nil.
roy_043
2017-07-28 08:03 UTC
@Moderator: This thread should be moved to the 'Runtime/AutoLISP' section.
donnieworld
2017-07-28 14:27 UTC
The listbox is created with 8 items in the list. I want the 4th item to be the default value set at runtime.
donnieworld
2017-07-28 14:49 UTC
Fixed. I was attempting to set them outside of the initialization function.