Export Draft > DWG/DXF - problem with font width

 
  • Tomek try check with your PDMS Guru the file called "acad.fmp" and eventually declaring in the list only the fonts that you really need (backup the original acad.fmp first.
  • It seems this is about PDMS SP - SP 2.20 - export is ok, higher are bad, 2.31 export from is nearly OK ... this patch don´t use simplex.shx to replace standard PDMS font, it use "STANDARD" with better result.

    Albycad: thank you, probably this is not solution we are looking for.
  • Hi deepblue,
    our acad guru didn´t find what is problem.
    I am not versed at draft admin, so i don ´t know what at draft amin part can influence acad style after export - we did some exports from other projects and it uses style "HTX11" ... hope I will find what to do to set draft admin to be able use same style - may be somebody here know this ?.
    Now my exports from PDMS 12.1 SP2.31 give this information:
                    MTEXT     Layer: "PDMS_NOTE_23"
                               Space: Model space
                      Color: 9    Linetype: "BYLAYER"
                      Handle = 8ee
                Style = "Standard"
           Annotative: No
    Location:        X= 398.0000  Y= 275.0000  Z=   0.0000
    Width:              0.0000
    Normal:          X=   0.0000  Y=   0.0000  Z=   1.0000
    Rotation:                0
    Text height:        2.4000
    Line spacing:    Exactly (1.000000x =    4.0000)
    Attachment:      BottomRight
    Flow direction:  LtoR
    Contents:        {\fO8111901|b0|i0;\T 0.90\Q 0.00;Some text...}


    As i wrote in later post, now is result better (not ideal, but usable), so i am not in so big pressure .
    - There are some notes for news at PDMS Patch 2.31:
    Title: Configurable DXF export does not retain height or width with
    PDMS standard fonts .
    Symptoms:  Font  size  and  character  spacing  was  different  when
    exported to DWG
    Solution: This issue has been corrected

    So it seems there are some good changes at configurable export (not at Standard DXF, but never mind....)
  • hi tomek

    ok.....looks like is pdms problem.
    thank for sharing
  • [QUOTE=tomek;91162]Hi all,
    after export my SHEE to DWG or DXF there are much longer text than i can see in Draft. Of course, i imported pdms fonts to my CAD app . I tried to change settings(grouping, font mapping, R12 compatible etc. ). I hope for some advice..
    T.

    AVEVA PDMS Draft Mk12.1.SP2.29[8291]  (WINDOWS-NT 5.2)
    Hi Tomek,
    Could you show me how to export to Dwg or Dxf...i'm looking for.
    Thanks
  • Simple user DXF export from Draft from menu Utilies > Standard DXF , Better is Configurable DXF/DWG Output with many settings. You can output DWG/DXF by PML language also ...
  • Thanks Tomek, now it's easy with me, but have one thing i want export my piping system to [COLOR=#ff0000]autocad 3D[/COLOR].(dwg/dxf/ or dgn also ok)
    Do you know do that? If you can pls show me.
    Thanks
  • sir try this one, i just get from the macro im using now.. Im not admin not so familiar, maybe it can help..
    its a pmlfrm.. try if this work with you..


    --
    setup form !!pdfplot  size 30 0
    !this.formtitle     = 'DRAFT'

    !this.initcall = '!this.init()'

    BAR
    !this.bar.add('macro','menu1')
    menu .menu1
    !this.menu1.add('callback','reload','pml reload form!!pdfplot')

             rgroup .acom   at xmin form 'PDF'

            add tag 'VIEW' select 'view'
             add tag 'NO VIEW'   select 'nview'
        exit
    path down
    button .copying2 at xmin form  'EXPORT PDF DXF PLT' callback '!this.export()'
    path down
    text .tira at x 0  width 20 is string


    exit

    SHOW!!pdfplot
    define method .init()

    !this.tira.val = 'D:\PLOT'
    --!this.hor1.callback='!this.hor1com()'
    --- !this.hor2.callback='!this.hor2com()'
     -- !this.hor3.callback='!this.hor3com()'
    endmethod




    define method .export()

    shee
    var!shee shee
    var!namx namn
    var!namd replace(|$!namx|, |/|,|.|)
    !ff = !this.tira.val
    !x = '$!namd' + '.pdf'
    !y = '$!namd' + '.plt'
    !z = '$!namd' + '.dxf'
       if  !this.acom.Selection() eq 'view' then
    !vv = 'VIEW'
    else
    !vv = 'NOVIEW'
    endif
    view 1
    lframe false
    var!ffx vsca

    !fff = !ffx.real()
    !ss = 1 / !fff
    !ffff = !ss.nint()
    $!shee
    $p SCALE UP $!ffff
    PLOT ce pdf /$!ff\$!x 'MINL 0.22,COL BW,$!vv' A0 OVER
    PLOT ce /$!ff\$!y  A0  CUTM OFF OVER
    PLOT ce DXF /$!ff\$!z ACAD ZCOORD EUC SCALEUP $!ffff OVER


    endmethod
  • [QUOTE=ducthuycdc;92969]Thanks Tomek, now it's easy with me, but have one thing i want export my piping system to [COLOR=#ff0000]autocad 3D[/COLOR].(dwg/dxf/ or dgn also ok)
    Do you know do that? If you can pls show me.
    Thanks

    I haven´t this experience, but you can try search on forum, I saw it here...