pfcPart.Part.RetrieveMaterial with Windchill
I'm using a custom menu created with J-Link to set the material in a part. The method pfcPart.Part.RetrieveMaterial works fine when the config option pro_material_dir is set to a local/network drive.
However when this is set to a Windchill location using wtpub://[servername]/[material library] I get the error: com.ptc.wfc.Implementation.pfcExceptions$ToolkitNotFound.
The material library location is correct (it points to the right location when manually setting the material) and the Windchill server is registered and authentication is done when starting up Creo.
Do I need to make a connection to Windchill within my program before I can access items such as material files?

