ComponentPath to Root
Hello,
using JLink I am trying to acces the coordinate system of the root assembly while I am on a sub-level part. I am using the method CreateModelItemSelection (ModelItem SelItem, /*optional*/ ComponentPath Path). I am not sure what to use for ComponentPath since I want to access the root assembly.
Neither of the following three approaches succeeded:
"null":
ComponentPath(rootAsm, null)
-> coordinate system of sub-level part is selected
empty intseq:
ComponentPath(rootAsm, intseq.create());
-> coordinate system of sub-level part is selected
providing (0) as intseq:
intseq idsroot = intseq.create();
idsroot.insert(0, 0);
ComponentPath(rootAsm, idsroot); -> pfcExceptions$XToolkitGeneralError
I don't know if I am missing something here. I appreciate any help and ideas on how to access the top coordinat system!
Thank you and kind regards
Michael

