How can I get the geometric feature from an external reference with EKL?

Ivelin Peychev

How can I get the geometric feature from an external reference with EKL?

How can I get the geometric feature from an external reference with EKL?

I've tried Owner, I get an empty value.

I've tried ListParents, the list is empty.

I've tried ListValuePointers, the list is empty

I even tried GetListOfImplementingReferences (have no idea what that is), anyways, it takes 3 lists as inputs and all end up empty.

I need to get the Feature because the object that external reference was created from is an output feature from UDF.

I need the UDF in order to extract more information from it.

If I right-click the external reference and go to parents/children as parent I do see the UDF, but I can't get it using EKL.

Thanks in advance.


Best Regards,

 

Ivelin PEYCHEV


 

Matt Hanson

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Ivelin Peychev)

Are you using 3DX, V6, or V5?

Ivelin Peychev

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Matt Hanson)

3DExperience R2022x

Edited By:
Ivelin Peychev[AITAC d.o.o.] @ May 06, 2022 - 10:51 AM (Europe/Paris)

Gautam Mahendru, Director

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Ivelin Peychev)

Hello Ivelin,

Did you get any solution to your requirement? I am also looking for some solution to same query.

Regards

Gautam

Arnaud Guitton

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Ivelin Peychev)

Could you please post a screenshot of your tree (or try to explain it in your message as I do below) just to be sure on how things are connected and how is your product structure (to see where is your original UDF and where is your target feature).

 

What I understand is something like that :
-Root product
|-Product 1
||-3dshape1

|||-instantiated UDF (original UDF)

|-Product2

||-3dshape2

|||-external reference pointing to original UDF in 3dshape1

Ivelin Peychev

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Arnaud Guitton)

Hello Arnaud,

I'm sorry for the delayed reply.

Yes, the structure is pretty much as you showed and the script is run with the root prd as active object.

 


Best Regards,

Ivelin PEYCHEV


Arnaud Guitton

RE: How can I get the geometric feature from an external reference with EKL?
(in response to Ivelin Peychev)

There's a chance that you can find the UDF with EKL but I'm not sure. I thinks you would find the geometrical element of the UDF (let's say your UDF result is a volume, you would probably find the volume as it is in the external references geometrical set).
I had the same problem for a project and there's no solution to get back to the original part/instance which contains the UDF as you would find with the links and relations tool.

I believe that the only solution would be CAA and I'm not even sure about that (because I don't know CAA but I think I saw somwthing like that in the help).