- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
According to the documentation for the "AddRegion" method provided on AutoCAD2022 Developer and ObjectARX Help: "https://help.autodesk.com/view/OARX/2022/ENU/?guid=GUID-74C8765E-EB4A-4773-ADD4-6C0F318FE6BE"
we need to pass the safearray of objects to Block or Modelspace to create a region.
Since I have been working on documenting the use of pyautocad as a means to automate AutoCAD tasks, I want to perform the same operation using python. But none of the python-based data structures (e.g. List, Tuples, Sets etc.) worked for adding a region. Also, I tried creating a customized array using "win32com" module, still no satisfactory output. Can anyone please guide me through this?
Thanks in advance.
Solved! Go to Solution.