Unable to modify multiline style.

Unable to modify multiline style.

Anonymous
Not applicable
10,557 Views
16 Replies
Message 1 of 17

Unable to modify multiline style.

Anonymous
Not applicable

I hav created a multiline style. it worked well too. but when i tried to modify some parameters, the modify button is seen hidden. but it works on the standard multiline file.

pls fins the attached pic.

 

ml.png

0 Likes
10,558 Views
16 Replies
Replies (16)
Message 2 of 17

imadHabash
Mentor
Mentor
Hi,
on my case every thing is ok . BUT if you don't mind try to post CAD drawing with just your multiline style.

Imad Habash

EESignature

0 Likes
Message 3 of 17

kasperwuyts
Collaborator
Collaborator

You cannot modify an MLstyle that is actively being used in your drawing. Why? Because it's a very old, simple feature that isn't really supported anymore.


Best regards
Kasper Wuyts
_______________________________________________________________________________
If this post solves your problem, clicking the 'accept as solution' button would be greatly appreciated.
0 Likes
Message 4 of 17

Anonymous
Not applicable

please find the attached file

0 Likes
Message 5 of 17

pendean
Community Legend
Community Legend
As @kasperwuyts noted above, set the other MLINE in your pop-up as current first, then select the one you wish to edit and do so.

Post back if for some reason you still don't understand these simple instructions. Thanks.
Message 6 of 17

Anonymous
Not applicable

Hi!

I have the same issue.

 

After I use ML in drawing, I can’t press modify button.

I can only create new ML style.

 

My question is how do I modify options of existing  ML,

If can’t modify it’s parameters the only way is to erase it and draw the new one,

Is there way to modify options of existing ML, so it automatically reflects in the drawing without drawing ML from the scratch ?

 I use autocad 2012


Thank you in advance

0 Likes
Message 7 of 17

Anonymous
Not applicable

This is unfortunate! wish I knew this before creating various multi-lines and using them in my drawings.  What has replaced multi-line now, if it is outdated?      What is the best and simplest way to create a stud or a joist representation for example that can be quickly changed in length and orientation, perhaps with a hatching option that doesn't slow the computer down to a crawl or require a dozen arcane variable settings? 

Message 8 of 17

j.palmeL29YX
Mentor
Mentor

@Anonymous  schrieb:

My question is how do I modify options of existing  ML,



 

If you only want to modify the color and/or the linetype and/or the offset of existing ML elements this can be done (workaround):

- select all ML's (e.g. using the qselect command) which use the MLstyle which you want to modify

- Now you are able to modify the parameters color, linetype and offset of this ML style.

- After you have finished this bring back the deleted ML's using the oops command.

If you have changed any offset, you must additional set the scale of the ML's to 0 and then back to the previous value.

 

But it is not possible to change the number of elements (add or delete) to an existing and used ML style. In this case you have to redraw the ML's again.

 (to "delete" an element you can set its color to 255 - so it will be invisible in the plot)

 

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 9 of 17

j.palmeL29YX
Mentor
Mentor

Additional information:

Here you find a tool (#77) to change the ML's style.

(You have to pay for and the docu is written in german).

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 10 of 17

j.palmeL29YX
Mentor
Mentor

... and here a solution for free (I found it in the web):

Attached a "k_Multilinien.lsp" (included in the zip-file).

Load this LISP, then the k_m002 command will do what you need.

 

Because it is written in german here some explanation how to use.

- set the wished ML style as current. If it doesn't exist you have to create it first.

- load the k_Multilinien.lsp

- start the command k_m002

- select the MLines which you want to change. Finish the selection and all is done.

 

If necessary you still have to change the justification and the scalefactor of the modified ML's.

 

cadder

 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 11 of 17

Anonymous
Not applicable

Hi..

What I have observed is that we are unable to edit the ML style if

1) The style which is to be edited is set as the current style

2) The ML style is already used in some drawing for a Mline.

 

For the point 1, you have the change the current style to some other style and edit it.

But for point 2, you have to either delete the already created Mlines or explode the Mlines (something like delete all or clear all the previous data related to the Mlstyle).

If these points are checked then we can edit any Mlstyle successfully.

 

 

0 Likes
Message 12 of 17

j.palmeL29YX
Mentor
Mentor

I see now, in my post above I wrote only the half (sorry).

It should be:

 

- select all ML's (e.g. using the qselect command) which use the MLstyle which you want to modify and delete it.

 

That means: Don't explode it! After deleting the MLines you can modify the ML style. This done you can bring back the deleted Lines using the oops command.

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 13 of 17

dva
Contributor
Contributor

Maybe this helps

(defun C:CHML ()
 (setq ss1 (ssget "_X" (list (cons 0 "MLINE"))))
 (command "_ERASE" ss1 "")
 (command "_MLSTYLE")
 (command "_OOPS")
 (prompt "\nATTENTION!! CHECK IF THE MLINES ARE ALL RECOVERED! ")
)
0 Likes
Message 14 of 17

cadffm
Consultant
Consultant

As J.Palme post 5 years ago in #8, that's a really bad idea! Except you want just change colors,

but if you like to change line counts or positions (at this point J.Palme was a bit wrong), that's

not an option and the result will fail.

 

Nice workaround for any change what has nothing to do with line segment position or count,

as J.Palme wrote above.

Sebastian

0 Likes
Message 15 of 17

KaoT
Community Visitor
Community Visitor

Awesome! I learned something today.....in a long while.

0 Likes
Message 16 of 17

GED-CED
Participant
Participant

You can edit mlstyle (not the mlstyle name) in the current dwg sort of. You have to cut the mlines from your current dwg.
select all the multilines of the styles you want to edit. My preference is to isolate the specific mlines and to cut and paste on world coordinates.
ctrl+shift+x 0,0 to cut the mlines from the dwg. The mlines will sit on your clipboard until you paste them back.
mlstyle You can make the edits you want to the mlstyles as there are now no mlines in the dwg. Provided the mlstyle name stays the same when you paste the mlines back they will assume the modified style.
ctrl+v & paste to 0,0 this should return the mlines to there original location (including scale and justification) but the style will be updated.


If you have the new Mlsyles setup in a "new".DWG cut from the "Current".dwg to "new" and Purge the Mlstyles from "Current". Then copy back.

0 Likes
Message 17 of 17

j.palmeL29YX
Mentor
Mentor

Isn't this the same as postet in #8 and #12, only a longer way? 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes