I would like to draw 50*50*6 an angle, 14000mm length & insert a block, I also draw a two cg line with cetane distanc. I wrote this Lisp. Which is not work properly. I am an old gay. please clarify this lisp file where is wrong.
Posting a picture of what you want to achieve may help someone to debug your code.
At first glance your code is inserting a predefined block – make sure that is placed on a search path or provide the appropriate path in code (if not already defined in current drawing’s database).
Regards,
PS. Please don’t forget to format your codes to increase visibility.
We used a dwt file which contain block. Also when i watch variable value it show correct value. but when exicute or draw it does not work properly. also if we run it in R14 some time it exicute but in AutoCAD2009 it was not execuite properly.