samifox Posted April 1, 2024 Posted April 1, 2024 Hello, I'm seeking a quick method to pick a dimension line (single chain)efficiently. Unfortunately, FSMODE isn't applicable to dimensioned entities. While hovering over the grip, there's an option to "Stretch dim group," but I'm uncertain about its functionality. It seems to choose dimension objects arbitrarily. Is there a method to sequentially select dimension lines? Thank you. S Quote
XDSoft Posted April 10, 2024 Posted April 10, 2024 Is it the animated GIF below? [XDrX-PlugIn(131)] Dimension object linkage selection (theswamp.org) https://www.theswamp.org/index.php?topic=59432.0 XDRX-API download link: The code I wrote uses XDRX-API,which can be downloaded from github.com and is updated at any time. =================================== [XDrx-Sub Forum] https://www.theswamp.org/index.php?board=78.0 https://github.com/xdcad/XDrx-API (defun c:xdtb_dimselzt (/ v e1 es) (xdrx-begin) (if (not #mode) (setq #mode 0) ) (if (and (xdrx-initget 0 "0 1 2 3") (setq v (getint (xdrx-string-formatex (xdrx-string-multilanguage "\n选择方式[同排连续(0)/连续组团(1)/同排所有(2)/同排组团(3)]<%d>:" "\nSelection method [Continuous same row(0)/Continuous group(1)/All same row(2)/Group same row(3)]<%d>:" ) #mode ) ) ) ) (setq #mode v) ) (if (and (setq e1 (car (xdrx-entsel (xdrx-string-multilanguage "\n拾取标注对象<退出>:" "\nPick a Dimension object<Exit>:" ) '((0 . "*dim*")) ) ) ) (setq es (xd::dim:groupbyent e1 nil #mode)) ) (xdrx-entity-redraw es 2) ) (xdrx-end) (princ) ) Quote
BIGAL Posted April 10, 2024 Posted April 10, 2024 Using ssget "F" comes to mind as you can draw a drag over p/line for selection. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.