IBM Support

IV96408: WHEN PUBLISHING DRAWINGS XREF LAYERS DO NOT MAINTAIN THE DISPLAY STATE IN THE GRAPHICS SECTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When publishing a drawing with Xrefs the display state of the
    layers for XREF layers is not carried over to the Graphics
    section.
    The base drawing layers do maintain their state when published.
    
    A couple related things.
    1. If there are no layer configurations or active ones the
    default behavior seems to be that the base layers will display
    as they were in the drawing at the time of publishing.  The
    Xref layer will all display regardless of display state at time
    of publish  Is this the desired functionality?
    
    2. There does not seem to be a way to save the graphics section
    display of layers.  When you open the graphics section it
    displays based on the state of the last publish.  (I'll be
    looking into this further and will likely open a separate L3
    request.  There should be a way to save the Graphics section
    image.)
    

Local fix

  • No
    

Problem summary

  • First, the act of modifying a reference to elements of an
    unmodifiable collection in a map was not persisting on
    drawing's member. Resolve this by modifying the elements
    directly.
    Second, since we do not persist the xrefLayerInfos in the
    database, the result of the resolve xref processing on/off
    state were never retained. To compensate this, the code that
    reads the drawing from the database also calls set XRef Layer
    State From Main Layer via resolve External References in the
    Platform. In this case, we are always "resolving xrefs" when
    instantiating a drawing, whether on publish, or reload from
    database. However, once we remove the XRefLayers, the code that
    builds out the xrefs using the state from the main drawing
    layer no longer works. Resolved this by removing the code that
    removes the XRefLayers. Now xrefs layer states and colors based
    on the main drawing are retained when publishing a drawing.
    

Problem conclusion

  • XRef layers' display state and color are correctly retained
    when publishing to the Graphics Section.
    This is targeted to the 1h2017 Platform Release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV96408

  • Reported component name

    TRI CAD INTEG/P

  • Reported component ID

    5725F45CI

  • Reported release

    C15

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-19

  • Closed date

    2017-05-23

  • Last modified date

    2025-06-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  •    None
    999
    

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQTNT","label":"IBM TRIRIGA CAD Integrator\/Publisher"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C15","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
10 June 2025