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

    Naming arrays with for loop?

    Dim MainArray(999,3) Dim i As integer For i = 1 to partcount Set MainArray(i-1,0) = products1.Item(i) 'The first row of the MainArray consists of the products of the PPR Next Dim P0(11) MainArray(0,0).Position.GetComponents P0 'Using the GetComponents method an array named P0 is created and...
  2. chrismech91

    Cycle through PPR tree Macro

    Hi everyone, I am looking for a macro that scans the PPR tree and writes down in a (dynamic) array the PARTS of a MAINPRODUCT. My problem scenario is to move level by level all parts of the mainproduct but i want to do it through a dynamic array. I made an attempt with a for loop in order to...
  3. chrismech91

    Catia macro for moving a part

    It's ok sorry for your time! I was new to macros and now i understand what you meant. I actually want to create an array which consists of the products of the PPR tree and move them. I am working on it but if you have any idea it would be very helpful. Regards
  4. chrismech91

    clash analysis macro for CATIA

    I am trying to create a macro for clash analysis between components. When recording this action nothing happens. So i am asking if anybody has come through the same problem. Does anyone know the function for an intersection test? Thanks
  5. chrismech91

    Catia macro for moving a part

    Thank you for the instant reply. I don't know if the names (prod1 etc) are imortant to the code syntax. Also when running this exact macro at a process with 2 products, there is an errorQ Object doesn't support this property or method 'prodInd.move'
  6. chrismech91

    Catia macro for moving a part

    Hi, I am new to vba and catia scripting and i have to create a macro that moves a part from one place to another, more specificly i need the function of the move activity in vba.(the parameters doesn't matter so much just an idea because i am stuck) Thanks a lot, Chris

Part and Inventory Search

Top