-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running functions that takes in symbol as input #51
Comments
the function should return a tuple with the min max values. |
``Yea, I tried that, it returned an error of ctypes.COMError: (-2147352562, 'Invalid number of parameters.', (None, None, None, 0, None)) The snippet is:
Edit: Further to this, I tried the below as well, and this returned Variable 'll': None, 'ur': None, 'gb': None:
|
Yeah, I couldn’t get it to work. I used win32com’s makepy to generate wrappers, and that works. If you can’t use my project, maybe it will give you inspiration
Command: AcDbLine <win32com.gen_py.AutoCAD 2021 Type Library.IAcadLine instance at 0x2601015985504> |
Wow... I haven't tried it yet, but just by looking at it, that's a very impressive project. I'll follow the steps to install this and give it a shot. I'll let you know how I go. Thanks! |
Hi Dan, I tried installing PyRx, but I can't seem to import its libraries. Upon running the installation, it says 'Python not found', even though I have it installed. |
If the installer is complaining, you can double check that python is in your path(s) |
BTW, I’ll be out of of touch for the holidays, I fly out in the morning.. kind of bad timing There’s a ton of info at the swamp that may help you.. kind of a history of my progress and a bunch of samples |
Hi, no worries, have a good holiday. I finally got the modules loaded. However, I wasn't sure from which theApp was referring to. I made it as such, but still yields an error:
Unless I'm misunderstanding something... but I'll continue to investigate and try again. |
Great! you can just get rid of the pyautocad import and stuff You can try my test in AutoCAD, use the new pyload command, load testWin32Com.py let me know how that works. |
I'm just wondering, how can you pass on symbols as arguments here? For example, I very much need to use the GetBoundingBox and GetEntity function, but I can't seem to get this working because both function need to take in a symbol.
Or if this is not possible, then what's the other alternative to solve this?
The text was updated successfully, but these errors were encountered: