Parcel Loops alternative in .NET API

Parcel Loops alternative in .NET API

a.mergu
Participant Participant
680 Views
4 Replies
Message 1 of 5

Parcel Loops alternative in .NET API

a.mergu
Participant
Participant

Hi,

 

I'm new to CIVIL 3D customization, but I have a fair experience in programming. I'm trying to reference the parcel segments that were used to create a Parcel in my .NET code, but in vain. On further searching, I found out that there's something called a Parcel Loop in the older COM API.

COM API Reference - Link

 

Is there an alternative to the parcel loop in new .NET API? If there isn't one, can someone please share any other resources which can help me explore ways to retreive parcel data?

 

Thanks.

0 Likes
Accepted solutions (1)
681 Views
4 Replies
Replies (4)
Message 3 of 5

a.mergu
Participant
Participant

Thank you @hosneyalaa . This worked! I didn't know we could use COM objects inside the .NET API. I'm still having a trouble figuring out the closest points to the parcel segments, but I hope I'll get there. Thanks a ton for the info ! 

0 Likes
Message 4 of 5

hosneyalaa
Advisor
Advisor

Hi @a.mergu 

my language is not good

 Can you put some code?

And I'm trying to help you

0 Likes
Message 5 of 5

a.mergu
Participant
Participant

Hi @hosneyalaa ! You already gave me the answer. Thank you! I'll create a separate post if needed for other issues I'm facing.