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

    AutoCAD Civil 3D

    Reply
    Contributor
    Posts: 13
    Registered: ‎10-18-2012

    Create reference text to a sub item of an object.

    180 Views, 7 Replies
    10-18-2012 12:02 PM

    Using C3d 2013.  I could not find this information anywhere in tutorials, discussion boards, or blogs. 

     

    Specifically, I am looking for a way to place the deflection angle of the PI of an Alignment in the label of a structure part that references said alignment.  But PIs aren't an option when I select Reference Text type.  Common sense tells me it would be under Alignments, but none of the PI data is an option of the Contents' Text Component Editor.  I couldn't find it under any of the other Reference Text types either.  I can pull the station value from the referenced alignment, is there a way to get it to tell me the deflection angle at the PI it sits on?  Or even the difference in the instantaneous direction just before and just after the part?

     

    I know listing the deflection angle of a PI is possible, as I have seen it in several examples of labeling alignments.  I just want to place it in the label of other objects.

     

    An added bonus to who can tell me how to display LT (to represent left) and RT (to represent right) when the deflection is positive or negative respectively.

     

    Thanks,

    Adam

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    Re: Create reference text to a sub item of an object.

    10-18-2012 08:20 PM in reply to: atklump

    Sounds like its time for an expression

    Thank you

    Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
    HP Z210 Workstation
    Intel Xeon CPU E31240 @ 3.30 Hz
    12 GB Ram

    Note: Its all Resistentialism, so keep calm and carry on


    64 Bit Win7 OS
    Please use plain text.
    Contributor
    Posts: 13
    Registered: ‎10-18-2012

    Re: Create reference text to a sub item of an object.

    10-19-2012 10:19 AM in reply to: Joe-Bouza

    Ok... A little guidance on what the expression would look like and pointing to the documentation on how it's implemented would be beneficial.  I'm not familiar with how CAD does expressions.

     

    Thanks

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    Re: Create reference text to a sub item of an object.

    10-19-2012 10:36 AM in reply to: atklump

    After further review Delta is and OOTB parameter for alignment labels.

     

    deflection.PNG

     

    As for expressions:smileysurprised:n the settings tab inside most label styles the bottom node is expressions. Here you can create pretty much any mathmatical operation on the data of a given c3d object. You could create 2 label components for left or right. using an if statement for plus or minus you can set the label height to zero for one condition and plot height for another condition ther by controling which side actually plots

    Thank you

    Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
    HP Z210 Workstation
    Intel Xeon CPU E31240 @ 3.30 Hz
    12 GB Ram

    Note: Its all Resistentialism, so keep calm and carry on


    64 Bit Win7 OS
    Please use plain text.
    Contributor
    Posts: 13
    Registered: ‎10-18-2012

    Re: Create reference text to a sub item of an object.

    10-19-2012 11:21 AM in reply to: Joe-Bouza

    Well we're starting to get somewhere, but from the documentation I've read, C3D labels only recognize expressions of the entity (or sub entity) you are wanting labeled (i.e. Alignment labels can only recognize expressions of Major Stations, Minor Stations... Station Offsets, Lines, Curve, Spirals... or any of the Expressions listed under the Alignment folder in the settings tab). 

     

    I want a pipe network part to display the alignment expression.

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    Re: Create reference text to a sub item of an object.

    10-19-2012 11:55 AM in reply to: atklump

    atklump, You have commited a DG no no. you have double posted :smileywink:

     

    I answered that question in you MTEXT field post

    Thank you

    Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
    HP Z210 Workstation
    Intel Xeon CPU E31240 @ 3.30 Hz
    12 GB Ram

    Note: Its all Resistentialism, so keep calm and carry on


    64 Bit Win7 OS
    Please use plain text.
    Contributor
    Posts: 13
    Registered: ‎10-18-2012

    Re: Create reference text to a sub item of an object.

    10-19-2012 01:32 PM in reply to: Joe-Bouza

    Technically the two posts started referencing two completely different things (mtext fields in one and C3D labels in the other)... one just strayed into the others territory.  Sorry, though... I am new to the discussion group community.

     

    I'd still like to know how to do it as mtext with fields, if it can be done.

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    Re: Create reference text to a sub item of an object.

    10-19-2012 02:27 PM in reply to: atklump

    You'll catch on. we were all new at some point.

    Thank you

    Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
    HP Z210 Workstation
    Intel Xeon CPU E31240 @ 3.30 Hz
    12 GB Ram

    Note: Its all Resistentialism, so keep calm and carry on


    64 Bit Win7 OS
    Please use plain text.