| Author |
Message |
clarence_rollins
Guest
|
Posted:
Sat Dec 04, 2004 7:05 pm Post subject:
How is XData Set/Get using ObjectDBX? |
|
|
The following line returns an empty array:
MyObject.GetXData "MYXDATA", avarXDataType, avarXDataValue
This worked with AutoCAD 2004 and ObjectDBX. It does not work with AutoCAD 2005 and ObjectDBX.
|
|
| Back to top |
|
 |
Jorge Jimenez
Guest
|
Posted:
Sat Dec 04, 2004 11:54 pm Post subject:
Re: How is XData Set/Get using ObjectDBX? |
|
|
Should work the same.
Maybe your MyObject is empty to begin with
or MYXDATA has a spelling error.
Check your references and your dims
--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
"clarence_rollins" <nospam@address.withheld> wrote in message
news:934187.1102169173008.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | The following line returns an empty array:
MyObject.GetXData "MYXDATA", avarXDataType, avarXDataValue
This worked with AutoCAD 2004 and ObjectDBX. It does not work with
AutoCAD 2005 and ObjectDBX. |
|
|
| Back to top |
|
 |
TomD
Guest
|
Posted:
Mon Dec 06, 2004 5:13 am Post subject:
Re: How is XData Set/Get using ObjectDBX? |
|
|
"Jorge Jimenez" <unknown@nospam.com> wrote in message
news:41b207e6_3@newsprd01...
| Quote: | Should work the same.
Maybe your MyObject is empty to begin with
or MYXDATA has a spelling error.
Check your references and your dims
|
If you want to check the actual object's data (simply and reliably) from the
command line, try the following:
(entget (car (entsel)) '("*"))
will show all of the data, albeit in DXF type format
|
|
| Back to top |
|
 |
clarence_rollins
Guest
|
Posted:
Thu Dec 09, 2004 1:25 am Post subject:
Re: How is XData Set/Get using ObjectDBX? |
|
|
It turned out to be a misplaced 'Exit For' statement.
The loop exited on the first object that did not contain the particular XData Application. |
|
| Back to top |
|
 |
|
|
|
|