DBX & Xdata

DBX & Xdata

Anonymous
Not applicable
355 Views
3 Replies
Message 1 of 4

DBX & Xdata

Anonymous
Not applicable
pasted below is the entget of the same exact block object from a dbx doc.

each time it returns a different list, one NOT containing the attached
xdata, the next one WITH attached xdata. it will consistently repeat this
pattern on the SAME object.

are there known issues with retrieving xdata from objects in a dbx document?

Command: (entget (vlax-vla-object->ename ww1) (list "*"))
((-1 . ) (0 . "INSERT") (330 .
7eb6fcf8>) (5 . "75DA") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 .
"A-Symb") (100 . "AcDbBlockReference") (66 . 1) (2 . "SX41-13542912")
(10 -57.0918 514.39 0.0) (41 . 96.0) (42 . 96.0) (43 . 96.0) (50 . 0.0) (70
. 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0))

Command: (entget (vlax-vla-object->ename ww1) (list "*"))
((-1 . ) (0 . "INSERT") (330 .
7eb6fcf8>) (5 . "75DA") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 .
"A-Symb") (100 . "AcDbBlockReference") (66 . 1) (2 . "SX41-13542912")
(10 -57.0918 514.39 0.0) (41 . 96.0) (42 . 96.0) (43 . 96.0) (50 . 0.0) (70
. 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0) (-3
("DFDA-REF.DETAIL_1.0" (1000 . "DFDDETLREF070830.1353547") (1000 .
"X_aDetl-Lighting Fixture") (1000 . "15") (1000 . "A922"))))

Command: (entget (vlax-vla-object->ename ww1) (list "*"))
((-1 . ) (0 . "INSERT") (330 .
7eb6fcf8>) (5 . "75DA") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 .
"A-Symb") (100 . "AcDbBlockReference") (66 . 1) (2 . "SX41-13542912")
(10 -57.0918 514.39 0.0) (41 . 96.0) (42 . 96.0) (43 . 96.0) (50 . 0.0) (70
. 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0))

Command: (entget (vlax-vla-object->ename ww1) (list "*"))
((-1 . ) (0 . "INSERT") (330 .
7eb6fcf8>) (5 . "75DA") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 .
"A-Symb") (100 . "AcDbBlockReference") (66 . 1) (2 . "SX41-13542912")
(10 -57.0918 514.39 0.0) (41 . 96.0) (42 . 96.0) (43 . 96.0) (50 . 0.0) (70
. 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0) (-3
("DFDA-REF.DETAIL_1.0" (1000 . "DFDDETLREF070830.1353547") (1000 .
"X_aDetl-Lighting Fixture") (1000 . "15") (1000 . "A922"))))

thanks
--
Daron
Peace, Luff, Cheetos
0 Likes
356 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
It has been noted that using non-ActiveX methods to obtain data in a ODBX
document may, or may not, yield valid results. To get the Xdata, use the
GetXData method.

(vlax-invoke ww1 "*" 'getXdata 'xcode 'xvalue)

Then inspect the return values in the variables xcode & xvalue

HTH

"Daron Denton" wrote in message
news:[email protected]...
pasted below is the entget of the same exact block object from a dbx doc.

each time it returns a different list, one NOT containing the attached
xdata, the next one WITH attached xdata. it will consistently repeat this
pattern on the SAME object.

are there known issues with retrieving xdata from objects in a dbx document?
0 Likes
Message 3 of 4

Anonymous
Not applicable
hi Jeff,

Command: !ww1
#

(vlax-invoke ww1 "*" 'getXdata 'xcode 'xvalue)
*Cancel*
ActiveX Server returned the error: unknown name: "*"

thanks for your time, any suggestions?
--
Daron
Peace, Luff, Cheetos




"Jeff Mishler" wrote in message
news:[email protected]...
It has been noted that using non-ActiveX methods to obtain data in a ODBX
document may, or may not, yield valid results. To get the Xdata, use the
GetXData method.

(vlax-invoke ww1 "*" 'getXdata 'xcode 'xvalue)

Then inspect the return values in the variables xcode & xvalue

HTH

"Daron Denton" wrote in message
news:[email protected]...
pasted below is the entget of the same exact block object from a dbx doc.

each time it returns a different list, one NOT containing the attached
xdata, the next one WITH attached xdata. it will consistently repeat this
pattern on the SAME object.

are there known issues with retrieving xdata from objects in a dbx document?
0 Likes
Message 4 of 4

Anonymous
Not applicable
sorry, obviously i didn't read your post clearly. i'm going home now. 🐵

--
Daron
Peace, Luff, Cheetos
0 Likes