Is there any way to get all referenced drawings for selected file in PDM?
I tried below one.
GetReferenceTree Method (IEdmFile5)
But its extracting whole list of depended file. I just need the drawing file of selected file.
Thanks
Is there any way to get all referenced drawings for selected file in PDM?
I tried below one.
GetReferenceTree Method (IEdmFile5)
But its extracting whole list of depended file. I just need the drawing file of selected file.
Thanks
You will need to use IEdmFile5.GetReferenceTree method to return the IEdmReference5 object. Use the GetFirstParentPosition method to return IEdmPos5 and use it to loop through the parent files returned by the GetNextParent object and examine the extension to see if it is a drawing.