basepointdesignz
Programmer
Hi,
Could someone please explain a typical IF ELSE statement in AutoLISP..
I've checked the help and it suggest the PROGN fucntion and i can't quite get my head round it, lol. Excuse me if i'm being hella-stupid..
Basically, i want to create a simple command line based routine that allows me to switch point styles. I want to just type something like PP, and it switches point style between the small dot (0 in PDMODE) and the crossed circle (35 in PDMODE)..
So if the point style is 35, then switch it to 1, and vice versa..
Cheers,
Paul @ basepoint designz ltd..
basepointdesignzltd
Could someone please explain a typical IF ELSE statement in AutoLISP..
I've checked the help and it suggest the PROGN fucntion and i can't quite get my head round it, lol. Excuse me if i'm being hella-stupid..
Basically, i want to create a simple command line based routine that allows me to switch point styles. I want to just type something like PP, and it switches point style between the small dot (0 in PDMODE) and the crossed circle (35 in PDMODE)..
So if the point style is 35, then switch it to 1, and vice versa..
Cheers,
Paul @ basepoint designz ltd..
basepointdesignzltd