Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
I am trying to adapt gpcattaneo code but I am having no lucky.
I am trying to copy the field within a Text to the clipboard, to paste it latter in another text without losing the data.
(defun c:CopyFieldToClipboard ()
(vlax-invoke
(vlax-get (vlax-get (vlax-create-object "htmlfile") 'ParentWindow) 'ClipBoardData)
'setData
"TEXT"
;(getvar 'dwgname);this was the original code
(entsel "\nSelect Text with Field: ");this is what I tried
)
);defun
; error: unsupported argument type: <Entity name: 7f69d7bf720>
Thanks for any help!
Solved! Go to Solution.