PDA

View Full Version : Change station label

paulof
2009-11-10, 08:10 PM
I have a label in alignment that results (0+300). How can i change this (a function if could be) to show (P01, P02, P03...etc) in all stations?

brian.hailey933139
2009-11-10, 09:13 PM
I'm not sure what you are trying to accomplish. Instead of the alignment label of 0+300, you want P03? Perhaps a picture could help out.

paulof
2009-11-10, 11:25 PM
I'm not sure what you are trying to accomplish. Instead of the alignment label of 0+300, you want P03? Perhaps a picture could help out.
I try to explain. An alignment has a start point...like 0+000km and than after 100,00m has 0+100km...and a few meters...1+000km...ok? I would change this to where is 0+000 it must be P01...than after 100,00m it would be P02...and so on to the finish of the alignment. Any ideas? Sorry my english, i just try to explain.

chris805_1996
2009-11-10, 11:41 PM
Matt's drawing here shows the concept that you are looking for. It's in miles, but should be easily adaptable to every 1,000 km. http://discussion.autodesk.com/forums/thread.jspa?messageID=6272378&#6272378

paulof
2009-11-11, 12:47 AM
Matt's drawing here shows the concept that you are looking for. It's in miles, but should be easily adaptable to every 1,000 km. http://discussion.autodesk.com/forums/thread.jspa?messageID=6272378&#6272378
Its too much complex. I only want to modify where is 0+000...0+020...0+040 to P00, P01, P02...P03...and so on. Number only at the station mark. Is that so dificult? Or i have a solution to do that? Thanks. I attached a file to show what i want.

brian.hailey933139
2009-11-11, 04:00 AM
Got it! Create an expression that divides the station value by 1000. (ex: 0+010/1000=0,01 or 0.01 in US). In the label, put in a P and then add the expression but in the format, only display the value to the right of the decimal (P01).
http://i36.tinypic.com/2u939qt.png

paulof
2009-11-11, 08:06 AM
That works. But it only shows P00, P02, P04, P06...and not P00, P01, P02, P03...any ideas?
...after a few moments...it gives light!...we are dividing /1000, but if we divide /2000 it works great. Thanks for your help.

paulof
2009-11-11, 01:49 PM
Bad news. When the numbers get to 99 it starts again at 00 and should move to the 100. Any suggestions? Thank you.

brian.hailey933139
2009-11-11, 02:18 PM
If you could settle for P1, P2, P3, ... P9, P10, P11, ... P98, P99, P100, P101 it would be a piece of cake but P01 and then P101 is going to be a pain.

chris805_1996
2009-11-12, 03:37 AM
Bad news. When the numbers get to 99 it starts again at 00 and should move to the 100. Any suggestions? Thank you.

Here's a file that has the label that shows correctly.