AutoCAD Civil 3D Customization

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

Input to VB program from LISP

183 Views, 4 Replies
10-20-2012 07:40 AM

I want to use the "Profile Sample" program supplied with C3D to create an alignment and profile.  I am creating the stations and elevations in LISP and want to send them to the "Profile" program.  I have seen in a C# program the use of an Array to send the data.  I would like to do the same.  eg. 

 

LISP - (profile_sample sta1 elev1 sta2 elev2 sta3 elev3 ...etc)

 

VB - What is the code to pass this data to the Profile Sample program?

 

I am VERY new to VB programming.  I have trouble giving up LISP.

 

Dave

 

ADN Support Specialist
Posts: 542
Registered: ‎06-09-2009
Message 2 of 5 (164 Views)

Re: Input to VB program from LISP

10-29-2012 10:13 PM in reply to: dcouch

Hi Dave,

 

Did you take a look at this earlier ?

 

'Passing arguments to .NET-defined commands'
http://through-the-interface.typepad.com/through_the_interface/2006/09/passing_argumen.html

 

BTW - I won't suggest you to try LISP in Civil 3D application programming unless you want to do some very basic stuff.

 

And, if you want to get started with .NET programming for AutoCAD / Civil 3D, the following resources would be useful -
http://through-the-interface.typepad.com/through_the_interface/2007/10/free-webcast--1.html

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Re: Input to VB program from LISP

10-30-2012 07:15 AM in reply to: Partha.Sarkar
Partha, thank you. Both links look useful. I will take a look at the webcast later this week. David Couch Walden & Associates 2552 White Road, Suite B Irvine, CA 92614 949-660-0110 Fax: 949-660-0418 www.waldenassociates.com
Valued Mentor
Posts: 370
Registered: ‎10-22-2003
Message 4 of 5 (160 Views)

Re: Input to VB program from LISP

10-30-2012 07:17 AM in reply to: dcouch

Thanks, Partha.  Both links look good.  I will check out the webcast.

 

Dave

ADN Support Specialist
Posts: 542
Registered: ‎06-09-2009
Message 5 of 5 (148 Views)

Re: Input to VB program from LISP

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

I am glad :smileyhappy: to know it was useful to you !

 

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

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