Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a block that is on every drawing, named “OFIMP_1_0”. I’m looking for a LISP routine that writes the name of the file, minus the extension, to the value for attribute with tag “ole_link” within that block once every time the drawing is opened.
I’ve searched high and low but can’t find a solution to this problem. Some solutions came close, but I was unable to adapt them to meet my specific situation - It seems like it would be pretty straight forward for someone more adept as LISP than me.
So essentially, each time I open the file, the value for attribute tag “ole_link” in the block “OFIMP_1_0” should be equal to the drawing name, minus the .dwg extension.
Solved! Go to Solution.