• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D Customization

    Reply
    Mentor
    Posts: 335
    Registered: ‎10-22-2003
    Accepted Solution

    Input to VB program from LISP

    140 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

     

    Please use plain text.
    ADN Support Specialist
    Posts: 206
    Registered: ‎06-09-2009

    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

    Please use plain text.
    Mentor
    Posts: 335
    Registered: ‎10-22-2003

    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
    Please use plain text.
    Mentor
    Posts: 335
    Registered: ‎10-22-2003

    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

    Please use plain text.
    ADN Support Specialist
    Posts: 206
    Registered: ‎06-09-2009

    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

    Please use plain text.