IBM Support

HD32880: GETSHOW FUNCTION NOT WORKING IN CATDRAWING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There is a regression between R12sp4 and R14sp3
    in GetShow method for CATDrawing
    Here is the Script used for the following scenario
    Sub CATMain()
    'getShow
    'Returns the state show mode for the current
    selection.
    Dim showstate As CatVisPropertyShow
    Set visProperties1 =
    CATIA.ActiveDocument.Selection.VisProperties
    visProperties1.GetShow showstate
    MsgBox "show = " & showstate
    End Sub
    Here is the scenario :
    1- Create a new drawing... (use can use ANSI
    standard)
    2- Create a new view...
    3- Create a text (or any other element)
    4- Put the text (or other element) in NoShow
    5- Go in NoShow workspace
    6- Select the text (or other element)
    7- Run the following script in a CATVBA:
    You will have the following message box: show = 0
    There is a problem: according to the
    documentation GetShow function
    should return value 1 when the element is in no
    show.
    Note that we also reproduced this problem using
    CATScripts and catvbs.
    Note also that the function is working properly for
    CATPart elements, the problem occurs only with
    drawings
    .
    

Local fix

Problem summary

  • GetShow function not working in CATDrawing
    There is a regression between R12sp4 and R14sp3
    in GetShow method for CATDrawing
    Here is the Script used for the following scenario
    Sub CATMain()
    'getShow
    'Returns the state show mode for the current
    selection.
    Dim showstate As CatVisPropertyShow
    Set visProperties1 =
    CATIA.ActiveDocument.Selection.VisProperties
    visProperties1.GetShow showstate
    MsgBox "show = " & showstate
    End Sub
    Here is the scenario :
    1- Create a new drawing... (use can use ANSI
    standard)
    2- Create a new view...
    3- Create a text (or any other element)
    4- Put the text (or other element) in NoShow
    5- Go in NoShow workspace
    6- Select the text (or other element)
    7- Run the following script in a CATVBA:
    You will have the following message box: show = 0
    There is a problem: according to the
    documentation GetShow function
    should return value 1 when the element is in no
    show.
    Note that we also reproduced this problem using
    CATScripts and catvbs.
    Note also that the function is working properly for
    CATPart elements, the problem occurs only with
    drawings
    .
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON CATIA VERSION
    5 RELEASE 15 GA level.
    NOTE THAT THIS PROBLEM WILL ALSO BE FIXED
    ON V5R14SP04.
    The problem is corrected :
    According to the documentation GetShow function
    returns value 1 when the element in the Drawing is
    in no show.
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD32880

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    514

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-01-03

  • Closed date

    2005-01-24

  • Last modified date

    2009-06-24

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

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

Fix information

  • Fixed component name

    CATIA V5 NT>XP

  • Fixed component ID

    569151000

Applicable component levels

  • R514 PSN SP51404

       UP05/02/11 N 1000

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"514","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 June 2009