TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Sam on March 04, 2013, 02:24:22 AM
-
Dear sir,
please see this offset code it s ok or any modification this code
or
What is difference between below code
-
In all these examples the command continues beyond the scope of the function. This is not good programming practice. My suggestions:
(command "_.offset" 150 pause pause
"") )
-
In all these examples the command continues beyond the scope of the function. This is not good programming practice. My suggestions:
(command "_.offset" 150 pause pause
"") )
Dear Sir,
Thx for guidance
Thx for Reply
-
Dear Sir,
i am combing of varies offset this code ok or any suggestion
-
If you test your code in a new drawing you will find that the nested functions only become available after their parent functions have been called. This means that you have to use the c:100 function at least once for the c:150 function to become available. And the c:150 function must be called for the c:230 function to become available. And of the three functions only c:230 will behave properly.
The question is what are you trying to do? You should not nest functions without a good reason.
If you want to use an 'offset template' function, consider this example:
(defun OffsetTemplate
(dist
) )
)
-
The question is what are you trying to do? You should not nest functions without a good reason.
If you want to use an 'offset template' function, consider this example:
(defun OffsetTemplate
(dist
) )
)
[/quote]
Dear Sir,
Thx for help
i am study