Hi,
I have an assembler assembling two different parts. I would like to change the 3D icon of the assembled part. Is it possible to change it to a customized 3D icon?
Regards,
Mohamed
changing 3D icon during run time
Re: changing 3D icon during run time
Hi Mohamed,
You can add or edit 3D models in the 3D tab of the atom editor.
The easiest way is to edit (replace) one of the six standard 3D models in your model.
(The six standard 3D models are Box-closed, Box-opened, pallet-wood, pallet-plastic, oildrum, crate)
The 3D icon is an attribute of the product.
Therefore, you can refer to the 3D model on the entry /exit triggers by using the code
Please mind that Enterprise Dynamics has 10 standard 3D models: If you adjust the first 3D model 'box-closed' you have to use the code
If you want to add additional 3D models you should have a look at the inherited 3dDraw event code of the product atom.
For example, the 3dDraw event code of the crate (nr. 16) is:
Test your changes on the product atom in your model. This way changes only affect your current model.
Regards, Nick
You can add or edit 3D models in the 3D tab of the atom editor.
The easiest way is to edit (replace) one of the six standard 3D models in your model.
(The six standard 3D models are Box-closed, Box-opened, pallet-wood, pallet-plastic, oildrum, crate)
The 3D icon is an attribute of the product.
Therefore, you can refer to the 3D model on the entry /exit triggers by using the code
Code: Select all
Att([Icon3D],i) :=
Code: Select all
Att([Icon3D],i) := 11
For example, the 3dDraw event code of the crate (nr. 16) is:
Code: Select all
{** Crate **}
DrawModel3D(Model3D(6, c), 0, 0, 0, c.DrawXsize, c.DrawYsize, zSize)
Regards, Nick
-
- Posts: 9
- Joined: Sunday 26 January, 2014 - 12:11
Re: changing 3D icon during run time
Works.
Thanks Nick
Thanks Nick