Is an Image a Import or a Link

Is an Image a Import or a Link

david_rock
Enthusiast Enthusiast
264 Views
2 Replies
Message 1 of 3

Is an Image a Import or a Link

david_rock
Enthusiast
Enthusiast

Hello,

When I use the following I get nothing for every image in a model either the Imports and the Links.

Dim objExternalRef As ExternalFileReference =
        ExternalFileUtils.GetExternalFileReference(doc, objImageType.Id)

Any ideas on how to tell if a models image is a Import or a Link?

0 Likes
Accepted solutions (1)
265 Views
2 Replies
Replies (2)
Message 2 of 3

minix6800
Contributor
Contributor
Accepted solution

You need to check ImageTypeSource value

ImageTypeSource Enumeration 

Image Source.jpg

 
0 Likes
Message 3 of 3

david_rock
Enthusiast
Enthusiast

Thank you so much.

0 Likes