Hi ronjonp
I know this is a few years old now but is this supposed to work for any object? Whenever I try your lisp I get:
Command: PUTURL
Select objects: 1 found
Select objects: ; error: bad DXF group: (-3 ("PE_URL" (1000) (1002 . "{") (1000) (1002 . "{") (1071 . 0) (1002 . "}") (1002 . "}")))
Am I doing something wrong?
If possible could you expand this to have two options (or two different lisp files):
1) add the layer name to the hyperlink description only
2) add the layer name to both hyperlink and hyperlink description, with a defined relative path prefix and file extension suffix to the hyperlink (e.g. .data\layer name.nwd)
To further clarify I'm using Civil 3D 2015 and am trying to do this with different objects, blocks, mpolygons, etc.
Thanks
Paul