Hi guys
How do you create your own line and symbol styles and add them them to your library?
Cheers
Mat
create a new line style
Hi Mat,
Do you have a DWG file with the linestyles and symbols (Acad blocks) already loaded into the drawing? If yes, I would suggest the following;
1. Create a new 12d project, so you don't harm any of your other work.
2. Create 2 blank txt files within the working directory and call the files. "symbols.4d" and "linestyl.4d" and then restart your new project. When the project restarts, just check you have no symbols or linstyles available?
3. If they are blank, or contain the default style of 1. Then you are ready to read in your DWG file containing polylines or similar drawn in all the linestyles you require, as well as containing all the blocks inserted into the DWG from which you wish to create symbols.
4. When you read that DWG drawing into 12d. 12d will prompt you and let you know that it has found new linestyles and symbols and ask if you want to save them. The answer is YES to both questions and the txt files within you working directory will be updated to contain the new data.
5. I would then suggest you rename these txt files to "user_symbols.4d" and "user_linestyl.4d" using explorer and then restart your project again.
This will allow 12d to combine their standard installed files with your new "user" defined files. If this has worked then you can move the new "User....4d" files into your User directory for access on all projects.
Additional things to consider;
(a) Do you want the symbols to scale up and down with different plotting sheet sizes? Then you will want to change the "worldstyle" text for the linestyle and symbol to "paperstyle"
(b) Do you want to place your new linestyles/symbols into their own group? Then you will need to create a group name and place that "group" line of text throughout the files also.
example of text produced within files;
----------------------------------------------------------
worldstyle "BARRIER BOTH" {
group "XXXXXX/YYYYYYY"
move 0 0
draw 1 1
move 0 1.2
draw 1 1
}
----------------------------------------------------------
Do you have a DWG file with the linestyles and symbols (Acad blocks) already loaded into the drawing? If yes, I would suggest the following;
1. Create a new 12d project, so you don't harm any of your other work.
2. Create 2 blank txt files within the working directory and call the files. "symbols.4d" and "linestyl.4d" and then restart your new project. When the project restarts, just check you have no symbols or linstyles available?
3. If they are blank, or contain the default style of 1. Then you are ready to read in your DWG file containing polylines or similar drawn in all the linestyles you require, as well as containing all the blocks inserted into the DWG from which you wish to create symbols.
4. When you read that DWG drawing into 12d. 12d will prompt you and let you know that it has found new linestyles and symbols and ask if you want to save them. The answer is YES to both questions and the txt files within you working directory will be updated to contain the new data.
5. I would then suggest you rename these txt files to "user_symbols.4d" and "user_linestyl.4d" using explorer and then restart your project again.
This will allow 12d to combine their standard installed files with your new "user" defined files. If this has worked then you can move the new "User....4d" files into your User directory for access on all projects.
Additional things to consider;
(a) Do you want the symbols to scale up and down with different plotting sheet sizes? Then you will want to change the "worldstyle" text for the linestyle and symbol to "paperstyle"
(b) Do you want to place your new linestyles/symbols into their own group? Then you will need to create a group name and place that "group" line of text throughout the files also.
example of text produced within files;
----------------------------------------------------------
worldstyle "BARRIER BOTH" {
group "XXXXXX/YYYYYYY"
move 0 0
draw 1 1
move 0 1.2
draw 1 1
}
----------------------------------------------------------