Hello,
i've been working on a command where I:
- Select a text or mtext object ;Done
- Pick an arrow point and landing point for the MLeader ;Done
- use those attributes to put in a multileader style with the the current multileader style.
It's the standard library "_tagslot" block with the "TAGNUMBER" attribute.
the code works great until the Edit Attributes window shows up and asks me to insert the value wich should be "txt" value from the code.
It is similar to MT2ML but I don't want the edit Attribute to prompt me.
(defun c:2ml
( / txt arp lap
)
(vl-cmdf "_mleader" arp lap txt
"") ;;; This asks me for a prompt, wich is bad VERY BAD!
)
I have already prepared the dwg for you (acad 2010) with the custom multileader "blusapparaten"
EDIT: Some steps user-script relation.
The user only needs to click the text. (script Fetching the values)
The user sets the arrow and landing point.
Script does the rest. (putting in the values)
It's ment to quickly replace multiple text values wich represent extinguishers into custom style multileaders. where the user visually puts in the arrow (position of extinguisher) and the label (ie. avoid overlap of roomnumbers from xrefs)