Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good day!
I am having an issue with the following bit of code:
(foreach x i3List
(if (equal (cadr x) tVal) (setq ssCs (ssadd (car x) ssCs)))
) ;foreach
i3List - list containing sublists with two elements each; car is a text entity's ename, cadr is its value (assoc 1).
EDIT: an example of one of the sublists:
(<Entity name: 7ffffb068e0> CABLE-NUM-001)
If the cadr of the sublist is equal to the text value tVal, I want to create (and add to) selection set ssCs.
If I replace the code in red with (princ "\n test"), the routine finishes as intended...currently, it stops at 'ssadd'.
Do you guys know why?
Solved! Go to Solution.