AutoCAD Civil 3D Customization

Reply
Valued Mentor
Posts: 370
Registered: ‎10-22-2003
Message 1 of 4 (134 Views)
Accepted Solution

Finding the command for Drawing Profile Tangents

134 Views, 3 Replies
10-17-2012 04:14 PM

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  

ADN Support Specialist
Posts: 537
Registered: ‎06-09-2009
Message 2 of 4 (122 Views)

Re: Finding the command for Drawing Profile Tangents

10-19-2012 03:04 AM in reply to: dcouch

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

Valued Mentor
Posts: 370
Registered: ‎10-22-2003
Message 3 of 4 (116 Views)

Re: Finding the command for Drawing Profile Tangents

10-19-2012 08:17 AM 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

ADN Support Specialist
Posts: 537
Registered: ‎06-09-2009
Message 4 of 4 (97 Views)

Re: Finding the command for Drawing Profile Tangents

10-31-2012 07:04 AM in reply to: dcouch

Hi Dave,

 

I am glad to help you here :smileyhappy:

 

Cheers,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs