[quote user="Jan Slegr"]
dominic SEAHbut I still a lot of people struggling to access nested elements, whether they are using VBA, GC or C#.
Please share evidence or examples of this statement.
[/quote]
That would be simple enough. Just do a search for 'nested' on this forum. I think that it is quite clear that a lot of programmers struggle with dealing with nested elements. I think that there should be a example for each of the tasks below delivered with the SDK. Bentley must do a much better job at this. I suspect it should take more than a man-week for the likes of Team Bentley.
Cells / Complex Elements:
- Scanning for nested elements
- Insert a nested Cell into Cell
- Dynamic display of modified elements.
- Create nested Cell
- Get nested info cell origin, cell name, text
- Drop Cells without affecting the nested Cells.
- Scan nested Cells from i.dgn
- Modifying levels in nested Cell
- Reading/Editing a cell library model to remove instances of nested cell
- Create Cell from element in nested Cell
- Export nested Cells.
- Scanning for nested elements (points)
- Append Cell to Cell
- Edit Text in Cell
- Get nested fileposition and elementID
- Understanding order of nested element / headers
- Create a Cell that nests two other Cells.
- Edit Text in Cell. Recursion link at EnvisionCAD
- GetReachableElements is the new GetsubElements?
- Scanning for nested elements.
- Delete subelements in complex element
- Modify subelement in complex element
- Fetching subelements in complex element
- Scanning for nested elements using ElementRef callback function
Complex element recursion.
Reference Files:
- Levels for display
- Attachment Name
- Property from nested attachment
- Attach with Live Nesting on
- Turn off levels in nested attachment
- ElementID’s from nested attachments
- Transforms
- Set attachment depth
- Loop through nested attachment, merge/detach on criteria
- Read nested attachment info- display, transform
- Turn on/off levels based on filters
- Read clipping info in nested attachment
- Renaming attachments
XFM nested Iterators
Items: read nested items.