I tried the add_resource but not work. What is the problem.
When i wrote the wrs path to top like

resource "some_resource.wrs"

it works fine.

but i want it to add with a condition like

if(a==1)
{
add_resource("some_resource_a.wrs");
}
else
{
add_resource("some_resource_b.wrs");
}

it does not work. I get error messages which the models in wrs cannot be find.

What is the problem?

Thank you...


www.dijipark.com Dijipark Software Istanbul Turkiye