Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Arichzhy

    Macro to save the file name of the parts under a product

    HI,everyone I have used a macro to rename all the parts in a product,including partnumber and instance. But how to save the file name of all catpart,and keep the assembly link the same,through macro ?anyone who knows that?
  2. Arichzhy

    CATIA V5 macro, how to get the current activate sketch

    Thanks for your suggestion, But I use inworkobject only get the hybridbody under the part,still not get the opened sketch.
  3. Arichzhy

    how to dim the sketch according a selected line belongs to

    before a macro program running, a sketch(different name in different documents,maybe sketch1,sketch2 or sketch3 ) has be opened. I want to do some drawings in the opened sketch, but I don't know how to do next? following is part of my codes: Sub CATMain() Dim InputObjectType(0), Status...
  4. Arichzhy

    CATIA V5 macro, how to get the current activate sketch

    Before a macro program begin running, a sketch has be opened. My problem is that how can I get the name of the sketch, and its parent object? In many examples, we use sketch.add(),or a certain name of sketch. But in different situations the opened sketches may have different names. Any one...
  5. Arichzhy

    my question about how to draw directly in the opened sketch by macro

    Hi ferdo, thanks for your reply. Maybe I don't express my question clear. My problem is that : I want to draw some shapes with the macro in a existed sketch(maybe sketch.1 sketch.2 sketch.3 or some another).in other word, begin the macro run I have opened a Catpart or product, and make a...
  6. Arichzhy

    my question about how to draw directly in the opened sketch by macro

    I want to write a macro to draw in the current opened sketch, but how to dim the current sketch ,up level part ,document ,their names may be different in different CAtparts ,or some way I have no need to dim them? I am new about macro..
  7. Arichzhy

    is it possible to create a rectangle or polygon around the selection line use the CATIA macro

    Thank you itsmyjob! i have get your idea ever,but I don't know using what code to get the extremities of the all lines.
  8. Arichzhy

    is it possible to create a rectangle or polygon around the selection line use the CATIA macro

    hi guys I would like to know is there any way to create a rectangle or polygon around the selection line through the catia macro。Example is shown in the following picture。Do you have any good idea? https://res.cloudinary.com/engineering-com/image/upload/v1471706393/tips/pic1_kqthry.bmp

Part and Inventory Search