Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change PI index of alignment

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
spavlovitsky
1525 Views, 2 Replies

Change PI index of alignment

I want to change PI index of alignment. So, it starts from 1 by default, but I want it to be 8 for example.

I got all PI stations

 

Station[] alignmentStations = alignment.GetStationSet(StationTypes.PIPoint);

But Station class has nothing to deal with index increment.

Can someone help me, please?

 

2 REPLIES 2
Message 2 of 3

I think the best way to handle this is to use an expression in the labels. Take the index and add 7. So this:

 

{Alignment PI Index}+7 

 

If you wanted to do something programatically I think you'd have to apply text overrides in the labels. The PI Index the last time I checked is just a dumb counter that starts at 1.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 3 of 3

hello sir

there is any way to change alignment IP index start number in civil 3d

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report