AutoCAD Civil 3D General

Reply
Contributor
atklump
Posts: 13
Registered: ‎10-18-2012
Message 1 of 8 (261 Views)

Create reference text to a sub item of an object.

261 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

*Expert Elite*
Joe-Bouza
Posts: 4,778
Registered: ‎12-15-2008
Message 2 of 8 (242 Views)

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
Contributor
atklump
Posts: 13
Registered: ‎10-18-2012
Message 3 of 8 (228 Views)

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

*Expert Elite*
Joe-Bouza
Posts: 4,778
Registered: ‎12-15-2008
Message 4 of 8 (224 Views)

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
Contributor
atklump
Posts: 13
Registered: ‎10-18-2012
Message 5 of 8 (219 Views)

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.

*Expert Elite*
Joe-Bouza
Posts: 4,778
Registered: ‎12-15-2008
Message 6 of 8 (214 Views)

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
Contributor
atklump
Posts: 13
Registered: ‎10-18-2012
Message 7 of 8 (203 Views)

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.

*Expert Elite*
Joe-Bouza
Posts: 4,778
Registered: ‎12-15-2008
Message 8 of 8 (193 Views)

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs