question

Mischa Spelt avatar image
0 Likes"
Mischa Spelt asked Phil BoBo answered

loadthreedobject doesn't load shapes in 20.2

In one of our modules, we use the following command to load a 3D shape

loadthreedobject( "modules\\taltest\\shapes\\SideTop.3ds", "modules\\taltest\\shapes\\SideTop.3ds" )

In 20.0 this worked, but in 20.2 it doesn't.

I usually get

exception: FlexScript exception: <no path> c: <no path> i: <no path>

and sometimes it complains that the 3DS files are not in the correct format.

When I load the shape in FlexSim by setting it as the visual of a Fixed Resource, it loads the shape and from that point onwards getshapeindex also returns the correct index.

Here is one of the shapes for which this fails: SideTop.3ds


FlexSim 20.2.3
flexsim 20.2.3loadthreedobject
sidetop.3ds (3.6 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered

This is a bug. I'll fix it for the next bugfix release.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.