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: 

which addcurve method to use for starting with a curve?

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
287 Views, 6 Replies

which addcurve method to use for starting with a curve?

I have a list of segments, and want to make an alignment.
I looked at the align.entities methods for an hour and could not figure out which one to use for an alignment starting
with an arc.
I would like to use AddFixedCurve1, but it has a previous objectid parameter.
I cannot assume the segment after the arc is tangent.
Maybe I have to start with a tangent and delete it later?

Any help appreciated.
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: Anonymous

no takers?
I put in an ADN request on this, lets see what they say.

James Maeding
|>I have a list of segments, and want to make an alignment.
|>I looked at the align.entities methods for an hour and could not figure out which one to use for an alignment starting
|>with an arc.
|>I would like to use AddFixedCurve1, but it has a previous objectid parameter.
|>I cannot assume the segment after the arc is tangent.
|>Maybe I have to start with a tangent and delete it later?
|>
|>Any help appreciated.
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - at - hunsaker - dotcom
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
Message 3 of 7
Anonymous
in reply to: Anonymous

sure enough, the AddFixedCurve1 will not work without a previous object ID.
I'll try adding a dummy tangent and removing later

James Maeding
|>I have a list of segments, and want to make an alignment.
|>I looked at the align.entities methods for an hour and could not figure out which one to use for an alignment starting
|>with an arc.
|>I would like to use AddFixedCurve1, but it has a previous objectid parameter.
|>I cannot assume the segment after the arc is tangent.
|>Maybe I have to start with a tangent and delete it later?
|>
|>Any help appreciated.
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - at - hunsaker - dotcom
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
Message 4 of 7
Anonymous
in reply to: Anonymous

ok, the add dummy tangent and remove later works.
Still, must be a better way.

James Maeding
|>sure enough, the AddFixedCurve1 will not work without a previous object ID.
|>I'll try adding a dummy tangent and removing later
|>
|>James Maeding
|>|>I have a list of segments, and want to make an alignment.
|>|>I looked at the align.entities methods for an hour and could not figure out which one to use for an alignment starting
|>|>with an arc.
|>|>I would like to use AddFixedCurve1, but it has a previous objectid parameter.
|>|>I cannot assume the segment after the arc is tangent.
|>|>Maybe I have to start with a tangent and delete it later?
|>|>
|>|>Any help appreciated.
|>|>James Maeding
|>|>Civil Engineer and Programmer
|>|>jmaeding - at - hunsaker - dotcom
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - at - hunsaker - dotcom
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
Message 5 of 7
Sinc
in reply to: Anonymous

I just used AddFixedCurve1 and specified 0 as the previous segment parameter, and it seems to work.

It was a while ago now; I can't remember if I determined that the first segment was segment 1 or not. But if you are creating a new alignment and just want to start with a curve, AddFixedCurve1 should work.
Sinc
Message 6 of 7
Anonymous
in reply to: Anonymous

hmm, I did not realize the ID was just an index. Thanks for the tip.

sinc <>
|>I just used AddFixedCurve1 and specified 0 as the previous segment parameter, and it seems to work.
|>
|>It was a while ago now; I can't remember if I determined that the first segment was segment 1 or not. But if you are creating a new alignment and just want to start with a curve, AddFixedCurve1 should work.
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
Message 7 of 7
Anonymous
in reply to: Anonymous

answer was to use AddFixedCurve1 with 0 as previous ID param

James Maeding
|>I have a list of segments, and want to make an alignment.
|>I looked at the align.entities methods for an hour and could not figure out which one to use for an alignment starting
|>with an arc.
|>I would like to use AddFixedCurve1, but it has a previous objectid parameter.
|>I cannot assume the segment after the arc is tangent.
|>Maybe I have to start with a tangent and delete it later?
|>
|>Any help appreciated.
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - at - hunsaker - dotcom
James Maeding
Civil Engineer and Programmer
jmaeding - at - hunsaker - dotcom
Tags (2)

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report