Quickly:
1. A yellow pencil icon in Advanced editor.
2. In my opinion it's wrong style (wrote bad code where it's easy and shorter to write right code and to postpone the correction to refactoring), but all developers have own styles how to work.
3. I am not sure if you have to scan really all attachments (probably yes), but in my opinion it has to be implemented in a different way, because attachments are nested, so you have to use recursion. To use one For Each cycle will scan only references on the same level.
4. It was ment as an explanation why you probably will have to use some not workarounds and not elegant solution.
5. You have to find these information from the reference attachment. I am nto quite sure how to do it, maybe you will have to use VBA wrapper to call MDL function for that. Based on your example (but I have not enough time) I guess it's clipped using saved view, so the clipping boundary defines how the fence should be placed.
6. To work with clipped references is not easy even in MDL, so should search all existing discussions, but I assume also good knowledge how reference attachments, clipping and the overall concept of dynamic view will be required.
My personal feeling is that what you want to achieve is not simple task.
Withr regards,
Jan
1. A yellow pencil icon in Advanced editor.
2. In my opinion it's wrong style (wrote bad code where it's easy and shorter to write right code and to postpone the correction to refactoring), but all developers have own styles how to work.
3. I am not sure if you have to scan really all attachments (probably yes), but in my opinion it has to be implemented in a different way, because attachments are nested, so you have to use recursion. To use one For Each cycle will scan only references on the same level.
4. It was ment as an explanation why you probably will have to use some not workarounds and not elegant solution.
5. You have to find these information from the reference attachment. I am nto quite sure how to do it, maybe you will have to use VBA wrapper to call MDL function for that. Based on your example (but I have not enough time) I guess it's clipped using saved view, so the clipping boundary defines how the fence should be placed.
6. To work with clipped references is not easy even in MDL, so should search all existing discussions, but I assume also good knowledge how reference attachments, clipping and the overall concept of dynamic view will be required.
My personal feeling is that what you want to achieve is not simple task.
Withr regards,
Jan