Method Needed: How to Automate Selection of Drawings in Model Space
First, Layouts (Paper Space) are useful and efficient. Personally, their usage is my preference. This is not an option in my current work environment.
Secondly, while gaining awareness of commercially-available applications is helpful, the aim of this inquiry is to learn methods (or code snippets) to automate this task through a customization that I will create.
GOAL
Gain an understanding of how to apply CAD object types and/or properties such as blocks, layers, etc., to locate the extents of drawing borders.
Learn how to apply the above as a means of identifying locations and sizes/orientation of drawings to process.
POTENTIAL USES
Save/export as individual files (to various file formats)
Printing selected or all drawings (at various drawing sizes)
Thanks,
Clint
Secondly, while gaining awareness of commercially-available applications is helpful, the aim of this inquiry is to learn methods (or code snippets) to automate this task through a customization that I will create.
GOAL
Gain an understanding of how to apply CAD object types and/or properties such as blocks, layers, etc., to locate the extents of drawing borders.
Learn how to apply the above as a means of identifying locations and sizes/orientation of drawings to process.
POTENTIAL USES
Save/export as individual files (to various file formats)
Printing selected or all drawings (at various drawing sizes)
Thanks,
Clint
0
Comments
-
Hello.
Something of interest might be functions that calculate the extents of an object or a selection.
Bricscad specific - (vle-getgeomextents)
https://developer.bricsys.com/bricscad/help/en_US/CurVer/DevRef/source/vlegetgeomextents.htm
Lee Mac's implementation - (LM:boundingbox)
https://lee-mac.com/boundingbox.html
Standard function (vla-getboundingbox)
https://www.afralisp.net/archive/methods/lista/getboundingbox_method.htm
https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-A20C361C-BBF0-4EAB-8BE7-709154CEEE09
0