TheSwamp
CAD Forums => CAD General => Topic started by: param on March 17, 2004, 08:07:55 PM
-
I have searched in 3 different books and can't find how to mirror blocks.
is it possible ot do that.
Thanks
param :roll:
-
Is this a trick question? :shock:
mirror command mirrors blocks.
What is the problem you are having?
CAB
-
Must be a trick question...or he is using textin his blocks that WILL NOT show correctly in a mirrored block UNLESS it is an attribute...
-
Daron's post here (http://theswamp.org/phpBB2/viewtopic.php?t=1066&highlight=mirror+block+attribute) may be of some help.
-
Found this:
Message 4 in thread
From: Doug Broad (dbroad@nash.cc.nc.us)
Subject: Re: Improving weak routine (Suggestions?)
View this article only
Newsgroups: autodesk.autocad.customization
Date: 2002-03-11 12:40:52 PST
I guess it was "weak" too. <G> Try this:
;;unmirror attributes C:UMA Rev 2.
;;Select insert objects and attributes will become unmirrored.
(defun c:uma (/ ss i e ei) ;D. C. Broad- 2002
(and (setq ss (ssget (list (cons 0 "insert") (cons 66 1))));insert with attributes
(setq i 0)
(repeat (sslength ss) ;for each insert
(setq e (entnext (ssname ss i))
i (1+ i)
ei (entget e))
(while (/= (cdr (assoc 0 ei)) "SEQEND") ;for each attribute
(setq ei (subst (cons 50 0.0)(assoc 50 ei) ei));rotate to horizontal
(ENTMOD (setq ei (subst (cons 71 0)(assoc 71 ei) ei)));change text flags
(entupd e)
(setq e (entnext e)
ei (entget e))))))
-
Sorry, Guys my apologies
I am using textin in blocks that WILL NOT show correctly in a mirrored block .
-
I think you need to change the mirrtext system variable to 1. I'm not 100% sure though, I'll check when I get to work.
-
Tim,
You have to set Mirrtxt variable to 0 and text will not mirror, but If the text is in block, it mirrors but not the "right" way
Thanks
Param
-
Sorry, Guys my apologies
I am using text in blocks that WILL NOT show correctly in a mirrored block .
Does any body has a solution for me, still waiting.
I don't know lisp routines at all, looks kind of scary to me . Is it easy to learn where do I start :?: :?:
Thanks
-
...or he is using textin his blocks that WILL NOT show correctly in a mirrored block UNLESS it is an attribute...
Text that is contained within a block CAN NOT be mirrored correctly. I haven't had much experience with attributes, but I trust Keith (even though common sense tells me I shouldn't). So I'd take a look into that.
Other than doing that, just explode the block, then mirror it, then reblock it if needed.
-
If you are using text within a block & mirror that block the text will mirror as per the rest of the block. So the text will appear back to front.
If the text within the block is an attribute then it can remain normal when mirroring by setting the mirrtxt variable to 0.
-
You could do a lisp to mirror the text as required in the block, BUT it would require the block be renamed as the original block would be affected as well.
-
Text that is contained within a block CAN NOT be mirrored correctly.
The only thing that's goes haywire with the text whilst mirroring a block is the justification. Attributes, however, will mirror regardless of your mirrtext variable.
-
The only thing that's goes haywire with the text whilst mirroring a block is the justification.
I'd like to have a copy of the version of AutoCAD you use because in every block I have ever had.. in any version of AutoCAD I have ever used the text is mirrored (i.e. reversed, upside down, etc..) when the block is mirrored.
If you have something different PLEASE share it with us....
All text, even attributes will be affected by mirroring (with regards to the justification point except "MiddleCenter")
-
Keith,
It is an AutoCad 2000 dwg. I just sent the block to you.
Thanks a lot
:lol:
-
Ok..... sent it to where?
-
The only thing that's goes haywire with the text whilst mirroring a block is the justification. Attributes, however, will mirror regardless of your mirrtext variable.
Tim, I think you have it backwards. Attributes can be updated and even changed as I pointed out in the link that CAB posted.
-
You guys are correct. I was drinking kind of heavily before I posted that. Sorry.