Xdata from python custom script

Xdata from python custom script

alexandru_stroeV3CKE
Participant Participant
176 Views
1 Reply
Message 1 of 2

Xdata from python custom script

alexandru_stroeV3CKE
Participant
Participant

Is it possible to attach xdata to support generated via python custom script? I try to find a way to access parametric values for MTO.

0 Likes
177 Views
1 Reply
Reply (1)
Message 2 of 2

jabowabo
Mentor
Mentor

You can add xdata to any AutoCAD object. It cannot be done inside the Python code though if that's what you are asking. The xdata will not reflect any 'stretched' dimensions, so I don't think it's too useful. There's been several threads already on how to extract parametric dimensions - do a search and I'm sure you'll find them. In short, the only way to reliably do this is via .NET code. There's an example on the forum somewhere.