Hi!
First, I would like to say that the framework and its documentation have made great progress!
I have a problem with ElementSelectService. I have a list of Ifcids and corresponding objects in Allplan.
guidlist=[dbel.ifcguid for dbel in ap_dbeles.values()]
ap_adapterlist:AllplanElementAdapter.BaseElementAdapterList=ApBase.ElementsSelectService.SelectElementsByIfcGuid(self.doc,guidlist)
#ap_adapterlist:AllplanElementAdapter.BaseElementAdapterList=ApBase.ElementsSelectService.SelectAllElements(self.doc)
AllplanIFW.HighlightService.HighlightElements(ap_adapterlist)
adp=ap_adapterlist[0]
print("DEBUG BASEELEMENTADAPTER",adp.GetDisplayName(),adp.GetElementAdapterType().GetModelType())I want to select them with ElementsSelectService.SelectElementsByIfcGuid. It works fine, I use the HighlightService to confirm that the objects are found.
But the BaseElementAdapter items in the list are not what I would expect.
console.log:
DEBUG BASEELEMENTADAPTER Erweitertes Element 2ea36adf-0361-4a38-9555-7c5af3320bf4
I cant do anything with it. It has no geometry, it doesnt have AllplanElements etc.
ElementSelectService.SelectAllElements(self.doc) works as expected, it returns the expected type. Is there an additional step required for selection with Ifcids?
Im using Allplan 2025 1.1+.
Thank you very much,
Best regards