Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020-CPS25
We are looking for loading multiple images residing in a single folder as WTPart representation in Windchill, we tried loadfile suggested in PTC Article #CS145533 where we are able to load representation from a folder which contains one image file, but the customer has multiple files residing in a single folder which is required to use as folder path for this tag "csvrepDirectory" to load multiple images as representation
If you look at the Golf Car example. each object has its own folder. The Data Loading Reference Guide has this example:
<csvPartRepresentation handler="wt.part.LoadPart.createPartRepresentation" >
<csvpartNumber>GC000001</csvpartNumber>
<csvpartVersion>A</csvpartVersion>
<csvpartIteration>1</csvpartIteration>
<csvrepDirectory>loadFiles\pdmlink\demodata\GolfCart\
golf_cart.asm</csvrepDirectory>
<csvrepName>Demo</csvrepName>
<csvrepDescription>Demo data</csvrepDescription>
<csvrepDefault>true</csvrepDefault>
<csvrepCreateThumbnail>false</csvrepCreateThumbnail>
<csvrepStoreEdz>false</csvrepStoreEdz>
<csvpartView>Design</csvpartView>
</csvPartRepresentation>
which looks like it calls out a file but if you look at that location they are all directories:
What you need to do it put each image its own folder for each object. Its a PITA but that is what's required.