See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: Confirm Dialogue Box

  1. #1
    Member
    Join Date
    2006-05
    Location
    Tehran-IRAN
    Posts
    23
    Login to Give a bone
    0

    Default Confirm Dialogue Box

    Hi
    How to confirm this Dialogue Box in lisp :

    (command "_AeccCreateSurface")
    Attached Images Attached Images

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    1

    Default Re: Confirm Dialogue Box

    You can't confirm the dialog via AutoLISP. However, you can create a surface using the COM libraries. Jeff has an example over on the Autodesk forums. The surface style name provided to the routine must be present in the current drawing.

    On top of that, you will need to update the verstr to correspond to your currently active civil 3d. Here is a sub-routine "defun c3dver", which will retrieve this string from the registry.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Member
    Join Date
    2006-05
    Location
    Tehran-IRAN
    Posts
    23
    Login to Give a bone
    0

    Thumbs up Re: Confirm Dialogue Box

    Thank you very much for your tips

  4. #4
    Member
    Join Date
    2006-05
    Location
    Tehran-IRAN
    Posts
    23
    Login to Give a bone
    0

    Default Re: Confirm Dialogue Box

    I have visited posted link and used Jeff's sub-routine in my work, with a slight change of course, which you may find as 1st attachment. Unfortunately, I couldn't create any surface even an empty one (a surface which only its name is specified). Please note that I could create surfaces from data point files with other lisps (2nd and 3rd attachments). I was hoping if you could give me firstly a few more tips to modify 1st attached sub-routine and secondly a lisp to create an empty surface.
    Attached Files Attached Files

  5. #5
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Confirm Dialogue Box

    The method used in Jeff's routine, as shown in 1st.lsp, requires the surface style name provided to the method is actually in the drawing. As long as that style name is found, the method will create a surface even if no surfaces are in the drawing. There is not always a surface style named "Standard" in each Civil 3D drawing.

    The 2nd.lsp uses the same method, however, it is also assigning a point file to that surface. Is the file format specified, "ENZ (comma delimited)", available to the drawing?
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Replies: 1
    Last Post: 2013-12-20, 06:17 PM
  2. Can anyone confirm my suspicions?
    By MikeJarosz in forum Revit Architecture - General
    Replies: 3
    Last Post: 2010-11-11, 09:03 PM
  3. dialogue box
    By gailc in forum AutoCAD Map 3D - General
    Replies: 8
    Last Post: 2010-04-18, 11:46 PM
  4. No dialogue box...
    By Longtnguyen in forum Revit - Platform
    Replies: 5
    Last Post: 2009-01-20, 02:46 PM
  5. Can't get the viewport dialogue box
    By jgh in forum AutoCAD General
    Replies: 4
    Last Post: 2005-12-23, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •