No one that knows why the appearance of the component changes?
the second component is mirrored to the first component it will behave slike that,Which one you want to be change custom component slightly change the name of the component and agin use the same code it will works
I am not sure I understand your reply. But to correct my original post the change in appearance actually occurs before I have added the second component. In other words; I have an empty assembly, I add a part using AddComponent2, I do some work on the part I have just added and then I give the component the transform. After this I add the new component. The change in appearance happens just after component.Transform2.
Any other suggestions?