AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

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

Input to VB program from LISP

222 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

 

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,

ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 2 of 5 (203 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
dcouch
Posts: 370
Registered: ‎10-22-2003
Message 3 of 5 (199 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
dcouch
Posts: 370
Registered: ‎10-22-2003
Message 4 of 5 (199 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
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 5 of 5 (187 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.