Hi All,
I think the problem is that the node Assembly.GetGroups only reads the Baseline Assembly (“Baseline”) and not the Offset Assemblies (Offset - (11) and Offset - (12)).
Python:
I can get the assemblyId.OffsetAssemblies and then the offsetAssembly.Groups. See the link: Working with Assembly Groups | Civil 3D 2022 | Autodesk Knowledge Network
PythonCode_GetOffsetAssembly.txt (3.2 KB)
Two issues:
- the Offsets group ids are the same? But the names are correct.
- the Output is not in the correct format, how do i get the right format, like "AssemblyGroup(Name=…)?