Pass in selection to ATTEDIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Long story short, we have nested blocks and I would like to create a selection set from the child blocks that contain our attributes and pass it into ATTEDIT. The part where I'm stuck, is that P doesn't sem to work within ATTEDIT to use the previous selection set. I tried manually selecting the attributes before running the command as well as using ssget to select everything before the command but it always says 0 found unless I manually select the attributes during the command instead of entering P. This was within the command prompt if that makes a difference?
This is the ATTEDIT command, the attribute values are all correct and works just fine if I replace the P with a manual selection
(COMMAND "-ATTEDIT" "N" "Y" "ATT" "ITEM" "*" "P" "760300" "W")
This is the ssget command I used, which contained 1243 entities
(SETQ ATTSSS (SSGET "X" (LIST (CONS -4 "<AND") (CONS 0 "INSERT") (CONS 2 "ATT*") (CONS -4 "AND>"))))
Am I missing something or is this just not an available functionality?