Author Topic: Add Xdata to the drawing  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

pingoo666

  • Mosquito
  • Posts: 13
Add Xdata to the drawing
« on: July 26, 2022, 03:26:50 AM »
Hello,

I need a way to attach xdata to the drawing, without attaching it to an entity.

I try to download this example

https://cadtips.cadalyst.com/node/tiplisting?q=node/tiplisting&keywords=1756

but the link is broken.

Do you have an example ?

Thanks by advance

mhupp

  • Bull Frog
  • Posts: 250
Re: Add Xdata to the drawing
« Reply #1 on: July 26, 2022, 10:13:56 AM »
Here it is on Autodesk forums.
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/message-lsp/m-p/1743119/highlight/true#M219941

---edit
oops
"It doesn't work with 2007. It loads, but it doesn't run. "

"You can use "dwgprops" to save message"
« Last Edit: July 26, 2022, 10:17:14 AM by mhupp »

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Add Xdata to the drawing
« Reply #2 on: July 26, 2022, 11:45:53 AM »
Hello,

I need a way to attach xdata to the drawing, without attaching it to an entity.

I try to download this example

https://cadtips.cadalyst.com/node/tiplisting?q=node/tiplisting&keywords=1756

but the link is broken.

Do you have an example ?

Thanks by advance
You can write xdata to layer 0 too. What are you trying to accomplish ?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC