Jump to content

Recommended Posts

Posted (edited)

Hi,

currently i found on the web , this lisp to draw Road profile or any other profiles by the lisp that contains two commands :

 

1- " NGL " : To draw natural ground elevation in terms of station and elevation from an excel sheet with a Datum .

 

2- "PGL" : tO DRAW DESIGN ELEVATION from excel sheet too , with same datum.

 

the lisp states an error message "error no function definition , (ACET-STR-FORMAT ) after loading " NGL" and entering datum , BUT it work with " PGL" without any error ... ??!!

 

i use AutoCAD2012 ? , what do you think that the problem is ?error message for  this lisp in NGL command.png

lisp and excel are attached .

https://www.mediafire.com/?dqbumocn3gm3132

https://www.mediafire.com/?dqbumocn3gm3132

PROFILE #NGL# - #PGL#.lsp

Edited by Salama
Posted

acet... functions are part of the extended tools function set, not normally installed with ACAD.

  • 2 weeks later...
Posted

 

i tried this , and loaded express tools , but still same message appears .

(setq datscaled (list (car datreal)(* verscale (cadr datreal)) ))

(setq opt nil)

(while (and(/= opt "Yes")(/= opt "No"))

 

(SETQ dopt "Yes")

(initget "Yes No Options")

(setq option (getkword (acet-str-format "\nAttach Start-up Template [Yes/No/Options] : " Dopt))

option (if option option Dopt) )

(IF (= option "Options")

(pro)

)

 

(setq opt option)

 

)

.......................

 

is there any approach to avoid that error ?? , the part of LISP that includes the appeared error text: " acet-str-format " .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...