- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hello, I'm trying to change the "copy" menu macro ^C^C_copy to be able to select multiple objects then place them multiple times. I can select multiple objects with the regular command but can only place them once. I can add "\ m)" to the end of the command and select one object and place multiple copies. But I can't get set the macro so it does both.
THANKS
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Where do I put the "select"?
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_copy,^C^C_copy \ m)
THANKS for the response
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Between ^C^C and _copy.
Also, pause for user to select objects.
Not sure, but you might have to make sure PickFirst variable is set to 1 also.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Anonymous wrote:
Where do I put the "select"?
....
The SELECT command in a command macro, unlike any other command involving object selection, can take one backslash for User input, under which you can select any number of things, use any selection options [Remove, Fence, All, etc.], and when you finish the SELECTion, you can go on, giving the Previous selection to the COPY command. Just that portion of it, through to the Multiple option in COPY:
SELECT \COPY P;;M
[You can use two spaces after the P -- I just used two semicolons so it's clear there are two, one to "register" the P and one to complete the selection.]
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@Anonymous wrote:
....
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_copy,^C^C_copy \ m)
....
Looking at that some more, and if I'm reading it right, considering that I have hardly done anything with Diesel so I may have this wrong [I didn't try it]:
When Grip-editing, if you have multiple objects selected and you grab a grip and go into the Copy option, it copies only the object that the grip is on. But if you hit Enter before going into the Copy option, it copies everything selected. But multiple-Copy mode is automatic in that context. So try this:
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),;_copy,^C^CSELECT \COPY P;;M)
However, it looks like that should go into Copy-everything mode if you have things selected and you grabbed a grip first before picking on the macro, otherwise it will cancel the selection and ask you to SELECT things. That means if you have things pre-selected and pick on the macro without having grabbed a grip first, it will also cancel your selection, and you'll have to pick things again. Do you need to have it keep any pre-selection if you pick on the macro without having first grabbed a grip?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Kent, THANKS for the help.
This lets me place 1 selected object multiple times: $M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_copy,^C^C_copy \ m)
What goes where so I can select multiple objects to copy to multiple places?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Your last post did it, THANKS very much, I have been trying different combinations all afternoon.
THANKS, again