Cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the size of transporter

Pioneer
Pioneer

Hallo everyone,

 

i want to set my transporter with size: 4.7m Length and 1.6m Weigth. I found a Attr. of transporter: setlength. I tried with it, but it doesnt chang anything Smiley Sad.  How can i set the size of the transporter size in 2D and 3D? 

 

And means the size of icon the real size of transporter in simulation?

 

Thank you!

 

 

9 REPLIES

Betreff: How to set the size of transporter

Phenom
Phenom

Look in the attributes tab,

 

there you can change the dimensions , which will also update the symbols and 3d geometries Unbenannt.PNG

 

Re: How to set the size of transporter

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello,

 

if you want that scaling to happen during the simulation you can use something similar to the following code

 

@.MUwidth:=3
@.MUlength:=5
@.MUheight:=2
--sizes set and also representation set for 2D
@._3D.Scale:=makeArray(5,3,2)--representation set also in 3D

to scale the size of your transporter and its icon in the simulation both in 2D and 3D while it e.g. exits the source, or you can also set this scaling using an init method. You just will have to change these sizes in 3D corresponding to what you have set in 2D to get corresponding results.

Kind regards,

Igor
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution


Betreff: How to set the size of transporter

Pioneer
Pioneer

Hallo PHENOM,

 

thx for your answer. I changed the values and it works in 3D. But it does not work in 2D. Smiley Sad

 

 

Betreff: How to set the size of transporter

Siemens Phenom Siemens Phenom
Siemens Phenom

Is your model set to "2D and 3D" in the model settings? And where do you run the code in your model?

Kind regards,

Igor
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution


Betreff: How to set the size of transporter

Pioneer
Pioneer

I have my model in PLM 14 with mode "2D and 3D"

Betreff: How to set the size of transporter

Siemens Phenom Siemens Phenom
Siemens Phenom

Could you post your model here? Or you can also have a look at the attached example model where setting the size of the transporter worked for me with the above method.

Kind regards,

Igor
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution


Betreff: How to set the size of transporter

Pioneer
Pioneer
Like Alex_D said, i did not used vector grafic. And not it works! Thanks also IgorKunjavskij.

Betreff: How to set the size of transporter

Gears Phenom Gears Phenom
Gears Phenom

@Lisa92  schrieb:
Like Alex_D said, i did not used vector grafic. And now it works!

OK, great! (I looked at another post of yours and saw that you actually had Vectorgraphics activated there, so I deleted my post before you replied with this. Smiley Embarassed)

____________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: How to set the size of transporter

Phenom
Phenom

here's a v14 example , which works

 

Unbenannt.PNG