keiths Posted May 2, 2016 Share Posted May 2, 2016 Hi Is there a way I can set defaults in the below menu... Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 3, 2016 Share Posted May 3, 2016 keiths: Which "below menu" are you referring to? If you want a command to default to a particular option consider using either a macro assigned to a button or a lisp routine. Quote Link to comment Share on other sites More sharing options...
keiths Posted May 3, 2016 Author Share Posted May 3, 2016 Hi ReMark, I have attached an image of the toolbar, am afraid I don't have much of a clue with macros or lisp routines... Quote Link to comment Share on other sites More sharing options...
rkent Posted May 3, 2016 Share Posted May 3, 2016 You will have to create a tool button somewhere, the ribbon or on a tool palette. The macro would be ^C^C_arraypath;\;\;;;I;6;M;D;; This will be for 6 items, modify for the number you want as a default. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 3, 2016 Share Posted May 3, 2016 I'm still waiting to see the toolbar. The image you posted is of the Array command's contextual ribbon tab. What default(s) did you want to set to the toolbar you speak of? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 4, 2016 Share Posted May 4, 2016 Here is the lisp equivalent you would add to your acaddoc.lsp and just type AP. (defun c:ap6 ( / obj obj2 num) (setq obj (car (entsel "pick object"))) (setq obj2 (car (entsel "pick path"))) (command "_arraypath" obj "" obj2 "I" 6 "" "M" "D" "") ) Quote Link to comment Share on other sites More sharing options...
Hudy Posted January 19 Share Posted January 19 This is very interesting topic, I understand that M is the parameter for distance and it reads the length of curve and what is D for? It prompts me to put Dimension type, what are the options and effect for this macro? Currently I removed this parameter from my function as I don't find any use for it. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 20 Share Posted January 20 (edited) 7 years ago wow, just run Arraypath manually or Google help Arraypath Autocad. Edited January 20 by BIGAL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.