i can't seem to explain exactly what i want to do..
I'm just frustrated that i can't seem to put 1+1 together to = 2.. I feel like i'm getting 100 as my answer...
I just can grip the logic when you all put your code together..
What i mean by that is when you get a problem...
when you start to dissect that problem and start writting code to solve the problem, you all seem to have a structure to your code... (this goes here and that there, oh i should put this here as well) it's that what i'm not getting..I'm not getting how you all put your code together... I'm not fully understanding why you would use this over that or do it this way instead of that way...
I've learned a lot about all the function and how they work individually, but when trying to put them together to function as a group.. i just throw my arm's in the air and just wanna yell!!!..
And that's when i start to get frustrated...
I just want to say you've all done a great job and teaching me everything so far... I just thought i would bring this up to maybe direct your thougths to this point..
I guess i should post a routine and understand your thinking behind it..
here's a simple one... i understand how it works... but mentally it would have taken me days to even figure where to start with the code..
What would be your thoughts when doing this routine?
(defun C:COPYROT (/ SS1 P1 P2 RT)
(prompt "\nCopy and Rotation combined.")
(setq SS1 (ssget)
RT 0.0
)
(if SS1
(progn
(setq P1 (getpoint "\nBase point for copy: "))
(if P1
(while (setq P2 (getpoint P1 "\nCopy point: "))
(setq TMP (getangle P2
(strcat "\nRotation angle <0.0>: ")
)
)
(if TMP
(setq RT TMP)
(setq RT 0.0)
)
(command "_COPY"
SS1
""
P1
P1
"_MOVE"
SS1
""
P1
P2
"_ROTATE"
SS1
""
P2
(angtos RT)
) ;;end Command
(setq P1 P2)
) ;;end WHILE P2
) ;;end If P1
) ;;end PROGN
) ;; end IF SS1
)
If anyone wants to jump off this sinking ship feel free to do so....