Results 1 to 3 of 3

Thread: Expression to replace Structure Offset Location from 0.00 to Cl

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2017-06
    Posts
    1
    Login to Give a bone
    0

    Default Expression to replace Structure Offset Location from 0.00 to Cl

    I have structures that are on located directly on the referenced alignment, and I do not want them to read Offset 0.00. I want them to read CL if they are in fact on the alignment. I know I can manually revise them to read CL but there's got to be an expression to replace the 0.00.

    Does anyone have an expression that they've created to do this???

    Thanks!

  2. #2
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Central New Jersey
    Posts
    439
    Login to Give a bone
    0

    Default Re: Expression to replace Structure Offset Location from 0.00 to Cl

    Unfortunately an expression can only return numeric values and not strings. (text)

    All you could do would be to use an "if" expression to test the offset value for being equal to 0 and return either normal text height value if it doesn't equal zero, or 0 if if it does. Then use that expression value as a text size for text component for an offset other than 0. (kinda makes an On/Off switch for the text component based on the offset value) You need a second one for the opposite situation. So, you have two overlapping text components, each with their own expressions to turn them on or off based on the offset value.

  3. #3
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: Expression to replace Structure Offset Location from 0.00 to Cl

    or, make a separate structure label style for those situations.

Similar Threads

  1. 2013: Negative sign (-) in structure offset label
    By gadjet in forum AutoCAD Civil 3D - Pipes
    Replies: 5
    Last Post: 2016-02-01, 06:42 PM
  2. 2015: Structure profile offset direction label
    By tott700763 in forum AutoCAD Civil 3D - Pipes
    Replies: 3
    Last Post: 2015-07-27, 04:25 PM
  3. 2013: Beam Graphical Zero Inch Offset of Stick Symbol Location
    By jmcdonald436635 in forum Revit Structure - General
    Replies: 2
    Last Post: 2013-12-02, 07:50 PM
  4. Replies: 1
    Last Post: 2012-06-12, 09:36 PM
  5. Curtain wall location line offset
    By davidwlight in forum Revit Architecture - General
    Replies: 2
    Last Post: 2004-06-23, 09:00 PM

Tags for this Thread

Posting Permissions

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