Custom array on tool palette

Custom array on tool palette

jc.zamora.29
Enthusiast Enthusiast
835 Views
2 Replies
Message 1 of 3

Custom array on tool palette

jc.zamora.29
Enthusiast
Enthusiast

Hi All,

Is there a way to write a custom command/lisp for a block to do arraypath with specific spacings? (1m, 2.5m, 5m, 10m) and can be placed on the tool palette? I'm imagining...1 click from tool palette, then click a polyline, then automatically insert a specific block and arraypath that block on the polyline with specific spacings without additional inputs? Or is this impossible? Thank you in advance.

0 Likes
836 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant

Tell us more....  You have some choices to make.  If you mean to spread them along the full length of the Polyline, and the resulting Blocks can be independent of each other, and you want the first one at the designated spacing in from the start of the path, it can be as simple as this in a Tool Palette button:

 

^C^CMEASURE \B YourBlockName Y YourSpacing

 

[Maybe you want N instead of Y for the alignment.]  If you want to specify the number of iterations [not necessarily the full length of the path], or want them associated with the path, or want the first one at some other location [perhaps not even actually on  the path], then ARRAY or ARRAYPATH would be needed.  And it would need to start with INSERTion of one to be the selection to Array, which is not needed for MEASURE.

Kent Cooper, AIA
0 Likes
Message 3 of 3

jc.zamora.29
Enthusiast
Enthusiast

Hi Kent Cooper,

Ive figured out a better way in dealing with my needs using simple action recorder. Thanks for the input though, ill be looking more into this.

0 Likes