• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Active Contributor
    Posts: 32
    Registered: ‎11-18-2004

    Linetype for Multiple Lines

    72 Views, 6 Replies
    03-08-2007 11:25 AM
    Is there a way to create a linetype that can have more than one line. For example, if I'm drawing a curb and gutter, could I have a linetype that would be the center (face of curb), and at the same time draw/show the back of curb and edge of pavement? If so, how could I go about doing this? I've tried using the multi line option, but it does not put the lines on the corresponding layers. meaning, the back of curb on a boc layer, etc. If anybody has any thoughs on this, I would appreciate it. Thanks.

    Erick Garcia-Salas
    Please use plain text.
    *David Kozina

    Re: Linetype for Multiple Lines

    03-08-2007 11:53 AM in reply to: Erick Garcia Salas
    Erick,

    I don't know if the attached file will help or not, but it may give you some
    ideas. Note the use of Groups, Layers, and a 0 MLinescale for the center
    mline.

    Curves could be problematical, but perhaps could be approximated with enough
    vertices.

    hth,
    David Kozina


    wrote in message
    news:5512522@discussion.autodesk.com...
    Is there a way to create a linetype that can have more than one line. For
    example, if I'm drawing a curb and gutter, could I have a linetype that
    would be the center (face of curb), and at the same time draw/show the back
    of curb and edge of pavement? If so, how could I go about doing this? I've
    tried using the multi line option, but it does not put the lines on the
    corresponding layers. meaning, the back of curb on a boc layer, etc. If
    anybody has any thoughs on this, I would appreciate it. Thanks.

    Erick Garcia-Salas
    Please use plain text.
    *Dilip Damle

    Re: Linetype for Multiple Lines

    03-08-2007 09:14 PM in reply to: Erick Garcia Salas
    On Fri, 09 Mar 2007 00:55:44 +0530, Erick Garcia Salas wrote:
    Try assigning the Linetype Directlly not through Layer in the
    MLSTYLE command

    see attached file

    Rgds

    Dilip Damle

    > Is there a way to create a linetype that can have more than one line.
    > For example, if I'm drawing a curb and gutter, could I have a linetype
    > that would be the center (face of curb), and at the same time draw/show
    > the back of curb and edge of pavement? If so, how could I go about
    > doing this? I've tried using the multi line option, but it does not put
    > the lines on the corresponding layers. meaning, the back of curb on a
    > boc layer, etc. If anybody has any thoughs on this, I would appreciate
    > it. Thanks.
    >
    > Erick Garcia-Salas



    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
    Please use plain text.
    Active Contributor
    Posts: 32
    Registered: ‎11-18-2004

    Re: Linetype for Multiple Lines

    03-09-2007 05:30 AM in reply to: Erick Garcia Salas
    David;
    Thank you for the files. I'm not sure how you got the mlinetype to have separate layers and linetypes but remain as one entity. Also, i was unable to load the mln file into autocad 2007. I'm not sure what the problem is.
    thank you for the help.
    Please use plain text.
    Active Contributor
    Posts: 32
    Registered: ‎11-18-2004

    Re: Linetype for Multiple Lines

    03-09-2007 05:31 AM in reply to: Erick Garcia Salas
    Dilip;
    Thanks for the input. I will give it a try. By the way, I did not see an attachment on your reply.
    I appreciate the help.

    Erick.
    Please use plain text.
    *David Kozina

    Re: Linetype for Multiple Lines

    03-09-2007 06:55 AM in reply to: Erick Garcia Salas
    Erick,

    The one-element MLines you found ARE separate entities - three of them, each
    on a separate layer, but GROUPED as one. (Use CTRL+H to toggle groups on
    and off.)

    Load the .mln file from the MLSTYLE dialog -> Load -> File... [navigate to
    and select the file] -> Select the OFFSET style -> OK -> Set OFFSET current.

    OR, just INSERT the .dwg file as a block and then delete it. The OFFSET
    mlinestyle therein will be added to the drawing. (ALONG with all the other
    layers, so you may wish to clean it up or adjust it to your own standards
    first.)

    hth,
    David Kozina


    wrote in message
    news:5513309@discussion.autodesk.com...
    David;
    Thank you for the files. I'm not sure how you got the mlinetype to have
    separate layers and linetypes but remain as one entity. Also, i was unable
    to load the mln file into autocad 2007. I'm not sure what the problem is.
    thank you for the help.
    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-09-2007

    Re: Linetype for Multiple Lines

    03-09-2007 08:27 AM in reply to: Erick Garcia Salas
    Yes, The file was not there. Somehow attachments could not go through from Opera Newsreader.
    Let me try through Browser. I hope this is what you were looking for.
    Rgds
    Dilip Damle
    Please use plain text.