Message 1 of 7

Not applicable
01-04-2019
08:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I think I'm close as I get no errors, but the following lisp routine is not making the change to the object data set as expected. The intent is to add default text string into the object data field for all selected objects (in this case by layer name). The selection set seems correct. Any help is appreciated:
(defun c:addodtext( / i s ) (if (setq ss (ssget "_X" '((8 . "V-STRM-PIPE")))) (ade_odsetfield ss "GRAVITY PIPES" "P_CLASS" 0 "Storm Drainage") ) (princ) )
Solved! Go to Solution.