TheSwamp

CAD Forums => CAD General => Topic started by: Matersammichman on July 06, 2006, 07:29:32 AM

Title: RText Justification
Post by: Matersammichman on July 06, 2006, 07:29:32 AM
Is there any way (yet) to Middle Center justify RText?
Title: Re: RText Justification
Post by: Mark on July 06, 2006, 08:26:28 AM
Not sure what version you're using but have you tried FIELDS in MTEXT yet? IMHO, it beats the snot out of RTEXT.
Title: Re: RText Justification
Post by: Matersammichman on July 07, 2006, 07:13:44 AM
Haven't tried it. I'll look into it. Just got off of ADT2002 and onto 2005.
Title: Re: RText Justification
Post by: Andrea on July 07, 2006, 09:06:49 AM
I use RTEXT for many years..and didn't find the way to change the text justification..
but with the field now....seem to be better.

No diesel code.

The problem is that some client have AutoCAd 2000i.   :lol:
Title: Re: RText Justification
Post by: Bob Wahr on July 07, 2006, 10:48:28 AM
Same as RTEXT, you have to have an AutoCAD that will use it for it to work.  2000i(or was it 2002) didn't ship with express tolls, it cost extra and without express tools, no RTEXT.
Title: Re: RText Justification
Post by: pmvliet on July 07, 2006, 11:03:00 AM
Rtext doesn't work with LT either... :x
Title: Re: RText Justification
Post by: Birdy on July 07, 2006, 12:25:29 PM
I had the same question when on '04.  No luck.
Abandoned RTEXT for fields when we switched to '06. :) much nicer.
Title: Re: RText Justification
Post by: pmvliet on July 07, 2006, 01:05:27 PM
Woo Hoo
I beat birdy in posts... :lol:

Hey Jim...
Title: Re: RText Justification
Post by: Birdy on July 07, 2006, 10:57:12 PM
Grrrrrr....
been a carpy week (cept for mon/tues :) )
Title: Re: RText Justification
Post by: Matersammichman on July 11, 2006, 07:24:17 AM
Thanks Mark. MText Fields does work great!!!
Title: Re: RText Justification
Post by: CHulse on January 12, 2023, 08:22:09 AM
Sorry to resurrect an antique thread, but it seemed appropriate.
Have there been any changes to RTEXT since this thread started? Still no way to change justification?
Unfortunately, I'm not aware of any way to use custom drawing properties in Diesel within a field (GETPROP works only within RTEXT). I know you can reference custom dwg props in a field directly, but I know of no way to do any math with that approach.
SO -
Still no what to adjust RTEXT justification?
No way to use custom dwg props within diesel in fields (to use with math functions)?

Thanks
Title: Re: RText Justification
Post by: JohnK on January 12, 2023, 08:33:00 AM
Still no way to justify Rtext that I know of (I highly doubt they've even touched Rtext in 20+ years).

I think you know that you can use Diesel in a field but I don't think I totally understand your need. Do you have a specific example?
Title: Re: RText Justification
Post by: CHulse on January 12, 2023, 08:38:05 AM
I'm using it create a sheet index for a large project that will be updatable based on some custom dwg props.
This is an example of the RTEXT I am using now. It works fine, I just wish I could justify MC.

Code: [Select]
$(getprop,%sheet_Prefix)$(+,$(getprop, %sheet_num_offset),1)

Specifically, the GETPROP diesel function does not work with diesel in fields, only RTEXT.  Makes no sense to me. :uglystupid2:
Title: Re: RText Justification
Post by: JohnK on January 12, 2023, 09:22:40 AM
Ah. Sorry. That sucks because that sounds like a big time saver.
Title: Re: RText Justification
Post by: CHulse on January 12, 2023, 05:09:07 PM
The RTEXT route works fine, I just wish it behaved more like MTEXT... Oh well.
Just makes no sense to me that Diesel in fields doesn't leverage everything Diesel can do. Dumb.
Title: Re: RText Justification
Post by: Lee Mac on January 13, 2023, 08:28:51 AM
Unless I've misunderstood, you could use standard fields to accomplish this -
Title: Re: RText Justification
Post by: CHulse on January 13, 2023, 01:59:05 PM
Unless I've misunderstood, you could use standard fields to accomplish this -
  • Create an MText object
  • Right click within the content > Insert Field
  • Create a field referencing your first drawing property
  • Right click again within the content > Insert Field
  • Select Formula field
  • Right click within the formula pane > Insert Field
  • Select your numerical custom drawing property
  • Type +1 after the field, and then insert it

Well I'll be damned. Didn't realize you could nest fields like that and reference other properties.
That's awesome, thanks Lee!
Title: Re: RText Justification
Post by: Lee Mac on January 14, 2023, 06:55:56 AM
You're welcome!  :-)