For the attached 3dm filem, if we plot with transparent backgroud, it will show as the below image, but if we set the transparent background to false, it will plot as what it displayed in Rhino(the last image), we do need transparent background, but how to fix the plot issue, then? Thanks a lot!
the command ViewCaptureToFile exhibits the same issue, so i do not think this is a code related problem. If you change the material type of the material named “Plastic (1)” to Custom, the capture with transparency seems to behave. I am not sure what causes this.
I don’t think so. The problem seems to be material type related and can be repeated without using your file or any code:
@pascal or @wim, can you confirm and try to repeat the following:
Open new document, add a box,
Create a new material of type Plastic and assign it to the box,
Switch view to Rendered display mode,
Run _-ViewCaptureToFile, Preview with Transparent Background checked looks like this (OK):