cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

Load WTPart Representations with multiple images in single folder

PZ_10194957
2-Explorer

Load WTPart Representations with multiple images in single folder

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

1 REPLY 1
avillanueva
22-Sapphire III
(To:PZ_10194957)

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:

avillanueva_0-1708691015110.png

What you need to do it put each image its own folder for each object. Its a PITA but that is what's required.

Announcements



Top Tags