How do I get multiline text to rotate to viewport orientation?
|
How do I get multiline text to rotate to viewport orientation?
Try: https://www.cadtutor.net/forum/topic...comment-557172
or https://forums.augi.com/showthread.p...=1#post1332928
My macro for "Mtext 0 width"creates it Horizontal in TWisted Viewports.Code:^C^C_mtext;\r;(/ (* 180 (- (getvar "viewtwist"))) pi);w;0
Tom,
Does Macro mean it could be created as a command?
I entered this as a new Macro (command in CUI), and its telling me I dont have permission to. It looks as though its trying to write to a sub directory I don't have. Is there a way to change that to something current on my C: drive?
Last edited by tim_newsome; 2019-12-03 at 02:46 PM.
You have to first add it as a command in the CUI then add it either to a Ribbon Panel or a Toolbar. It's not a command you can enter from the Command line:
It uses lisp so it would have to be modified to work with a LT version.
I don't have a LT version to check, but this macro using DIESEL works for me:It should work in a LT version. Had to enter 3.14159265359, PI wouldn't work.Code:^C^C_mtext;\r;$M=$(/,$(*,$(-,0,$(getvar,viewtwist)),180),3.14159265359);w;0
Last edited by Tom Beauford; 2019-12-03 at 05:55 PM. Reason: Added LT version option
I hop into the viewport, set the UCS to View, select the multiline text and give it a rotation of 0 in the properties window. The rotation is relative to the viewport.
I'm in civil and I've been doing it that way for 14 yrs. Obviously never insert anything into model space through the viewport that needs the correct coordinated system after its been set to View. (like insert points, north arrows, xrefs) Do those things in the real Model space as it remains as it was with the UCS set to world.
I too work in Civil, though all of my drawings are in World UCS in Model and through Viewports; I simply 'twist' my Viewports as needed for that sheet (using a LISP that uses DVIEW + SNAPANG), so it doesn't matter what tab is active, I can always insert or copy + paste between drawings and all of my new annotations, etc are aligned with the sheet.
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
Last edited by Tom Beauford; 2019-12-06 at 11:45 AM.
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000