filter ssget for %%c dimension
How to filter those dimensions with diameter symbol?With ssget... %%c.... If you are talking about diameter symbols that were added as prefix, then:(ssget "_X" (list '(0 . "DIMENSION") (cons 1 "%%C*")))
Regards,
Mircea Mircea,
A minor comment: no need for list/cons:
(ssget "_X" '((0 . "*DIMENSION") (1 . "*%%C*"))) You are right! Thank you for correction.
Regards,
Mircea I try not to be too petty with my comments, you're welcome Seems to be Case Sensitive... or not???%%Cor %%c - not the same...??? How to work for both c and C? Please check WCMATCH function's rules for wild characters:
(ssget "_X" '((0 . "*DIMENSION") (1 . "%%*")))
Regards,
Mircea Ok, thanks! (ssget "_X" '((0 . "DIMENSION") (-4 . "") (-4 . "*") (-4 . "not>")))
This is exactly what i needed...Can be made simpler? Shorter version:
(ssget "_X" '((0 . "DIMENSION") (-4 . "")))
Also, please add the code markers to your code excerpt.
Regards,
Mircea
页:
[1]