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: 

AeccParcelSegmentCurve

2 REPLIES 2
Reply
Message 1 of 3
Edoc13
196 Views, 2 Replies

AeccParcelSegmentCurve

How do you tell if a AeccParcelSegmentCurve is curving to the left or right?

2 REPLIES 2
Message 2 of 3
Partha.Sarkar
in reply to: Edoc13

Hi,

 

Going by the Civil 3D COM API Ref. doc. I don't see any direct API available to get this information; however, I see the COM API has the following props -

 

StartX  - >Gets the segment's starting X coordinate.    

StartY  -> Gets the segment's starting Y coordinate.    

StartZ  - > Gets the segment's starting Z coordinate. 

 

And 

 

EndX  -> Gets the segment's ending X coordinate.    

EndY  - > Gets the segment's ending Y coordinate.    

EndZ  - > Gets the segment's ending Z coordinate.  

 

I think you can make use of the AeccParcelSegmentCurve start point and end point and determine if the curve is going to left ot right side. You need to build this logic in your application.

 

Thanks,

 



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 3 of 3
Edoc13
in reply to: Partha.Sarkar

Unfortunately said logic could only be applied for tangential curves.
Thanks anyway.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report