• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

remove the copy and share default on active part

  • Thread starter Thread starter Kaji
  • Start date Start date

Kaji

Guest
I think it is a deleterious option, but I was asked if you can do so that when you do the copy or share command does not appear by default the active part, but the choice is automatically free.
You know if there's a command string doing this? Thank you.
 
Hi, I'm going to memory because I haven't used to make...
you have to put the current part of the empty command via setq pippo="" and after the current part as a pippo... I go to memory though
 
to remove the flag "one level" to the copy:
(copy-default :deep)

to put it back:
(copy-default: onelevel)
 
to remove the flag "one level" to the copy:
(copy-default :deep)

to put it back:
(copy-default: onelevel)
hi thanks to the answers, in fact already default from the settings of the cdm I have the copy flagged to a level, I could use the analog command for the shared annulla, that is unshare-default : onelevel , but I do not want to put hand to the launch file since it is common to the other posts.

What was asked was to avoid this:
- I have no active part in my tree structure
- share or copy a single part (it does not happen if I share more than one) and the new generated part is by default active.

this would not happen, that is, no part would become active after sharing or copying, I believe that this hypothesis is not taken into account by any user, so I do not think there is an option or useful command; my suggestion was simply to create a new part with the possibly rapid command "create new part" and then eliminate it immediately after.
probably the most correct road is the one suggested by reb_bl but I have never gone too far into the command strings and are very little practical.
Hi, I'm going to memory because I haven't used to make...
you have to put the current part of the empty command via setq pippo="" and after the current part as a pippo... I go to memory though
if I didn't understand correctly I have to write in the command bar setq pippo="" and then impose pippo as "current part", although I didn't understand which command is to do so (simplely current part="pippo" ?)
 
hello thanks for the answers....
if I didn't understand correctly I have to write in the command bar setq pippo="" and then impose pippo as "current part", although I didn't understand which command is to do so (simplely current part="pippo" ?)
not from command line, from dedicated lisp. you will need to build an ad hoc lisp command and then launch it if necessary by calling it "copy-kaji" or making us a dedicated icon. banally you could launch the recorder and change the list that jumps out. so you don't touch the original command and who uses it knows exactly what goes on.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top