Jump to content

ARRAY & ARRAYPATH in macro or script not the same as in command line


Recommended Posts

I'm trying to write either a script or a macro to make it easier to do an array that we will need to replicate on a regular basis. Basically, I want a path array to offset mtext every 20m along a centreline.



If I do this in the command line, it's fine:


select object

PA [path]

select path curve

M [method]

M [measure]

I [item]

20 [distance apart]

F [fill length of path]

A [align to path]

Y [confirm]

X [exit]



If I do this in a script or macro, I encounter a difficulty in that the type of array is limited to polar or rectangular. It doesn't even register that path is an option.

If I try a similar thing using ARRAYPATH, the options that come up from the macro/script are totally different to the command line options.



Am I missing something, or is CAD just unhelpful on this? Running LT, so can't do LISPs

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...