Print Page | Close Window

Multileader properties reset

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=7646
Printed Date: 17.Apr.2026 at 04:41


Topic: Multileader properties reset
Posted By: cadbez
Subject: Multileader properties reset
Date Posted: 10.Apr.2012 at 16:13
Is there e Lisp or a command that RESETS all the multileader properties to the original style settings?? (like the dimension update command)
Thanks in advance.



Replies:
Posted By: heinsite
Date Posted: 11.Apr.2012 at 06:54
What do you mean by "original style settings"?  What are you trying to accomplish?
 
Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 11.Apr.2012 at 09:35
If I change the size of the arrow or the text height or whatever properties of a single multileader, there is NO WAY to come back to its original properties. (based on the style of the multileader...)
The Dims have the UPDATE command that resets the properties mantaining the value of the text.


Posted By: heinsite
Date Posted: 11.Apr.2012 at 23:06
No.  There is nothing like that for multileaders.  Here's what I suggest you do: 
 
Create a template (DWT) file that contains all of the multileader styles you want to use.  Then, either use that file to begin new drawings or Design Center or a Tool Palette to drag in styles when you need them. 
 
If you want to use different styles, whether they differ by arrowhead size, text size or type, or whatever, create unique styles.
 
Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 12.Apr.2012 at 10:40
uhm.... I already use a template but that doe not solve the problem of the changing properties, and is simply a non sense do a style for any kind of m.leader change... this would create a huge list of styles with few objects in the draw.

If the MATCHPROPS command would work properly for ALL the properties of the m.leader maybe the problem would be solved even without the update command.



Posted By: heinsite
Date Posted: 12.Apr.2012 at 21:02
If all you want to do is reset all of the mleader styles to one particular style then use QSELECT to grab every one of them in your drawing and use the Properties dialog to reassign their style.  And if this is something you do often make a macro out of the procedure.
 
Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 13.Apr.2012 at 10:00
Give it a try... it does not work (at least in acad2010)
- take a dwg with 2 different styles
- draw 2 mleader (one mleader for each style)
- only in one of them change the arrow size
- select both and give to them the style you want
...
...
the arrow size will not reset to the original style but neither in the new style, ramaining to its changed dimension.
Correct me if i'm wrong. Pinch


Posted By: heinsite
Date Posted: 13.Apr.2012 at 11:46
Works for me.  Try your own test with the attached example file.  If what you described doesn't work either (1) you're doing something wrong, or (2) you have a problem with your installation.

Dave.

uploads/20120413_114609_AnnoEx.dwg" rel="nofollow - uploads/20120413_114609_AnnoEx.dwg


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 13.Apr.2012 at 14:17
I was not enough clear...
- take a dwg with 2 different styles
- draw 2 mleader (one mleader for each style)
- only in one of those leader change the arrow size from the properties (not in the style)
- select both and give to them the style you want

Correct me if i'm wrong. Pinch

Giving a different style (between mleaders not modified) there is any problem in my PC too Wink


Posted By: heinsite
Date Posted: 14.Apr.2012 at 08:41
You're correct if you change the properties this way.  Once you mess with the settings in the Properties palette you've overridden the style and you won't be able to get it back to a defined style again.  It would be better to change the arrowhead using a defined style type rather than the Properties palette.

I find it hard to believe however that you have so many different arrowhead sizes that you can't do this simply by defining a few multileader styles.  I use primarily annotative mleaders, and the arrowhead is not something I change very often across different style definitions.  Other things yes.

Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 16.Apr.2012 at 10:05
In my template i've 6 or 7 different styles that are different by font, text height, text style, arrow type and all are annotative...
I've some styles with circle as arrow type and I use them to enlight different zones of the drawing.. as you know that zones are not always the same and that's the matter about my issue with resetting the style...
In a draw i could have 30/40 of different circles radius/size so you understand that is quite unconfortable making new styles for every diameter. Wink



Posted By: John Connor
Date Posted: 16.Apr.2012 at 19:11
That truly seems excessive.  Seems like the answer would be a Dynamic Block where the size of the arrowhead is changed relative to the diameter of the circle.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: heinsite
Date Posted: 16.Apr.2012 at 20:02
+1 on the Dynamic Block idea.  With that many conditions and options it sounds like a perfect candidate for a DB with visibility states.
 
Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: cadbez
Date Posted: 17.Apr.2012 at 10:08
Are you talking about a Dblock as arrow??? (let's try)
Or about a brand new Dblock with all that option i wrote above??


Posted By: heinsite
Date Posted: 17.Apr.2012 at 22:03
A brand new dynamic block is what we're suggesting.  If you don't want to use styles for this then a DB is another answer.
 
Draw one block with 3 or more of the conditions you would like to set to get started.  Make them all on top of each other but with discrete elements/objects.  Then create visibility states so that only the correct things show.  You can have as many as you want, certainly 30 different conditions.  You can always build more states once you get going.  For something complex like this you might need to experiment with methods of building the block most efficiently.  I would draw each condition separately and then pull it in and set the state... but that's your choice.
 
AutoCAD Help uses a welding symbol dynamic block example to illustrate the concept of visibility states.  My impression of what you'll be doing seems very similar.
 
Have fun!  Embarrassed
Dave


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite



Print Page | Close Window