wasim khan, perhaps you could use an array. Draw the helix, then draw one tooth at start position. Use ARRAY command, PATH option and select the helix that you need the teeth to run along. You'll probably get more help if you start a new thread with your questions.i want to draw helical gear in autocad 2010. any one tell me how to draw helical gear tooth frofile in autocad.
MKKCAD do you want to lock the same layer every time with your macro, or do you want to lock a layer that you manually select?Can anyone come up with a macro to lock any given layer so that the layer becomes unselectable?
If I understand correctly, the first option would be a macro like this:
Or the second would be like this (it is a standard button command in AutoCAD called "Layer, Layer Lock"):Code:^C^C-LAYER;LOCK;"LAYER NAME";;
it also has a buddy to unlock:Code:^C^C_laylckor you can simply unlock all:Code:^C^C_layulkCode:^C^C-LAYER;UNLOCK;*;