See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Field return Z value WITH conversion factor

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    2011-10
    Posts
    29
    Login to Give a bone
    0

    Default Field return Z value WITH conversion factor

    I am trying to create a block showing the Z elevation of particular points.
    It could be used on surveys, drawn in metres, or structures, drawn in millimetres.

    In both cases the value returned needs to be in metres.

    For objects drawn in metres its fine, I can just use the 'Position' variable and de-select X and Y.
    I had hoped to use the same variable (in another attribute, controlling the two with visibility) for objects drawn in millimetres, but with a conversion factor to scale the value to metres.

    The 'Position 1' object will allow applying a conversion, but there is only position options for X and Y

    Does anyone know of any clever tricks?

  2. #2
    100 Club
    Join Date
    2015-10
    Posts
    158
    Login to Give a bone
    1

    Default Re: Field return Z value WITH conversion factor

    First, set the field to use a Formula. Do your conversion math, and then insert another field (yes, it's field-ception, fields inside of fields). That nested field can be the same as your original (no-conversion version) field (also allowing formatting). Hope this helps.

  3. #3
    Member
    Join Date
    2011-10
    Posts
    29
    Login to Give a bone
    0

    Default Re: Field return Z value WITH conversion factor

    *Punches the air*

    You Hero! Many thanks

  4. #4
    Member
    Join Date
    2006-04
    Posts
    2
    Login to Give a bone
    0

    Default Re: Field return Z value WITH conversion factor

    I echo Kernal_CAD_Monkey's praise...many, many thanks. I was sure it was possible, but couldn't get my head around the field-within-field concept until now.

Similar Threads

  1. Replies: 10
    Last Post: 2016-06-27, 12:04 AM
  2. .NET Return Conversion to TypedValue
    By peter in forum Bridging the Gap: LISP -> .NET -> LISP
    Replies: 18
    Last Post: 2015-10-14, 05:10 PM
  3. Carriage Return in SSM Field
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2010-03-15, 01:40 PM
  4. Alternate Units Conversion Factor Error!
    By aledtaylor79401 in forum AutoCAD General
    Replies: 1
    Last Post: 2007-12-07, 07:20 PM
  5. How do you create a Boxed Return or Cornice Return?
    By rgecy in forum Revit Architecture - General
    Replies: 7
    Last Post: 2004-05-20, 04:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •