umm... $hit...
i thought it was supposed to change the block name as well as the
information in the block?
ok call me stupid
Bob I appreciate your help & I appolgize for wasting your time its been
working since your 3rd reply.
Kent thanks for smacking me in the head. I have understood it in a wrong way
for a while.
"Kent Cooper"
wrote in message
news:5783231@discussion.autodesk.com...
Does it LOOK the old way? Does REGEN or REGENALL fix that, perhaps?
Or do you mean the Block Name is still listed as the old one? That won't be
"fixed" by redefining
the block. You would need to RENAME it, too.
--
Kent Cooper
wrote...
whats weird is it says its changed but when i list the block it still
displays as the old block
here is what it says
Command: (load "update")
-insert Enter block name or [?] : FMTA1R14=FMTA12K6 Duplicate
Block "FMTA1R14" redefined
Units: Unitless Conversion: 1.00000
Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate]:
Command: 110
Command: LIST
Select objects: 1 found
Select objects:
BLOCK REFERENCE Layer: "3"
Space: Model space
Handle = f176
Block Name: "fmta1r14"
at point, X= 0'-0" Y= 0'-0" Z= 0'-0"
X scale factor: 6.00000
Y scale factor: 6.00000
rotation angle: 0d0'0.00"
Z scale factor: 6.00000
Scale uniformly: No
Allow exploding: Yes
wrote in message news:5783195@discussion.autodesk.com...
i realized the fmtx part was wrong when i made the last post
but it didnt help
and by moving the defun part to the top didnt do anything different
still only works when its an xref, doesnt redefine the old block
wrote in message news:5782725@discussion.autodesk.com...
Move the (defun is_xref .. function way up-top, before anything else.. and
this line:
(if (is_xref fmtx)
has variable fmtx .. which I don't see defined.
Change it to:
(if (is_xref blockname)
Bob