Create a line type that is always a certain color

 I want to create a line type, I've copied the standard line type for gas and edited it, for water, sewer, storm, etc and I want them to always be "blue" (for example).
So when somebody in my dept. picks that line, no matter what layer they put it on, no matter what color they try and make it, it would remain blue.  Is that possible w/ in the code for the line type?

Comments

  • No, it is not possible to define a color inside a linetype definition.
  •  Wah Wah Waaahhhhh
    Thanks for your answer.
  • While you can't explicitly set a linetypes colour, there are many methods that you could use to control, such as:
    • Using Tool Palettes to create lines with your preferred properties.
    • Using Templates with layers preset (if setting linetypes bylayer) so that users use the correct settings by default.
    • Using Layer state (if setting linetypes bylayer) to quickly set layers to their preferred state.
    • Using QSELECT to create a selection filter to select objects set to your linetype, then change to your preferred colour. This task could be automated through the use of LISP.
    • Using LISP to create a command that draws objects with the preferred properties.

    Regards,
    Jason Bourhill

    imageToolPalette-Properties.png
This discussion has been closed.