Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying my hand at using XDATA. I want to attach a variable text to a polyline. The text value will change, it's not static.
I have seen examples where they use quoted strings for use in the entmod.
(setq exdata '((-3 ("PolyXdata" (1000 . "DETAILVIEW")))))
(setq newEnt (append selectedEnt exdata))
(entmod newEnt)
What I want to do is use a variable value in place of the quoted string.
(setq netNameXdata (cons 1000 xdataText))
(setq exdata '((-3 ("DocProXdata" netNameXdata))))
But that only gets me:
((-3 (CONS ("DocProXdata" NETNAMEXDATA))))
How can I use a variable value instead of a hard coded static string for this type of thing?
Thanks,
Mark
Solved! Go to Solution.