Problem when replace but keep position of occurence

Problem when replace but keep position of occurence

SandmanINV
Advocate Advocate
355 Views
2 Replies
Message 1 of 3

Problem when replace but keep position of occurence

SandmanINV
Advocate
Advocate

Hi Everyone, 

I have a problem when I code to replace the occurrence automatically.

I have a panel A (a single part file) like the left picture. It is an occurrence in the assembly.

And a panel is panel B (an assembly file) like the right picture. The size of B is bigger than A a little.

My workflow is:

I find the occurrence A and replace it by the B.

The problem is, after replacing, the panel B does not keep the position like the panel A. They have different origin and center of mass, so I don't have the right solution to map position between them.

Could you give me an advice ? 

 

Screenshot 2021-04-08 173547.png

 

0 Likes
356 Views
2 Replies
Replies (2)
Message 2 of 3

bhavik4244
Collaborator
Collaborator

@SandmanINV 

 

Have you used the manage function for that?

 

bhavik4244_0-1617886248482.png

 


Bhavik Suthar
0 Likes
Message 3 of 3

SandmanINV
Advocate
Advocate

Thank you very much, I will try follow your instruction.

0 Likes