Marc'Antonio Alessi
Usenet Archive
- Joined
- Jul 10, 2003
- Messages
- 204
- Reaction score
- 0
I need to rename a STYLE with null name (2 . "")
Command: (setq stdata (entget (tblobjname "style" "")))
(
(-1 . <Nome entità: 400a45f8>)
(0 . "STYLE") (330 . <Nome entità: 400a4108>)
(5 . "273961CE31FF") (100 . "AcDbSymbolTableRecord")
(100 . "AcDbTextStyleTableRecord")
(2 . "") ; >>> null name (70 . 1) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 150.0) (3 . "ltypeshp.shx") (4 . "")
)
Command: (entmod (subst '(2 . "STILExxx") (assoc 2 stdata) stdata))
nil
do not works and (vlax-put-property Table 'Name ...) method too.
Any workaround?
Command: (setq stdata (entget (tblobjname "style" "")))
(
(-1 . <Nome entità: 400a45f8>)
(0 . "STYLE") (330 . <Nome entità: 400a4108>)
(5 . "273961CE31FF") (100 . "AcDbSymbolTableRecord")
(100 . "AcDbTextStyleTableRecord")
(2 . "") ; >>> null name (70 . 1) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 150.0) (3 . "ltypeshp.shx") (4 . "")
)
Command: (entmod (subst '(2 . "STILExxx") (assoc 2 stdata) stdata))
nil
do not works and (vlax-put-property Table 'Name ...) method too.
Any workaround?