AutoCAD Civil 3D Customization

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

Finding the command for Drawing Profile Tangents

171 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
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 2 of 4 (159 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
dcouch
Posts: 370
Registered: ‎10-22-2003
Message 3 of 4 (153 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
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 4 of 4 (134 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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

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