Once you have joined the bodies to one part the only way to have different colors is to select faces or features to apply colors to. Add color to the complete Body by RMB on any face and go to Appearances > Part...
You get this...
Then select the 2 faces of the cylinder and RMB go to Appearances > Body ...
And you get this...
Not really a better way.
I'm guessing this is an educational exercise? Why else would you join two primitive shapes. Just add a cylinder to the rectangular box.
Thank you for your response.
Actually this is just example i have shown. We use this method to hide some internal features of large assembly. In that case we don't want any solid bodies (Whole assembly as a single part to convert into iges and step file).
This is very hectic and time consuming process.(to select each face and color it)
What I want is, if I joined assembly to make a single part, appearances should remain same as actual assembly (External faces)
Try using the Defeature tool & see if it does what you require. You can find it under "Tools".
Or you can just save your assembly as a part & select the options you require at the bottom of the window.
Interesting function. I'm not sure what the specific tie-in is to 3D Central.
'Save as part' is not working for me.
In 'defeature' i am not getting single part. still i will look for other ways.
Thanks for help
Kunal, if all you want to do is hide some internal features, use Display States.
I did a test and, after the join (as you know), the colors revert back to default part color. The color must be added to the new part.
This kind of makes sense since you are creating a new part, but it also looks like a great enhancement request to have the color remain per face as they were before the join.
if it reverts its color after joining, It will save my most of the time