Before I begin the research - I am wondering if it may be possible to call "append" provide it the file with path, from an attribute with is in the model, file, document object model.
i.e. I append (or open) a .dwg containing attributes or huperlinked objects.
I write a command, call, or plugin that prompts me for an object containing the attribute/link. Providing the link is valid, the file is appended.
My code would derive the file and path from the attribute value.
Thanks in advance.
Greg
Hi,
I am trying to understand your scenario:
you have a file (say DWG), in which there is some objects with some attributes or hyperlinks.
For 1, you may have to open the DWG and check the attributes or hyperlink, and decide to append it or not.
For 2, this depends on your workflow, e.g.
- You can iterate the attributes/hyperlinks, get the full path of the other files, and append them.
- You can also check the selected object in OnCurrentSelectionChanged event, get the attributes/hyperlinks, get the full path of the other files, and append them. i.e. when the user selects the object, the appending job is done automatically.