Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Re:creating Mus on container

Builder
Builder

Hello Everyone

 

I am new to the Technomatix. Could anyone let me know How can i create MUs on the container.

 

Source--Parallelproc --buffer--drain. this is my factory.

 

I want to delete the Mus coming from source,then create container on buffer,then 3 new parts on container.

I wrote the following program

is
do
Deletemovables;
.MUs.Container.create(buffer1);
.MUs.Sub_assemblies.Main_frame_red.create(.MUs.Container);
.MUs.Sub_assemblies.Main_frame_red.create(.MUs.Container);
.MUs.Sub_assemblies.Anchor_winded_220_720.create(.MUs.Container);
end;

 

But new parts  are creating separately, not on Container

 

How can i write program for this?

 

regards

 

4 REPLIES 4

Re: Re:creating Mus on container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the destination of the new MUs should be the new creqated container:

 

is
do
  @.deleteObject;
  local c:object:=.MUs.Container.create(buffer1);
  .MUs.Sub_assemblies.Main_frame_red.create(c);
  .MUs.Sub_assemblies.Main_frame_red.create(c);
  .MUs.Sub_assemblies.Anchor_winded_220_720.create(c);
end;

 

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

Re: Re:creating Mus on container

Builder
Builder

Thank you very much.

 

I have one more doubt that,

for example i want create 2 

.MUs.Sub_assemblies.Main_frame_red.create(c)

how can i specify the number in the program?

 

regards 

Re: Re:creating Mus on container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

one way: copy the command how often you need it or  you can use a loop

(see help)

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

Re: Re:creating Mus on container

Builder
Builder

Thank you for your help.