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. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    Hello atook, I actually forgot to write down the "Set" in my former post. Apologies as i was doing this already in my code. This returns a Type Mismatch error. I've just tried as you suggested to "Dim myPart as Variant" and the error went away but Part1 was then considered as a Product once...
  2. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    Hello, Thanks for your replies. To answer your questions, yes i have added the References associated to Catia V5 in my Tools/References and can see the methods/properties available for Catia objects through the Object Browser within VBA. When i run the code step by step i can clearly see my...
  3. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    ... sorry i forgot to answer your question in the end. Yes, i do run my VBA script from Excel ... and it goes to read and control an open Application/Window of Catia V5.
  4. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    JTBorton, Thanks for your reply. I had all those references set already and had tried to navigate through the object browser. My tool work perfectly well with CATPArt files but it's only when trying to access CATPart via a CATProduct that i cannot access the correct methods and properties, as...
  5. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    Microsoft Excel 2000 Catia V5 R18 ________________________________________ My Catia tree looks like this: product1 |_ part1 |_ subproduct1 |_ subproduct1_part1 |_ subproduct1_part2 |_ subproduct1_part3 |_ subproduct1_part4
  6. AeroBouquito

    VBA Catia: CATParts in a CATProduct considered as Product Objects

    Evening all, I've written a bit of VBA code to play with CATParts for the automation of copy/paste bodies and operate transformations such as splits etc. When i try to adapt this to a CATProduct i cant seem to be able to get the Part Porperties/Methods i had in my former code. Let's say i have a...

Part and Inventory Search