• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD 2010/2011/2012 DWG Format

    Reply
    Active Contributor
    Posts: 31
    Registered: ‎02-05-2013
    Accepted Solution

    Rtext Diesel, cannoscale

    430 Views, 7 Replies
    02-13-2013 06:58 AM

    Dear autocad / lisp users,

     

    Could somebody please help me.

     

    I want to create a dynamic block that automaticly updates the viewport cannoscale a.k.a. Plotscale.

    At the moment I / We have a dynamic block that contains a field for the Plotscale.

    The only problem is, we have to fill it in ourselfs. so this means human errors or even blank fields.

    Not so good.

     

    Is there somebody who might knows a little bit of code to put in a RTEXT - Diesel block? 

     

    I will appreaciate anny help.

     

    Thank you,

    Michel

     

    Please use plain text.
    *Expert Elite*
    JGerth
    Posts: 1,197
    Registered: ‎12-05-2005

    Re: Rtext Diesel, cannoscale

    02-13-2013 09:43 AM in reply to: weedseed85

    Why not use a FIELD, and use the Viewport object properties?

    Please use plain text.
    Active Contributor
    Posts: 31
    Registered: ‎02-05-2013

    Re: Rtext Diesel, cannoscale

    02-13-2013 11:16 PM in reply to: JGerth

    Thank you for your post.

     

    I've tried the field command, but with no luck.

     

    When I put in a FIELD, and choose plotscale, it does not

    update when I change the VpScale. It just stays 1:1

    or a big numer in modelspace.

     

    I tried several times before but, no luck.

     

     

    Please use plain text.
    Active Contributor
    Posts: 36
    Registered: ‎08-22-2008

    Re: Rtext Diesel, cannoscale

    02-14-2013 01:49 AM in reply to: weedseed85

    Try this it took me some time & help to get there, I think this is what J. Gerth is trying to tell you.

    :smileyhappy:

    Please use plain text.
    Active Contributor
    Posts: 31
    Registered: ‎02-05-2013

    Re: Rtext Diesel, cannoscale

    02-14-2013 04:11 AM in reply to: lesleys

    Thats exactly what I was looking for!

    Truely perfect

     

    Thank you so much!

     

     

    Please use plain text.
    Active Contributor
    Posts: 36
    Registered: ‎08-22-2008

    Re: Rtext Diesel, cannoscale

    02-14-2013 05:18 AM in reply to: weedseed85

    Nice to be able to pass on some of the help I have had over the years :smileyvery-happy:

     

    Please use plain text.
    Contributor
    Posts: 11
    Registered: ‎03-05-2013

    Re: Rtext Diesel, cannoscale

    03-11-2013 07:01 PM in reply to: lesleys

    Do you know if RText can placed on 2 lines.

     

    the code that is being used is on 1 line the problem is when there are a number of xrefs the code runs off the page

    XREFS:$(xrefs,6,,/)

     

    Should I put this in a new post?

    Please use plain text.
    Active Contributor
    Posts: 36
    Registered: ‎08-22-2008

    Re: Rtext Diesel, cannoscale

    03-12-2013 02:27 AM in reply to: craig.dunningham

    Diesel is not something I know about only what I have learnt from here.

     

    Try this

    $(xrefs,14)

     

    I have just tried this in a drawing that has 2 xrefs & it listed them one below the other which is I think what you are looking for.

     

    If that does not work you would probably be better as you suggest starting a new post with a different heading

    :smileyhappy:

    Please use plain text.