Cancel
Showing results for 
Search instead for 
Did you mean: 

change name

Pioneer
Pioneer

Hello

I have a question to rename the item. I have a situation that I would like to part of the warehouse No. 2 received the name of the current item in the warehouse No. 1, from which you should use to accomplish this?

Thanks for answer

 

7 REPLIES

Re: change name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the attribute name sets the name, the method cont returns the actual MU, e.g.:

 

warehouse2.cont.name:=warehouse1.cont.name;

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: change name

Pioneer
Pioneer

Thank you for your help, but there is a problem with this method.
When I have to complete Part 1 and Part 2 is thus formed only counts Part 1 and Part 2 as Part 1. That is how I make x10 Part 1 and Part 2 is at the end of Part 1 is x20.
What can I do about it?

Re: change name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I do not understand your question completely. Do you want rename the parts, that you need for assemble it?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: change name

Pioneer
Pioneer

Bez tytułu.png

This is the model. Cut the sheet metal parts and the remainder is possible to use for the next job. The rest of the sheet metal is transferred to "Magazine No.2". Sheets of this magazine is picked when it can be to live up to the job. The final result should come out 10 "Elementów Nr1" (Part1) and 10 "Elementów Nr2" (Part 2)

Re: change name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
How do you create part2? What is the difference between the parts?
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: change name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
I guess, now I got your Point. You should integrate it into the crane control. If you move the plate from buffer2 to the hook, you change the Name of the plate:
Magazin_blach_Nr2.cont.name:=Magazin_blach_Nr1.cont.name;

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: change name

Pioneer
Pioneer

I took advantage of this change to the name and added "deleteMovables" and everything works well. Thank you very much.