Print style fence points by keyin ?

Hello,

Do you know if there is any way to set up the print style fence points by keyin or command in the print organizer ?

I use a batch process to setup the print organizer with the correct print definitions for each model.

Thanks and regards

Remy

Parents Reply Children
  • No standard. I do my own printing area calculation. That's why I'm asking for coordinates entry (without user interface). Otherwise I would have used the print organizer automatic fence calculation possibilities.
  • Perhaps an explanation of your process would help, since there's apparently no direct way to accomplish what you're trying to do, and I'm having a hard time visualizing a scenario where there are no normal plot outlines used.

    These are one-time plots, never to be repeated?
  • Hello Dean
    Thanks for your answer
    We have thousands of files to publish to PDF. Each one is different but may have a border made of lines, cells, line strings, shapes etc.. In different levels
    My program in VBA openforProgram() (no graphic session) each file and find the 4 extreme points in the dgn that form a rectangle (even rotated). Then it computes if this rectangle is more or less a standard format. Then it choses the scale to match a format or to be plotted between A height of 210 mm and 1200 mm.
    Ok
    Then I have to publish the PDFs
    I can use regular print fonctions but I do not want to open each file in a graphic session. I want to do it in batch mode.
    I can attach each file as a reference sequentially and print from a fence defined but my 4 points in the main file but then I have an other problem which is the view attributes that are not the same in the main file than in the reference file (and no way to retrieve the view attributes from the attachment unless someone as a solution...)
    Or I can use keyins of the print organizer. But I have this problem suject of my post...
    Thanks and regards
    Remy
  • I haven't used OpenForProgram() so am not familiar with its limitations. Can you add elements in that mode? Could you add a unique shape that could then be used to define the plot area? Or build a ref file with the plot shapes?
  • Yes, you can add elements in that mode. But an other limitation I have is to let the file unchanged (i open them read-only)
    Ref file with plot shape is an idea.
    I also have the idea to create an xml print style to import for each file. The xml print style can contain fence points
    <FencePoint>
    <X>
    <MU>100</MU>
    <SU>0</SU>
    <PU>0</PU>
    </X>
    <Y>
    <MU>100</MU>
    <SU>0</SU>
    <PU>0</PU>
    </Y>
    <Z>
    <MU>0</MU>
    <SU>0</SU>
    <PU>0</PU>
    </Z>
    </FencePoint>
    Thanks
    Remy