• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D

    Reply
    Active Member
    office
    Posts: 7
    Registered: ‎05-16-2011
    Accepted Solution

    Change of Station Label Format

    284 Views, 3 Replies
    11-16-2012 10:05 AM

    Hi,

     

    I would like to change the station label format from 00+000.000 to 00,0+00.000

    To move the + is easy, but how can I add the ,?

     

    This type of station label is the standard by the Deutsche Bahn, so it's not that far-fetched.

     

    thx.

    Christoph

    Win7 64bit
    HP z400 Workstation
    ATI FirePro V4800
    C3D2013
    Please use plain text.
    *Expert Elite*
    AllenJessup
    Posts: 4,617
    Registered: ‎05-21-2003

    Re: Change of Station Label Format

    11-16-2012 10:14 AM in reply to: office

    You could add a text component containing the comma and position it between the digits. However. I can't think of any way to create a space. So it would look pretty clumsy. See http://forums.autodesk.com/t5/AutoCAD-Civil-3D/Line-Bearing-Label-Expressions/m-p/3701176#U3701176

     

    Allen

    Please use plain text.
    *Expert Elite*
    Posts: 1,580
    Registered: ‎05-21-2008

    Re: Change of Station Label Format

    11-16-2012 10:35 AM in reply to: office

    People have accomplished something similar for dimensions.  I wonder if that would work here.

     

    http://forums.autodesk.com/t5/AutoCAD-R12-R13-R14-Archive/Comma-in-dimension-text/m-p/33987

     

    http://forums.autodesk.com/t5/AutoCAD-2000-2000i-2002-Archive/Dimension-text-Spacing-With-Metric-Uni...

     

    http://forums.autodesk.com/t5/AutoCAD-2013/Thousand-separator-for-the-dimension/m-p/3510924

     

     

    __________________________________________________________
    Win 7 Pro, 32 bit; Intel Core i5 @ 2.80GHz; 4GB RAM—Civil 3D 2008 & 2011
    __________________________________________________________
    Credit where credit is due! Give kudos or accept as solution whenever you can.
    Please use plain text.
    Active Member
    office
    Posts: 7
    Registered: ‎05-16-2011

    Re: Change of Station Label Format

    11-18-2012 11:10 PM in reply to: troma

    It won't work with the digit grouping option - This Option is not available for Station-Formats.

     

    I solved the Issue then via:

    1. Create a new Expression "00,0": Rounddown(Stationvalue,-3)/1000

    Expression.jpg

     

    2. Adress this into your Styles: "00,0" "Station-Index-Sign" "Station Index left side of the Station-Index sign.

    Style.jpg

    Thx.

     

    Win7 64bit
    HP z400 Workstation
    ATI FirePro V4800
    C3D2013
    Please use plain text.