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
  • It can take coordinates. But...

    Are you plotting standard sheets? Can't you use a shape or cell in a common border reference? Or are you printing something irregular?
  • 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
Reply
  • 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
Children
  • 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
  • So your not  using  sheets defined in  sheet models, just  model space and  ref shapes or border shapes.....  old school right?

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • Hi Lorys,
    Un fortunately some of the files that i have to publish are dated from XXth century ;-)
    Remy
  • Unknown said:
    Hi Lorys,
    Un fortunately some of the files that i have to publish are dated from XXth century ;-)
    Remy

    ok so they  dont  have  sheets  just  go back to old school

    mdl l batchplt.ma

    and  use the cell boundary  or title block  boundary  to define  plot shapes

    ...

    I also had to do this recently  but I did it in small batches

    I created a new file  for a batch then xrefed into it each drwg ( via drag and drop from windows explorer)  to be  plotted this way I could preview what they  were like and  what they  contained to use as a boundary then I batcht plotted from inside this file  some times I need to to make and copy a boundary polygon that was easy to make an array  to then attach each ref file, and  using windows explorer to bulk attach the drawings was cool and it let me  preview if they  were  portrait or landscape and I can zoom in through windows explorer and read the paper size text  and scale.. this helps too.... and using attach ref top lets  you place them nicely too.. it all takes time ..

    You might  consider  sending  off shore $1 per hour to re jig  or redo all your files  to be sheet models and  self ref into the sheet 

    I dont see how an vba would work perfectly as a lot of drafters leave junk outside the drawing sheet boundary ....

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me