IBM Support

HD04860: CANNOT ACCESS A DRAWING STANDARD WITH VBSCRIPT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Scenario:
    1. Open the CATDrawing file
    2. Select "Tools/Macro > Macros" and select the provided
    drawing as the current macro library or document.
    3- Once that is selected, you should see one macro named
    "Macro1".
    4- Run this macro and you will see the bug: The VB method
    "standard" is not functioning properly.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  •  INCIDENT DIAGNOSIS:
    The user asks to display the drawing standard in a message box
    and expects to get a character string.
    But, doing:
    "
    Set TestDrawing = CATIA.ActiveDocument
    MsgBox TestDrawing.Standard
    "
    the user gets the number that corresponds to the standard of
    the drawing (the software returns a catANSI, a catISO or a
    catJIS that are some numbers and not a character string.
    
     CORRECT APPLICATION:
    If the user wants to display the type of the standard in a
    messagebox, he has to do in VB Script:
    "
    if standard=catISO dispaly ISO
    if standard=catANSI display ANSI
    if standard=catJIS display JIS
    "
    
     DOCUMENTATION REFERENCE:
    MANUAL:  Automation documentation/drafting/drafting automation
    CHAPTER: Customizing
    PAGE:    Automation
    

APAR Information

  • APAR number

    HD04860

  • Reported component name

    CATIA V5/NT/200

  • Reported component ID

    569151000

  • Reported release

    510

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2003-03-12

  • Closed date

    2003-03-28

  • Last modified date

    2003-03-28

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

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

Fix information

Applicable component levels

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

Document Information

Modified date:
28 March 2003