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

Subassembly Transitioning

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
156 Views, 2 Replies

Subassembly Transitioning

There have only been a few posts on this subject (that I was able to find)
and a google search didn't yield much more.

I'm wanting to (if at all possible) specify a starting/ending width of a
pavement subassembly so that creating simple lane widening is as easy as
specifying the transition range within the corridor, and the starting/ending
subassembly width.

If it is possible but requires VBA within the subassembly, could anyone
please give me a nudge in the right direction as to how one would do such a
thing? I haven't looked extensively into the VBA idea, but I want to avoid
that for obvious reasons if there is a simple, built-in solution that I'm
just not seeing.

As always, TIA.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Tom,

There are two ways to do this with a secondary alignment, and with a VBA
routine.

With the secondary alignment you would draw that to represent the edge of
pavement with the taper that you need. Of course if you are going around a
curve, this becomes much harder.

With the VBA solution, you would need to take one of the existing lane
assemblies (I would start with the lane outside super) as your starting
point. Read the help file on how to make a new entry in the ATC file, and a
new macro. The modification you would make to the subassembly would be to
add three more parameters to hold the starting station of the transition,
the end station, and the change in the width that you want (you could also
change depths...). Then inside of the VBA code you would check to see if the
section you are working on is inside of the range, if so, you would
calculate the percentage along the section you are, and add that much of the
delta to the width of the lane. In the ATC file, if you give the type info
of the two station variables "6", they will display in station format.

FYI, I'm teaching a class on sub assemblies at AU this year, and this may be
a nice little tutorial for that class...

Cheers,

Peter Funk
API Product Manager
Autodesk, Inc.
Message 3 of 3
Anonymous
in reply to: Anonymous

Thank you very much for the head start.

....may have to try going to AU.

; ; "Inc." wrote in message
news:4964811@discussion.autodesk.com...
Tom,

There are two ways to do this with a secondary alignment, and with a VBA
routine.

With the secondary alignment you would draw that to represent the edge of
pavement with the taper that you need. Of course if you are going around a
curve, this becomes much harder.

With the VBA solution, you would need to take one of the existing lane
assemblies (I would start with the lane outside super) as your starting
point. Read the help file on how to make a new entry in the ATC file, and a
new macro. The modification you would make to the subassembly would be to
add three more parameters to hold the starting station of the transition,
the end station, and the change in the width that you want (you could also
change depths...). Then inside of the VBA code you would check to see if the
section you are working on is inside of the range, if so, you would
calculate the percentage along the section you are, and add that much of the
delta to the width of the lane. In the ATC file, if you give the type info
of the two station variables "6", they will display in station format.

FYI, I'm teaching a class on sub assemblies at AU this year, and this may be
a nice little tutorial for that class...

Cheers,

Peter Funk
API Product Manager
Autodesk, Inc.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report