I don't have any tutorials, but I have created them in the past at a previous employer. The process isn't very friendly, and I haven't worked with these pattern libraries since IPlot 8, but I'll tell you what I know from that version.
There is a start pattern library delivered with IPlot. Look in the Iplot/resrc/system folder for a file called pattern.plb. There is command line utility called PLIB delivered with IPlot for creating and editing pattern libraries. Patterns are added to the pattern library from IPlot meta files (.m files).
I started with cells of all of my area fill patterns. In Microstation I placed each of those area pattern cells in a dgn, placed a bounding fence around the pattern, then used IPlot to create the IParm file and the Meta file (just select Generate not Generate and Submit).
With the meta files created bring up a DOS window and cd to the directory with the meta files. Keyin PLIB <pattern lib name> and hit enter, the plib commands will be displayed and the prompt will change to PLIB>. Use the ADD command to add new patterns to the pattern library. You must specify at least the -NAME= and -FILENAME= qualifiers. The NAME will be the name you reference it by in the pen table [pattern = 'hatch'], and the FILENAME is the name of the Iplot meta file containing the pattern. I also had to use the size and rotation qualifiers on my patterns to get the desired results. I wrote a script that did an IPLOT SHOW on the iparm file to a text file, parsed the text file for the size and rotation parameters, then issued the entire plib command string.
example: PLIB ADD -NAME=HATCH -FILEAME=HATCH.M -SIZE=2 -ROTATION=0 PATTERN.PLB
When you are done with your pattern library it must be on your IPlot server and you have to modify your iplot server config file to define its location. If you want the patterns to show up in the plot preview on the client then the pattern lib must also defined on each Iplot client.
One more note - there is a limit on either the total file size, or number of patterns that can be placed in a pattern library. The one I created had about 95 patterns in it and would not let me add any more.
That's about all I can think of for now. Hope this helps - Rod
. <.@.> wrote:
Does anyone out there know of a good example of, or a tutorial on how to create & use a IPLOT pattern library with a pen table. The book doesn't explain diddly. I know I can use the statement [pattern = 'hatch'], but how do I create & and store 'hatch'? Any examples out there? Thanks, Chris