27 August 2013

How to give the hatch to the particular area by pick the point in AutoLISP or AutoCAD

 Hi friends, in this article I will explain about how to give the hatch to the particular area by pick the point in AutoLISP.. 
First of all open the Visual Lisp Editor in AutoCAD 
Open AutoCAD --- click on Tools --- click on AutoLISP----click on Visual LISP Editor. 

31 July 2013

How to create layers in AutoLISP and how to set the layers in AutoLISP || Working with layers in AutoLISP

Hi Friends, in this article I will explain about how to create layers in AutoLISP and how to set the layers in AutoLISP.
How to create layers in AutoLISP:
The syntax of create layer is
(command "layer" "n" [layer name] "c" [layer color] [layer name] "")

19 July 2013

How to move the dimension text with leader in AutoCAD || aidimtextmove command in AutoLISP

Hi friends, in this article I will explain about how to change dimension text  to move with leader in AutoCAD or aidimtextmove command in AutoLISP or How to move the dimension text with leader in AutoCAD.

First we know about, how dimension text to move with ladder in AutoCAD changed in AutoCAD .
Open the AutoCAD, Select Dimension text, right click on the Dimension text, and select Dim text position and Move with leader and click where to you want. The output will like below.

9 July 2013

How to Split the string using AutoLISP || how to divide the string with special character in AutoLISP

Hi Friends, in this article I will explain about how to Split the string using AutoLISP or how to divide the string with special character like comma (,), question mark (?), etc.
I explain this with small example.
Suppose you have one string and you have to split the string with “-“,for this there is no command is there in AutoLISP to split the string with special character. So I write the code for that.I think it will useful to you.