Reputation: 33
What function exists in AutoCAD that will allow you to open a drawing model so that you can immediately see the objects in this drawing:
now it looks like this: image1
It needs to be like this: image2
tried to find a method or function in pyautocad, but couldn't find it
Upvotes: 0
Views: 147
Reputation: 141
For pyautocad, use Application.ZoomExtents as described in the documentation https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-B204BFAA-B774-4C87-86D8-37007F390B5A
Upvotes: 0
Reputation: 1697
The fastest way I can imagine is to open AutoCAD with script which evaluates command _Zoom;_E
Upvotes: 0