reclosedev / pyautocad

AutoCAD Automation for Python ⛺
http://pypi.python.org/pypi/pyautocad/
BSD 2-Clause "Simplified" License
493 stars 142 forks source link

How to use GetXData? #20

Open z954134 opened 6 years ago

z954134 commented 6 years ago

GetXData AppName, XDataType, XDataValue need two parameters return,how to use ?

mogles commented 4 years ago

obj.GetXData (AppName, XDataType, XDataValue) What AutoCAD is looking for is 3 parameters - the AppName, and two Variant (objects) The following is the error python returns in application: text.GetXData("Electrix", xTypeOut, xDataOut) TypeError: call takes exactly 2 arguments (4 given)

royccg commented 3 years ago

Hi bro. Has this problem been solved? Know how to use GetXData()?