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

    macro to add properties properties (right click - properties - define other properties)

    Hi I write a small code to add properties in a prodcut: but when I run it, it shows a time-run error at "Set parameters1 = prdDoc1.UserRefProperties " any idea to solve it ? thx Sub CATMain() Dim productDocument1 As Document Dim product1 As Product Dim products1 As Products Set...
  2. L2S512

    Macro to check missing parameter and add those in both part and product.

    Hi Ferdo I've updated it, but I dont know how to make "check" function. any tips? Option Explicit Public Sub CATMain() 'CATMain requires the user to have selected a Product item from the tree '1. Going to make a list of parts and products '2. a) Evaluate each one to see if...
  3. L2S512

    Macro to check missing parameter and add those in both part and product.

    Hi Ferdo Option Explicit Public Sub CATMain() 'CATMain requires the user to have selected a Product item from the tree '1. Going to make a list of parts and products '2. a) Evaluate each one to see if it is missing any parameters '2. b) Generate any missing parameters...
  4. L2S512

    Macro to check missing parameter and add those in both part and product.

    Hi I'm new to programming, and sorry for stupid questions. I am trying to make a macro including functions below: Exactly I got several types of parameters and I want to check they are in every part and product in my CATIA module. If some of them are miss, they would be added in. please...
  5. L2S512

    VB program to export name, value, parent and current product to excel

    Hi Ferdo I am new to VBA, and what I can do now is get some similar code,go through it, find something I can use and learn in this process. one more question. I've made one and I can run it. sometimes CATIA will be no responding because a 'search' section in code. How can I make a variable to...
  6. L2S512

    VB program to export name, value, parent and current product to excel

    Hi It still doesn't work. In the left bottom of window it counts the selection, and it will be no responding after something like 100. I read my code a lot of times. Everything is ok but section of Sub ExportPoint()' looks like the reason why it doesn't work...
  7. L2S512

    VB program to export name, value, parent and current product to excel

    Hi everyone I am going to make a macro which can export the name, value, parent and current product to excel. This is my code. It will take one hour then no responding when I run it. I am really new to CATIA VBA and just start to learn it. Any body can go through my code and tell me anything I...
  8. L2S512

    VB program to list parts.

    Hi Ferdo yes, I tried it but it just pick all items with c_ I want to list it may in excel or something else. thanks
  9. L2S512

    VB program to list parts.

    Hello Does anyone know of the code that list all parts which name started with maybe 'C'? Thanks L

Part and Inventory Search

Top