Hello guys,
Recently I have used the function DBXObject and it worked very good without any error on my PC but when I sent the same program to a friend of mine with AutoCAD Spanish version it did not work and could not create the DBXobject.
What could be the reason for that error? although he uses AutoCAD 2016 and 2017
(setq dbx (vlax-create-object (if (< (setq v (atoi (getvar "ACADVER"))) 16)
"ObjectDBX.AxDbDocument" (strcat "ObjectDBX.AxDbDocument." (itoa v))))
)
Thank you everyone.