PDM API, IEdmReference11 "FileType" property
Posted: Fri Sep 17, 2021 5:15 pm
Simple one this time. I'm doing some ref tree navigating and found the FileType property of the IEdmReference11 by VS intellisense. The earlier interfaces do not have it. However, I cannot find any mention of it in the help.
https://help.solidworks.com/2019/englis ... mbers.html
I thought it was just exposing the FileType of the underlying IEdmFile according to the EdmFileType Enumeration https://help.solidworks.com/2014/englis ... eType.html but it's usually 0 for parents but always and it seems more accurate for references to children. More specifically if I have an IEdmReference11 parent:
Does anyone know what the FileType Property (IEdmReference11) is used for or what it does?
https://help.solidworks.com/2019/englis ... mbers.html
I thought it was just exposing the FileType of the underlying IEdmFile according to the EdmFileType Enumeration https://help.solidworks.com/2014/englis ... eType.html but it's usually 0 for parents but always and it seems more accurate for references to children. More specifically if I have an IEdmReference11 parent:
Code: Select all
parent.FileType != ((IEdmFile8)parent.File).FileType