@Alban_de_Chasteigner, I think I may still need to clarify. The step I’m trying to accomplish is #4 in a separate post you were also involved with:
In mycase, the desired group is whatever group existed in the missing SP file.
In another post, you referenced what I think this missing group just might be (ParameterGroup):
Since the ParameterGroup is stored in the project, rather than the SP .txt file, I was hoping to be able to dig it up.
I have a feeling it’s only achievable via python, and maybe has something to do with this section of your code for “Get Shared Parameter”
sp=SharedParameterElement.Lookup(doc, defi.GUID)
if sp != None:
tempGroups.append(sp.GetDefinition().ParameterGroup)
tempGroupLabels.append(LabelUtils.GetLabelFor(sp.GetDefinition().ParameterGroup))
but that’s about all can figure out since I haven’t learned much about Python yet.
I hope this is a cleaner explanation of what I’m trying to accomplish. Is this achievable in a project file, family file or both?
Thank you so much for your valuable time!