Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by yamaCad

  1. Y

    Creating Plane

    Hello LWolf. Your code didn't worked on me I think because of my version. It's R21. But I get the idea and I changed a little bit. Here is my code and it works perfectly. Thank you :) Sub CATMain() Dim partDocument1 Set partDocument1 = CATIA.ActiveDocument Dim part1...
  2. Y

    Creating Plane

    Thank you Lwolf Now I'm at work I will try tonight. Is this possible from selecting of my custom axis xy_plane. In your code are you select axis or plane?
  3. Y

    Creating Plane

    I'm trying create a plane from selected axis but I'm missing something so It can' create it. I record a macro for this but it takes like axis2 how can I get my axis selected? Because I'm not work with main axis. After selecting axis macro will create plane from selected axis. Or can start from...
  4. Y

    Copy bodies from selected part bodies in product

    That is shows what I wanted. Same parts with different instance. Select body for copying from selected parts. And finally that selected bodies paste into target part.
  5. Y

    Copy bodies from selected part bodies in product

    But code not works with same bodies. Parts are same, instances are different and my code only copies still the first part I choosed. Could you be more specific? I searched a bit and I find this metod so I need to define path everytime: Function ReferenceToProductInstance(RootProduct As...
  6. Y

    How to differentiate the product and Component object fro assembly product list. On CATIA V5 , using c#.net API

    I posted and didn't get any answer or etc. Here is my topic: link
  7. Y

    How to differentiate the product and Component object fro assembly product list. On CATIA V5 , using c#.net API

    Hello Cthulhu. Maybe you know what is my problem. In product I'm trying to copy few publicated bodies from same parts and paste to another part. But you know if the parts are same it only takes first parts bodies. I'm working on vb.net. Could you give me a clue? For example there is part_b...
  8. Y

    Axis system full path

    Tiago, how can I manage same part to copying bodies of add removes in product? I can manage different parts with macro but in same parts it is not working. Could you give me an information? Here is example file.
  9. Y

    Axis system full path

    I need some copy paste code if you can help me I can share with you.
  10. Y

    Axis system full path

    Hello Tiago I'm a die designer so I need axis like yours. Every standard part needs the axis. I created a macro for this I record my informations to textbox and ArrayList after in cycle I get my axises for constrain in Product. I manage like this :) for every gas springs, steels, plates in...
  11. Y

    Copy bodies from selected part bodies in product

    I updated the paste code but still have problem I select 4 parts. lets call it a.1 a.2 a.3 a.4 and TargetPart they have same named bodies. Result is like this: all bodies come from a.3 but I want like this: a.1 -- body_a body_b body_c a.2 --body_a body_b body_c a.3 --body_a body_b body_c a.4...
  12. Y

    Copy bodies from selected part bodies in product

    Hello all, I'm trying a coding in vb.net I select bodies - parts - and target part value from CATIA and adding into listview. After that I'm planning selected bodies copying from parts and paste to target part. But something is going wrong. I tried search body names in selected parts. But...
  13. Y

    About copy - paste special - copy with link in product

    Also I wanted something like this is this possible? I take body name information I have 5 parts with same name with same bodies. I want copy all of this bodies from selected parts. And copy into main part. I set up something like this I selecting the bodies in one part after that in next textbox...
  14. Y

    About copy - paste special - copy with link in product

    Thanks. I found the automation documentation. Thank you so much It looks cool :) I got notes from my mistake btw here is my version. Sub CATMain() ' CATIA Uygulamasını Al Dim CATIAApp Set CATIAApp = CATIA ' Aktif Belgeyi Kontrol Et If CATIAApp.Documents.Count = 0 Then...
  15. Y

    About copy - paste special - copy with link in product

    Hello all, I'm trying to create a macro which is copies body and paste special with link in a Part (part_b). Then we going to paste special with link into other Part (part_a). Firstly the body is published. lets call it body_a Maybe you know. In product when you trying to record a macro It...

Part and Inventory Search