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