Question:Given one corridor and one sampleline,how to get corridor section at sampleline postion?
Actually,Civil3D 2014 has exposed new method about CorridorSection Class to get SectionPoints,which can help me to get the section.That's great!
However I don't know where to get the CorridorSection object using API?
Someone can help me,thanks.
Solved! Go to Solution.
Solved by Partha.Sarkar. Go to Solution.
Hi,
I believe, CorridorSection doesn’t have any information about points and SectionPoints API would return empty collection. I didn't play with this yet; did you check this ? and do you get the Point lists using this API ?
Could you try this ?
Instead of CorridorSection, you can get points, links and shapes from AppliedAssembly, which makes up the corridor and this can be achieved by station.
Thanks,
Partha Sarkar
Autodesk
Hi,
Thanks Sarkar.
Sorry,I haven't found any way to use SectionPoints property because I don't know how to get the CorridorSection object.So,I ask someone tell me where to get CorridorSection object.
Trust me,the sentense of "Gets all the geometry points of the Section" from civil3D wikihelp mislead me. Now,I see.
I have tried AppliedAssembly method. It's OK except for repetitive CalculatedPoint which is easy to handle I think(but why?). Thanks for Sarkar's reply,again.
Another,Sarkar, Does the question about ImportSubAssembly API I posted a few days have any threads?
Glad to help you !
I couldn't investigate the ImportSubassembly API yet. I will look into that soon and update you through the same thread.
Thanks,
Partha Sarkar