jimpcfd 发表于 2022-7-6 10:27:22

old r14 lisp doesn't work

hi all
i had this problem a couple of week ago with another lisp file and someone on this forum very kindly pointed the problem out for me,which was the command ie... (command "LINE" pt1 pt2 ""). now i have changed this in the new file (please see attached file) to (vl-cmdf "._LINE" pt1 pt2"") but this has not solved the problem.
 
the idea of the routine is the changed the number of gaps and the width of the gaps, ie if you had a line with 7 gaps with a width of 4mm and you need to changed them to 5 gaps with a width of 5mm.
 
can anyone help please?
 
thanks
jimpcfd
P$BCHA.LSP

Tharwat 发表于 2022-7-6 10:46:39

Hello.
 
Actually where does the main problem occur ?
 
Does the routine start or not ?
 
Tharwat

lpseifert 发表于 2022-7-6 11:00:59

seems to be looking for a list named 'pv$message' but no list has been created in the code. Maybe it's a global variable from somewhere else?

Lt Dan's l 发表于 2022-7-6 11:21:29

please do a snap shot of what you're talking about. It's a little confusing to me

jimpcfd 发表于 2022-7-6 11:40:25

 
yeah that's just message for the prompts ie how many number of bridges etc , those promt messages are in acddoc.lsp file
 
 
 
 
sorry, i will try again...
the routine is designed to change the number of gaps and width of gaps in a line, arc and circle, all line, arcs and circles would already have these gaps in them.
although we call the gaps bridges.
 
i think that's as clear as mud !!!
 
thanks
jimpcfd
页: [1]
查看完整版本: old r14 lisp doesn't work