Hello,
Trying to create references between a .DWG and other files i.e. xrefs, images etc.
I've read through the forum, but obtaining param UINT64 refElemId is still not clear.
I've seen mention of calling aaApi_CreateLSet first, but it's not clear how to get refElemId from SET_PROP_XXX
how do I get refElemId?
Thanks
Dan
I'm using the memberID from aaApi_CreateLSet as the refElemId argument
I don't know about DWG files, but for MicroStation files, "refElemId" refers to the Element ID in the design file for the reference attachment. That Id isn't generated by ProjectWise.
I haven't done any MicroStation programming for years, but I think the function mcmRef_getActiveReferenceList() found under MicroStation Integration API (MCM) -> MicroStation v8i Integration API would probably give you a list of reference files, and from that structure in the pRefInfoList buffer, you should be able to determine the refElemId value for each reference file.
Hi Dan,
Then do I even need this function to create references between a .DWG and other files i.e. xrefs, images etc?
I could not find any samples on this,or aaApi_CreateLSet , aaApi_CreateSet or aaApi_CreateReferenceInformation2, so I don't even know if I am on the correct path.
Bentley has closed my support request as this being the answer, I find this quite annoying since we are paying for support, this section is critical to our application