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: 

Finding the command for Drawing Profile Tangents

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
dwcouch123
493 Views, 3 Replies

Finding the command for Drawing Profile Tangents

I am trying to work a routine that will draw tangents with or without curve in a profile by calling the command in the Toolbar icon to "Draw Tangents" button that is on the Profile Layout Tools toolbar.  I can't seem to locate the command that I could execute at the comand line or in LISP.  Where can I find a complete list of C3D commands to reference??

 

Dave  

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

Hi,

 

Do you mean you are looking for the command which creates Tangent like the tool in "Profile Layout Tools" (Command : _AeccCreateProfileLayout) and there you have various options under Tangents ?

 

I don't see tools in "Profile Layout Tools" have equivalent command line version, but most of these functionalities are exposed in API.

 

In this case you could use -

 

ProfileEntityCollection.AddFixedTangent Method in .NET API

public ProfileTangent AddFixedTangent(
Point2d startPoint,
Point2d endPoint
)


Does it help ?

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 3 of 4
dwcouch123
in reply to: Partha.Sarkar

Thank you.  I may end up using that, but for now, I found the "Sample" Create Profile VB program that ships with Acad.  I think I can modify this to do what I want.

 

Dave

Message 4 of 4
Partha.Sarkar
in reply to: dwcouch123

Hi Dave,

 

I am glad to help you here 🙂

 

Cheers,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report