IBM Support

HD69800: COPY FACE BY MACRO DOES NOT WORK.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • ABSTRACT :-
    Copy face by macro does not work
    .
    SCENARIO:-
    1.Launch the CATIA.
    2.Open Product1.CATproduct.
    There are two kind of parts, Part3 is empty.
    3. Select Tool- Macro- Macros, then select
    sample.CATScript saved in Product1 and run.
    This macro works to copy face and paste it into
    Part3.
    3. Select face of Part1.2.
    Macro works to copy/paste of the selected face
    into Part.3
    4.Expand Part3 in the tree, then select surface
    under Reference, this is the result of macro.
    - Face of Part1.2 is copied and pasted.
    5. Now run the same Macro again
    6.Select the second face of Part 1.2.
    Macro works to copy/paste of the selected face
    into Part.3
    7.Expand Part3 in the tree, then select surface
    under Reference,
    - Face of Part1.1 is copied and pasted.
    This is the problem.
    .
    EXPECTED RESULT:-Macro should work correctly to
    copy and paste designated face.
    .
    

Local fix

Problem summary

  • Copy face by macro does not work.
    ABSTRACT :-
    Copy face by macro does not work
    .
    SCENARIO:-
    1.Launch the CATIA.
    2.Open Product1.CATproduct.
    There are two kind of parts, Part3 is empty.
    3. Select Tool- Macro- Macros, then select
    sample.CATScript saved in Product1 and run.
    This macro works to copy face and paste it into
    Part3.
    3. Select face of Part1.2.
    Macro works to copy/paste of the selected face
    into Part.3
    4.Expand Part3 in the tree, then select surface
    under Reference, this is the result of macro.
    - Face of Part1.2 is copied and pasted.
    5. Now run the same Macro again
    6.Select the second face of Part 1.2.
    Macro works to copy/paste of the selected face
    into Part.3
    7.Expand Part3 in the tree, then select surface
    under Reference,
    - Face of Part1.1 is copied and pasted.
    This is the problem.
    .
    EXPECTED RESULT:-Macro should work correctly to
    copy and paste designated face.
    .
    

Problem conclusion

  • THIS PROBLEM IS PERMANENT
    RESTRICTION IN CATIA
    .
    Macro using PasteSpecial functionality is not
    working properly.
    .
    Restriction Explanation
    1. A macro should never be used to access
    functionalities that cannot be performed
    interactively. In this scenario this is the
    case.
    2. Further R19 documentaion on paste
    special states:
    .
    The method (and the script execution) fails
    if one of the following errors occurs:
    - The CSO is empty. The PasteSpecial
    operation could not be performed.
    - No CSO element remains after the filtering
    through the UI active object. The
    PasteSpecial operation could not be
    performed.
    In the present script 2nd error is taking
    place.
    .
    By-Pass
    None
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD69800

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    516

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-05

  • Closed date

    2008-04-11

  • Last modified date

    2008-04-11

  • 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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"516","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 April 2008